3 messages in net.sourceforge.lists.courier-maildrop[maildropl] Re: Howto copy mails and ...
FromSent OnAttachments
Christophe ZweckerJun 29, 2003 2:10 pm 
Sam VarshavchikJun 29, 2003 5:05 pm 
Christophe ZweckerJun 30, 2003 2:35 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Re: Howto copy mails and exclude ? courier-mtaActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Jun 29, 2003 5:05:02 pm
List:net.sourceforge.lists.courier-maildrop

Christophe Zwecker writes:

Hi,

with sendmail and procmail I used to have somthing like this:

:0 c * !^FROM_DAEMON * !^X-Loop.* do@zwecker.de * !^X-Loop.* czwe@sysctl.de * !^From.* do@zwecker.de * !^From.* samhain * !^From.* czwe@sysctl.de * !^Precedence.* list !docmobile

that way I could get mails with my mobile from another popbox without mailinglists n stuff.

how would I do that with the .mailfilter ?

if ( ( ! /X-Loop.* do@zwecker.de/) && \ ( ! /^X-Loop.* czwe@sysctl.de/) && \

[ ... ] ) to "docmobile"

You'll have to obtain FROM_DAEMON's definition from procmail's documentation, and use an equivalent regexp pattern.