6 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] mail drop filter not ...
FromSent OnAttachments
Pamela RockSep 14, 2006 11:07 am 
Sam VarshavchikSep 14, 2006 3:22 pm 
Pamela RockSep 14, 2006 7:16 pm 
Devin RubiaSep 15, 2006 6:10 am 
Pamela RockSep 15, 2006 10:14 am 
Tony EarnshawSep 15, 2006 6:25 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] mail drop filter not working...Actions...
From:Pamela Rock (proc@yahoo.com)
Date:Sep 14, 2006 7:16:55 pm
List:net.sourceforge.lists.courier-maildrop

Reference below for answer....

my /etc/maildroprc file looks like this....

SHELL="/bin/bash" SENDMAIL="/usr/lib/sendmail" MAILDROP="/usr/local/bin/maildrop" logfile "/var/log/maildrop" VERBOSE="4"

if (/^Subject:.*[:mailtestnow:]/ \ { /dev/null }

When an email with the subject mailtestnow shows up, it is delivered to the user. Is the syntax totally wrong, why can I not filter? Please help.

What evidence can you post that shows that sendmail will use maildrop to deliver mail? maildrop can't process mail by magic alone. You have to configure sendmail to use maildrop for local mail delivery.

This is a snippet from sendmail.cf. This is also straight from the documentation. I replaced the procmail local delivery agent with maildrop.

Mlocal, P=/usr/local/bin/maildrop, F=lsAw5:/|@SPfhn, S=10/30, R=20/40, T=DNS/RFC822/X-Unix, A=maildrop -d $u