On 4-Jan-2008, at 16:11, Gustavo Villaran wrote:
do the following i have an alias abc(_at_)xxx(_dot_)com i want to authorize
people1(_at_)xxx(_dot_)com and people2(_at_)xxx(_dot_)com
to write to this alias, if anyone else write to this alias the email
should be dropped.
can i do this with procmail?
If the alias is points top a real account, this is pretty easy.
Assuming the abc user is an alias for def then in def's .procmailrc
you would have something like this:
:0
* TO_abc(_at_)xxx(_dot_)tld
{
:0
* ^From:.*(people1|people2)@xxx.tld
abc
:0E
/dev/null
}
for future reference don't use domains that are real or might possibly
be real (unless you really are xxx.com). Either use example.com
(reserved for this) or use something without a '.com' on the end. I
like 'tld' for Top Level Domain myself, but anything that is not
actually used as a tld should be fine mydomain.dotcom, for example.
--
There is NO Rule six!
____________________________________________________________
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