Betr.: Re: Notice to ruleset not being read - MS 4.78.15-1
Amelein at dantumadiel.eu
Amelein at dantumadiel.eu
Tue Sep 8 14:46:21 IST 2009
>>> Op 8-9-2009 om 15:16 is door Julian Field <MailScanner at ecs.soton.ac.uk>
geschreven:
> 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/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?
>
> Jules
Nothing different but the version:
# diff /usr/lib/MailScanner/MailScanner/Config.pm Config.pm
5c5
< # $Id: Config.pm 4913 2009-08-28 01:24:15Z sysjkf $
---
> # $Id: Config.pm 4908 2009-08-27 04:51:32Z sysjkf $
43c43
< $VERSION = substr q$Revision: 4913 $, 10;
---
> $VERSION = substr q$Revision: 4908 $, 10;
I added the file in the conf.d and it loaded but I need to figure out a way to make it actually trigger a notice ..
-
Arjan
More information about the MailScanner
mailing list