OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [OT] maildrop filter examples

From: adi (adimdgr.padinet.com)
Date: Tue Apr 29 2003 - 06:54:26 CDT


On Tue, Apr 29, 2003 at 01:45:35PM +0200, Ralf Hildebrandt wrote:
> It's off-topic, but I really need some $HOME/.mailfilter
> examples. The manpages are a PITA, so I thought I'd ask.

this is a rather simple example :-)

DEFAULT=$HOME/Maildir/
#xfilter "bogofilter -n -u -e -p"
if (/^(To|Cc):.*(postmaster|root)@/)
   to Mail/postmaster/

if (/^X-BeenThere: pau-mikro@pau-mikro.org$/)
   to Mail/pau-mikro/

... and so on.

Regards,

P.Y. Adi Prasaja