From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org
Subject: Re: regexp for nnmail-split-methods
Date: Mon, 03 Nov 2008 20:48:17 +0100 [thread overview]
Message-ID: <87wsfk7fr2.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87r65sithq.fsf@poczta.po.opole.pl>
On Mon, Nov 03 2008, Seweryn Kokot wrote:
> 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 about this?
(setq nnmail-split-methods
'(("nnml:mail.foo" "^From:.*foo@domain\\.com")
("nnml:mail.others" "^From:.*[^f][^o][^o]@domain\\.com")
("nnml:mail.inbox" "")))
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2008-11-03 19:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-03 17:56 Seweryn Kokot
2008-11-03 19:48 ` Reiner Steib [this message]
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=87wsfk7fr2.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--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).