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 [EMAIL PROTECTED]"
--------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?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to