Spam rule wildcards...

John Goggan jgoggan at DCG.COM
Mon May 12 17:43:28 IST 2003


Sendmail allows the use of the "+" character to indicate additional data for a
user -- without having an explicit alias set up to handle it.  So, user
johndoe at dcg.com can get mail at johndoe+spamtag at dcg.com without any additional
configuration.

However, I just noticed that this doesn't hit the intended rule in my
spam.action.rules file.  johndoe actually gets mail at multiple domains, so my
rule for him looks like this:

To:     johndoe@*       deliver

What is the best way to handle this?  Should I just add an additional rule for
johndoe like this:

To:     johndoe+*@*     deliver

...will that work as intended?

Thanks!

 - John...



More information about the MailScanner mailing list