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.