procmail
[Top] [All Lists]

Re: filtering internal emails

2007-10-09 23:23:06
Gustavo Villaran wrote:
hi, i have created an alias called "xxx(_at_)abc(_dot_)com" but i want to 
authorize 
to only 5 users to write tothis alias,
how can i do this with procmail? im a new procmail user. if anybody else 
write to this alias the mail should be
deleted.
  

The .procmail ruleset for this would be something like

:0
* ^From: *(user1|user2|user3|user4|user5)$
/your/mail/file

:0
/dev/null

See the procmailrc man pages for details how to write rules for 
procmail, and procmailex for more examples.

-- 
Klaus Johannes Rusch
KlausRusch(_at_)atmedia(_dot_)net
http://www.atmedia.net/KlausRusch/
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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