From: Seweryn Kokot <sewkokot@gmail.com>
To: ding@gnus.org
Subject: regexp for nnmail-split-methods
Date: Mon, 03 Nov 2008 18:56:01 +0100 [thread overview]
Message-ID: <87r65sithq.fsf@poczta.po.opole.pl> (raw)
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
next reply other threads:[~2008-11-03 17:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-03 17:56 Seweryn Kokot [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r65sithq.fsf@poczta.po.opole.pl \
--to=sewkokot@gmail.com \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).