rule patterns

Julian Field MailScanner at
Wed Dec 2 12:30:57 GMT 2009

On 01/12/2009 06:41, Frank Cusack wrote:
> OK this is definitely the last question! :)
> rules/README example patterns:
>        *        # Any user at 1 domain
>        *@*          # Any user at any sub-domain of 
> ""
Those 2 examples look at the email sender address in the SMTP envelope.
>   # Any hostname
>        # Any domain name
>        host:mail*  # Any hostname or domain name with 
> wildcards
Those 3 examples look at the hostname of the system at the other end of 
the SMTP conneciton. Nothing to do with the email envelope sender 
address at all.
> Shouldn't the first host: example say "a single hostname"?  And the 2nd
> say "a single domain name"?  Likewise the 3rd example.
> Is * equivalent to  It would seem so although
> since "host:" isn't really defined I'm not 100% sure it means the part
> after the "@" in the email address being tested.  (only 99.9% sure)
> But really what I wanted to get to is that bounce.rules has:
> #From:        yes
> which doesn't match any of the example patterns in README.  Is 
> bounce.rules
> in error?
> -frank


Julian Field MEng CITP CEng
Buy the MailScanner book at

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at and

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list