spam handling rules with +detail email addresses?
Julian Field
mailscanner at ecs.soton.ac.uk
Wed Feb 18 09:18:26 GMT 2004
At 01:04 18/02/2004, you wrote:
>How does MailScanner/SA handle incoming email addressed to
>user+detail at domain.com in rules?
>
>Sendmail will strip everything after/including the + sign, and deliver
>to the 'user', but rules in MailScanner for both user+detail at domain.com
>AND user at domain.com seem to be bypassed when using this syntax in an email.
>
>I've only tested with rules/spam.actions.rules like this:
>
>To: user+detail at domain.com store notify
>To: user at domain.com store notify
>
>Both are bypassed and mail gets the default action applied to it if it's
>addressed to user+detail at domain.com
But what is the envelope recipient address in this case? user or user+detail?
You could do it with
To: user at domain.com store notify
To: user+*@domain.com store notify
or
To: /user(\+.*)?\@domain\.com/ store notify
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
More information about the MailScanner
mailing list