Wildcards

Julian Field mailscanner at ecs.soton.ac.uk
Thu Mar 13 19:02:26 GMT 2003


At 16:33 13/03/2003, you wrote:
>Having the problem of spam being sent "from" one of my domains, so getting
>back huge numbers of bounces.
>
>That domain doesn't have any numbers in the user names, but all the spam
>bounce messages do.
>
>Is it possible to block mail to addresses with numbers, eg some rules like:
>
>*1*@domain.com
>*2*@domain.com
>etc
>
>I would prefer to block at the sendmail level if possible.

This is an MTA problem, not a MailScanner one.
As an example of blocking a pattern, I use this:

KIsEcsList2 regex -a at MATCH ^.*-all(-[0-9])?$
SLocal_check_rcpt
R$* <@ *LOCAL* > $*     $: $(IsEcsList2 $1 $) <@ *LOCAL* > $2   ECS list?

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list