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?