procmail
[Top] [All Lists]

Re: domains from file

2000-07-07 06:10:18
Are you using sendmail?  If so, you should take care of some the spammer
from the MTA level

On Fri, 7 Jul 2000, Leonid Mamtchenkov wrote:

Hello All,

 Maybe the question is already answered somewhere in the faqs and I missed
it...anyway, here is the situation:

My spam.rc is getting bigger and bigger.  Mostly there are lines of the
form:
:0:
* ^(To|From|Cc|Reply-To|Sender).*(domain1|domain2|domain3)
in-spam

The question is how can I (if I can of course) put the domains in the file
and use that file with my procmail...something like
---- spamdomain.txt ----
domain1
domain2
domain3
...
-------------------------
and then in my spam.rc
* ^(To|From|Cc|Reply-To|Sender).(`cat spamdomains.txt`)

Any ideas?
TIA.

-- 
 Best regards,
 Leonid Mamtchenkov
 System administrator
 J.F.Services Ltd. (Limassol, Cyprus)
 E-mail: leonid(_at_)jfs-cy(_dot_)com

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail



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