6 messages in net.sourceforge.lists.courier-users[courier-users] maildropfilter and sp...
FromSent OnAttachments
Lucio CruscaDec 22, 2006 7:53 am 
ArnoDec 22, 2006 8:27 am 
Flavio StanchinaDec 22, 2006 8:35 am 
Lucio CruscaDec 22, 2006 9:46 am 
ArnoDec 22, 2006 10:39 am 
Alessandro VeselyDec 23, 2006 3:46 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:[courier-users] maildropfilter and spamassassinActions...
From:Lucio Crusca (luc@pixel.it)
Date:Dec 22, 2006 7:53:41 am
List:net.sourceforge.lists.courier-users

Hello list,

I need to setup two maildropfilters so that:

filter on account1 sends a CC of every message to account2 in the same domain.

filter on account2 moves spam to /dev/null and ham to default Maildir.

I need this because I'm going to check mail for a while via GPRS, so I need to download the least spam possible, but I want to keep every message in order to check them with a decent internet connection when I'll be back.

I have created .mailfilter on account 1 this way:

-------- /home/account1/.mailfilter ------------- cc "|/usr/bin/maildrop -d acco@domain.com" --------EOF /home/account1/.mailfilter -------------

Account2 has the following .mailfilter

-------- /home/account2/.mailfilter ------------- if ( /^X-Spam-Level: \*\*\*/:w ) { to /dev/null } else { to $HOME/Maildir/ } --------EOF /home/account2/.mailfilter -------------

Maildrop is installed setuid root. However with this setup maildrop hogs the server (it creates countless maildrop processes).

What am I doing wrong?