Betr.: Re: Notice to ruleset not being read - MS 4.78.15-1

Julian Field MailScanner at ecs.soton.ac.uk
Tue Sep 8 15:06:09 IST 2009



On 08/09/2009 14:46, Amelein at dantumadiel.eu wrote:
>>>> 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 ..
>    
Send yourself copies of EICAR should do it nicely.

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