Problem with filename ruleset for "Remove These Headers"

Mike michael at NOMENNESCIO.NET
Wed Dec 1 12:22:09 GMT 2004


    [ The following text is in the "iso-8859-15" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hi,

I have a problem with the "Remove These Headers" option. When I specify "Remove These Headers = X-Mozilla-Status: X-Mozilla-Status2:" in MailScanner.conf, everything works fine (i.e. headers /are/ removed as should be), however, when I specify a filename (such as "Remove These Headers = %rules-dir%/RemoveTheseHeaders", no headers whatsoever are being removed. Even the most basic entry does not work at all:

FromOrTo:       default X-Mozilla-Status: X-Mozilla-Status2:

The %rules-dir% is set to the correct directory (since I use plenty of other rulesets) and the file "RemoveTheseHeaders" also exists with the same permissions as other rulesets. There should not be a problem there.

Does anyone else use a filename as a ruleset for this option (and are headers being removed properly)? The reason for using a ruleset, is to differentiate between mail coming in from the Internet and from the LAN and removing different headers accordingly.

I'm using the latest stable version of MailScanner: 4.35.9.

Regards,
Mike Klinkert.

PS: kudos for this excellent piece of software!

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list