[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mail splitting doesn't work
From: |
Katsumi Yamaoka |
Subject: |
Re: mail splitting doesn't work |
Date: |
Mon, 21 May 2007 13:39:36 +0900 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.990 (gnu/linux) |
>>>>> In <87veends6d.fsf@thalassa.lan.informatimago.com>
>>>>> Pascal Bourguignon wrote:
> I customized nnmail split as indicated in info for gnu, but it doesn't
> work, no splitting occurs either when I fetch new mail nor when I
> respool the bogus mail group where all mails land eventually...
> (custom-set-variables
> '(nnmail-split-fancy (quote (| (: nnmail-split-fancy-with-parent)
> ("From:" ".*Cron Daemon.*" "mail.cron")
> (To: ".*vms-list@voynich.net.*" "mail.voynich")
> (From: ".*gentoo.*" "mail.gentoo")
> (From: ".*zenith.*@zenit.org.*" "mail.zenith")
> (To: ".*\\(lisp.it\\|slime.*@common-lisp.net\\).*" "mail.lisp")
> (From: ".*\\(@freelance.com\\|@dice.com\\).*" "mail.jobs"))))
> What should I do to have my emails split into the right groups?
The first element of each split should be a string which is a
header name not containing ":", or a symbol defined in
`nnmail-split-abbrev-alist'. In addition, all regexps are case
insensitive. So, you may want to replace "From:" and From: with
"from" or just from, To: with "to" or to.
Regards,