Hi, I'm trying to make .mailfilter that would reply with "bad user" 
message to some senders.

It seems that courier just ignores .mailfilter, because the user 
receives matched emails and test line `cc "[EMAIL PROTECTED]"` is not 
performed.

I'm not sure also that maildroprc is in use.
What could be the problem?
Is there a way to trace maildrop's execution?
Thank you.

The configuration is as follows:

# cat /etc/courier/maildrop
/usr/lib/courier/bin/maildrop

# cat /etc/courier/maildroprc
xfilter "/usr/bin/spamc"

# ls $HOME/.mailfilter
-rw-------    1 virtual  virtual       222 Jul  9 19:03 .mailfilter

# cat $HOME/.mailfilter
cc "[EMAIL PROTECTED]"
/^From:.*/
FROM = getaddr($MATCH)
if ($FROM="[EMAIL PROTECTED]")
{
        xfilter "reformail -r -t"
        to "| ( cat - ; echo ''; cat baduser.msg) | $SENDMAIL"
}





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to