procmail
[Top] [All Lists]

Recipy syntax help

2004-03-25 03:21:49
Hi guys,

I want to implement mail user restrictions in procmail.  Something like this.

User john(_at_)newingtoncs(_dot_)co(_dot_)za has e-mail, may send mail to 
addresses within the 
company, and may receive mail from addresses within the company, but he may 
not send/receive to/from addresses outside the company.

I thought this would be pretty easy, but it's not working.  This is what I 
have:

:0h
*^To: john(_at_)newingtoncs(_dot_)co(_dot_)za
{
        :0h!
        *^From:(_dot_)(_at_)newingtoncs(_dot_)co(_dot_)za
        /dev/null
}

What am I doing wrong?

Thank you
-- 
Kind regards
Hans du Plooy
Newington Consulting Services
hansdp at newingtoncs dot co dot za

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