Blocking empty To with rules

Julian Field mailscanner at ecs.soton.ac.uk
Sun Feb 16 10:02:13 GMT 2003


I very much doubt that setting any "directory" settings to /dev/null would
work, as it's not a directory.

At 02:47 16/02/2003, you wrote:
>Would it not be better to change outgoing queue directory to /dev/null
>for such mails. What would happen if I set incoming directory to
>/dev/null? Will MailScanner try to read from /dev/null to scan or will
>it just drop them? Why waste resources scanning when we want to drop
>them off the cliff anyway?
>
>Mohan
>
>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>Behalf Of Julian Field
>Sent: Saturday, February 15, 2003 4:08 AM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: Blocking empty To with rules
>
>
>At 16:06 14/02/2003, you wrote:
> >Is it possible to block a spam message where the To is empty?  We are
> >getting a ton of spam from AOL and in the sendmail logfile the To is
> >blank. I wouldn't mind shutting AOL down from having access to our
> >server but I'm sure our customers would complain :)
>
>In a ruleset you can specify arbitrary regular expressions, which is
>perfect for this. You could write a ruleset for the "Is Definitely Spam"
>parameter that contains the line
>To:     /^$/    yes
>which would say that all mail with no To address is spam.
>--
>Julian Field
>www.MailScanner.info
>MailScanner thanks transtec Computers for their support

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list