I think the problem is that you are misunderstanding maildrop. I'm no expert, but I think what you have written will do nothing. If the deliver location is not changed, or the message sent "to" somewhere, it just goes to "DEFAULT". You want to send to /dev/null - I remember there being a discussion on the right way to do that in the list last month. If you find the /dev/null process send me a reminder? I was going to go looking for it.
m/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Courier Mail Sent: Friday, December 05, 2003 1:45 AM To: [EMAIL PROTECTED] Subject: [courier-users] (no subject) Sam.. My ~/.mailfilters/default looks like this: if ( /^From: *!.*/ && lookup ($MATCH2, "$HOME/.mailfilters/drop.list")) { exit } Where ~/.mailfilters/drop.list is a list of email addresses I want to block.. This doesn't work.. Is this a failure in understanding how maildrop works, or my maildrop is screwed up? If the syntax is screwed up, courier barfs at me, and so I know it's testing for the condition.. But it's not trapping anything.. Q2, I tried doing this to my /usr/local/courier/etc/maildroprc and it wasn't too happy.. :-( Q3, any way for me to up to amount of debugging info I'm getting? I ran Courier manually piping in the file to maildrop, and it filtered..??? Thanks. Albert ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
