6 messages in net.sourceforge.lists.courier-usersRe: [courier-users] maildropfilter an...
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:Re: [courier-users] maildropfilter and spamassassinActions...
From:Arno (ar@disconnect.de)
Date:Dec 22, 2006 8:27:21 am
List:net.sourceforge.lists.courier-users

Hi,

On Friday 22 December 2006 16:54, Lucio Crusca wrote:

I have created .mailfilter on account 1 this way:

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

Hmm, if you only want to deliver a copy to acco@domain.com, why don't you do this via a .courier-file? No need to invoke maildrop for that.

The content of the .courier-file in $HOME/account1 should be something like this: ./Maildir/ acco@domain.com

man dot-courier

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?

no idea, really. But the .courier-approach should give you some clues. This way maildrop is only executed once: while delivering to account2.