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 [EMAIL PROTECTED]"
> --------EOF  /home/account1/.mailfilter -------------

Hmm, if you only want to deliver a copy to [EMAIL PROTECTED], 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/
[EMAIL PROTECTED]

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.

-- 
Regards,

Arno.

-------------------------------------------------------------------------
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