procmail
[Top] [All Lists]

Re: Help with config file

2000-05-11 21:13:23
check out the man pages
man procmail
man procmailrc
man procmailex

I'll give you examples fast so beware some of them
might be wrong.

On Sat, 6 May 2000, Albert Kasper wrote:

Help!

I want to make a config file with the following rules and haven't made it so
far (e.g. AND-Connection of rules, ...), please help me!

Following targets:

* ignore all mail received from papers(_at_)company(_dot_)com with a size 
larger than
50000 byte (= forward to /dev/null, this is what I found out)

:0
* ^From: papers(_at_)company(_dot_)com
* > 50000
/dev/null

* All Mails with Subject containing "Telephone conference" (not as whole,
but as part of the subject) shall be forwarded to info(_at_)company(_dot_)com 
and my
address (kasper(_at_)company(_dot_)com)

:0
* ^Subject:.*Telephone.*conference
! info(_at_)company(_dot_)com

:0A
! kasper(_at_)company(_dot_)com

* All other mail should be forwarded to kasper(_at_)private(_dot_)com

I mainly failed on doing AND-Connections of rules and on partial string
comparison ("contains")

'Please help!!

:0
! kasper(_at_)private(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>