On 10-Oct-2007, at 00:21, Klaus Johannes Rusch wrote:
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
I'm concerned about the use of the word 'alias'. If this is a mail
alias of some sort, the above will not work as intended, as you would
need to check the To first
:0
* ^To:[$WS]+myalias.mydomain.tld
{
(the recipes from above)
}
--
Sarah, age 18, says "man, once you go crayola you can't go back."
____________________________________________________________
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