Notice to ruleset not being read - MS 4.78.15-1
MailScanner at ecs.soton.ac.uk
Tue Sep 8 14:16:29 IST 2009
On 08/09/2009 14:04, Ed Bruce wrote:
> Amelein at dantumadiel.eu 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@/notices.to.rules> (expanded from
>> <%rules-dir%/notices.to.rules>): bad address syntax
>> after updating to 4.78.15-1 it gave me:
>> </etc/mailscanner/rules/notices.to.rules at fqdn> (expanded from
>> </etc/MailScanner/rules/notices.to.rules>): unknown user:
> Just adding a me too. I'm getting the following error now:
> Final-Recipient: rfc822; /etc/mailscanner/rules/notices.to.rules@<my
> email host name>
> Original-Recipient: rfc822; /etc/MailScanner/rules/notices.to.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:Notices To = postmaster
/etc/MailScanner/conf.d/notices.to:Notices To = %rules-dir%/notices.to.rules
[root at alegria MailScanner]# cat /etc/MailScanner/rules/notices.to.rules
To: jkf at ecs.soton.ac.uk postmaster-ecs at ecs.soton.ac.uk
To: jkf at soton.ac.uk postmaster-soton at ecs.soton.ac.uk
FromOrTo: default postmaster-default at ecs.soton.ac.uk
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/Config.pm (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 www.MailScanner.info/store
Need help customising MailScanner?
Need help fixing or optimising your systems?
Need help getting you started solving new requirements from your boss?
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 25707 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20090908/433b64bf/Config.pm.zip
More information about the MailScanner