procmail
[Top] [All Lists]

Re: What's wrong of my script?

2003-07-23 04:12:21
On Wed, Jul 02, 2003 at 02:02:31PM +0800, Chris Wong wrote:

PATH=/bin:/usr/bin:/usr/local/bin 

I would not set a path except for good reason.  The compiled-in
path should be right (or recompile).

SHELL=/bin/sh 
MAILLIST=user1(_at_)mydomain(_dot_)com|user2(_at_)mydomain(_dot_)com

:0 fhw: 
* !From.${MAILLIST} 
|(formail -r ; echo "Your post rejected!")| $SENDMAIL
-oi -t

Btw to the original poster: you absolutely want to accept
mail to "postmaster(_at_)yourdomain(_dot_)com" (RFCs require it)
and should accept to a few other vital addresses such
as "admin@".

-- 
dman

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>