[Esd-l] A little off-topic

Michael Geier mgeier at cdmsports.com
Wed Dec 19 07:25:01 PST 2001


instead of:

* ^To:.troll@<domain>

try:

* TO_troll@<domain>



from * man procmailrc
	If the regular expression contains `^TO_' it will be substituted by


`(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):
(.*[^-a-zA-Z0-9_.])?)'

	which should catch all destination specifications containing a specific
address.

-----Original Message-----
From: esd-l-admin at spconnect.com [mailto:esd-l-admin at spconnect.com]On
Behalf Of Snowy Angelique Maslov
Sent: Wednesday, December 19, 2001 7:43 AM
To: Murray Crane
Cc: ESD-L
Subject: Re: [Esd-l] A little off-topic


On Wed, 19 Dec 2001, Murray Crane wrote:

> Hi all,
>
> I realise that this may not be the right place to ask this, but...
>
> As some of you are no doubt aware, we have a couple of boxes running the
> sanitizer as relays in front of our (I hate using the phrase) Exchange
> server.  Fine and dandy, it all works beautifully, but...
>
> I want to make a local troll account on the relays that I can have
> spammers ply their warez against (by deliberately poisoning their lists
> with that accounts email address) that gets dealt with entirely by the
> relays using Razor and spamassassin (great anti-spam software BTW.  Look
> for spamassassin on Freshmeat if you're interested) and doesn't get
> forwarded on to the Exchange box.
>
> Apart from coming up with a (no doubt simple) sendmail rewrite recipe that
> filters out mail addressed to 'troll at all.our.domains' before the sanitizer
> gets called in sendmail.cf, can anyone think of a neater way around this
> problem?

What if you put a procmail receipe in front of the sanitizer that shuffles
anything going to troll@<whatver> into the /dev/null file?  Something along
the lines of:

:0
* ^To:.*troll@<domain>
/dev/null

--
Snowy Angelique Maslov aka Snowpony  My  [
www.vulpine.pp.se/cgi-bin/furcode ]
   |\=  http://www.snowy.org/       Art  FEHuw3acdm A+ C- Dm++ H+++ M++++
P+++
  - - = http://www.furryfaire.org/ Life  R++ T+++ W- Z++ Sf# RLCT/M a
cbu++++$
'-      http://www.furart.org/   Dreams  d- e+ f+++ h+ iwf+++$ j+ p* f#
_______________________________________________
Esd-l mailing list
Esd-l at spconnect.com
http://www.spconnect.com/mailman/listinfo/esd-l



More information about the esd-l mailing list