Notice to ruleset not being read - MS 4.78.15-1

Julian Field MailScanner at
Tue Sep 8 14:16:29 IST 2009

On 08/09/2009 14:04, Ed Bruce wrote:
> Amelein at wrote:
>> Instead of parsing the rule file for the notice to: setting, it tries 
>> to literally send e-mail to the filename.
>> With MS 4.78.9-1 it gave me:
>> <%rules-dir@/> (expanded from 
>> <%rules-dir%/>):   bad address syntax
>> after updating to 4.78.15-1 it gave me:
>> </etc/mailscanner/rules/ at fqdn> (expanded from 
>> </etc/MailScanner/rules/>): unknown user:  
>> /etc/mailscanner/rules/"
> Just adding a me too. I'm getting the following error now:
> Final-Recipient: rfc822; /etc/mailscanner/rules/<my 
> email host name>
> Original-Recipient: rfc822; /etc/MailScanner/rules/
I can't reproduce this :-(

I've tried 2 setups: this one...

[root at alegria MailScanner]# egrep '^Notices To|^include' 
/etc/MailScanner/MailScanner.conf /etc/MailScanner/conf.d/*
/etc/MailScanner/MailScanner.conf:Notices To = postmaster
/etc/MailScanner/MailScanner.conf:include /etc/MailScanner/conf.d/*
/etc/MailScanner/conf.d/ To = %rules-dir%/

[root at alegria MailScanner]# cat /etc/MailScanner/rules/
To: jkf at postmaster-ecs at
To: jkf at postmaster-soton at
FromOrTo: default postmaster-default at

And the same thing but without the 'include' stuff at all.

And it works fine both times. The logs show it sending mail to the 
various defined postmaster addresses.

Just in case I've got a change you haven't got, attached is my 
/usr/lib/MailScanner/MailScanner/ (compressed). Please compare 
it against yours and let me know if there are any differences of note.

Can you try it using an "include" and not using an "include" and let me 
know if that makes any difference at all please?


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/zip
Size: 25707 bytes
Desc: not available
Url :

More information about the MailScanner mailing list