Gnus development mailing list
 help / color / mirror / Atom feed
* regexp for nnmail-split-methods
@ 2008-11-03 17:56 Seweryn Kokot
  2008-11-03 19:48 ` Reiner Steib
  0 siblings, 1 reply; 5+ messages in thread
From: Seweryn Kokot @ 2008-11-03 17:56 UTC (permalink / raw)
  To: ding

Hello,

I have a problem with setting nnmail-split-methods, namely I want that
messages from "foo@domain.com" address go to "nnml:mail.foo" mailbox and
all the other messages from ".*@domain.com" (except "foo@domain.com") go
to "nnml:mail.others" mailbox. Up to now I have such a regexp:

(setq nnmail-split-methods
      '(("nnml:mail.others" "^From:.*[^f][^o][^o]@domain\\.com")
        ("nnml:mail.foo" "^From:.*foo@domain\\.com")
        ("nnml:mail.inbox" "")))

however there are some messages (for example from "bob@domain.com")
which end up in "nnml:mail.inbox". 

How to create a regexp something like "^From:.*NOT(foo)@domain\\.com"?

Thanks in advance.
-- 
regards,
Seweryn




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-11-04 20:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-03 17:56 regexp for nnmail-split-methods Seweryn Kokot
2008-11-03 19:48 ` Reiner Steib
2008-11-03 21:51   ` Rupert Swarbrick
2008-11-03 22:04     ` Ted Zlatanov
2008-11-04 20:29       ` Seweryn Kokot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).