[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[NoGnus] Fancy splitting and imap respooling not working
From: |
Sebastien Vauban |
Subject: |
[NoGnus] Fancy splitting and imap respooling not working |
Date: |
Wed, 28 Mar 2012 19:13:05 -0000 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (windows-nt) |
Hi,
I've just switched to NoGnus v0.18 (pull of yesterday) with lots of delight.
Performance are much better.
The only problem I have: the fancy splitting (via BBDB) is not working
anymore. All the mails arrive in my INBOX, unlike what I ask for:
#+begin_src emacs-lisp
;; the registry should be installed
(setq gnus-registry-install t) ;; for `G G' searches
;; the first match in `nnimap-split-rule' found will be used
(setq nnimap-split-crosspost nil)
;; name(s) of IMAP mailboxes to split mail from
(setq nnimap-split-inbox '("INBOX"))
;; BBDB (Big Brother DataBase) is loaded from my `.emacs' file
(when (try-require 'bbdb-gnus)
;; split function to use (sorting mails into groups using BBDB)
(setq nnimap-split-rule 'bbdb/gnus-split-method)
;; fallback if the BBDB doesn't specify a group
(setq bbdb/gnus-split-nomatch-function 'nnimap-split-fancy))
;; specify how to split mail
(setq nnimap-split-fancy
;; split to the first rule making a match
`(|
(from mail "INBOX.errors")
;; catch spam
("X-Spam-Status" "[Yy]es"
"INBOX.Spam")
;; people, mailing lists, etc.
("To" "info@other\\.com" "INBOX.other")
("Subject" "\[O\]" "INBOX.org-mode")
;; unmatched mail goes to the catch-all group (default mailbox)
"INBOX"
))
#+end_src
A couple of minutes ago, when trying to respool one of those emails (which
landed in INBOX), I got this error:
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
encode-coding-string(nil utf-7-imap)
utf7-encode(nil t)
nnimap-request-accept-article(nil "mc" t)
gnus-request-accept-article(nil (nnimap "mc" (nnimap-address
"mail.company.com") (nnimap-authenticator login)) t t)
eval((gnus-request-accept-article nil (quote (nnimap "mc" ... ...)) t t))
nnimap-request-move-article(24944 "INBOX" "mc" (gnus-request-accept-article
nil (quote (nnimap "mc" ... ...)) t t) t nil)
gnus-request-move-article(24944 "nnimap+mc:INBOX" "mc"
(gnus-request-accept-article nil (quote (nnimap "mc" ... ...)) t t) t nil)
gnus-summary-move-article(nil nil (nnimap "mc" (nnimap-address
"mail.company.com") (nnimap-authenticator login)))
gnus-summary-respool-article(nil (nnimap "mc" (nnimap-address
"mail.company.com") (nnimap-authenticator login)))
call-interactively(gnus-summary-respool-article nil nil)
--8<---------------cut here---------------end--------------->8---
Now, after a restart (and maybe a switch between Emacs 23 and 24), I also have:
--8<---------------cut here---------------start------------->8---
Unable to contact mail.company.com:nil via ssl
Couldn't Move article 24956: Unable to contact mail.company.com:nil via ssl
--8<---------------cut here---------------end--------------->8---
Can you help?
Best regards,
Seb
--
Sebastien Vauban
- [NoGnus] Fancy splitting and imap respooling not working,
Sebastien Vauban <=