rule patterns

Julian Field MailScanner at ecs.soton.ac.uk
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:
>
>        *@sub.domain.com        # Any user at 1 domain
>        *@*.domain.com          # Any user at any sub-domain of 
> "domain.com"
Those 2 examples look at the email sender address in the SMTP envelope.
>
>        host:mail.example.com   # Any hostname
>        host:example.com        # Any domain name
>        host:mail*.example.com  # 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 *@domain.com equivalent to host:domain.com?  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:          yourcustomer.com        yes
>
> which doesn't match any of the example patterns in README.  Is 
> bounce.rules
> in error?
>
> -frank

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

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 twitter.com/JulesFM and twitter.com/MailScanner


-- 
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