Hi Gijs,
Gijs Hillenius wrote:
> regarding the combination of Gnus fancy mail splitting and the BBDB,
> see, maybe:
>
> http://www.randomsample.de/dru5/node/57
>
> The set-up needs just a few lines....
>
> In my set-up:
>
> in .gnus
>
> (setq nnimap-split-fancy
> '(|
> ("From" "google ... )
> ("From" ".*h ...)
> (.. and other rules)
> ;; Invoke the BBDB
> (: (lambda ()
> (car (bbdb/gnus-split-method))))
> ;; Default mailbox
> ("INBOX" "")))
>
> and then I use the bbdb's gnus-private field to define the Gnus nnimap
> folder I want to use: so an entry would have a gnus-private:
> INBOX.foo...
>
> and it just works.
It did not work for me, at the beginning. But you've put me on a right track
(with the lambda expression for bbdb splitting). After a couple of hours, I
found out that I was missing
(nnimap-split-methods default)
in `gnus-secondary-select-methods':
#+begin_src emacs-lisp
(setq gnus-select-method
;; NNTP server
'(nntp "eternal-september.org" ; was `motzarella.org'
(nntp-address "news.eternal-september.org")
(nnir-search-engine nntp)))
;; configure incoming mail
(setq gnus-secondary-select-methods
`((nnimap "mail"
(nnimap-address "mail.company.com")
(nnimap-inbox "INBOX") ;; not necessary
(nnimap-split-methods default) ;; << ABSOLUTELY NEEDED
(nnimap-authenticator login))
(nntp "gmane"
(nntp-address "news.gmane.org")
(nntp-port-number 119))))
#+end_src
This, plus your adviced style of using `bbdb/gnus-split-method', makes it work
(tm).
Thanks a lot for your help! Now, fully using No Gnus v0.18 for one full day,
already...
Best regards,
Seb
--
Sebastien Vauban
_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english