Hi Dorita Menconi! I'm a UNIX administrator and I like to fight spam!
Also, it seemed like I should be able to process all the stuff for my
domain by sending it to sendmail or procmail by doing
:0
* ^TOmydomain.com
| procmail
but that got me into an infinite loop. Is there some other way to do
this?
And so it should, as it causes a newly launched copy of Procmail
to go through the same rc file again, until it reaches that condition, at
which point procmail launches again, and again, again... :-)
Try enclosing all of your domain's recipes on a nesting block if
you have a lot of them like this:
:0
* ^(to|cc).*mydomain\.com
{
:0:
* ^(to|cc)postmaster
/var/spool/mail/root
:0 E
* ^(to|cc)ftp-server
| (formail -rt; echo "Here is a directory listing!") |$SENDMAIL -oi -t
etc.
.
.
:0 E
| (formail -rt; echo "user not found, sorry!") |$SENDMAIL -oi -t
}
Regards,
--
<Doug Muth>--<dmuth(_at_)ot(_dot_)com> - Spam me and die!
Think your homepage sucks? You haven't seen http://www.ot.com/~dmuth yet!!
Anti-virus software and utils: | The Transformers fanfiction:|"Est Sularus|
http://www.ot.com/~dmuth/virus | http://www.ot.com/~dmuth/tf |oth Mithas!"|
-=-=-=-=- Send a spammer to the slammer! * http://www.vix.com/spam -=-=-=-=