MailScanner --lint error--SOLVED
MailScanner at ecs.soton.ac.uk
Fri Aug 3 11:25:26 IST 2007
Scott Silva wrote:
> Scott Silva spake the following on 8/2/2007 2:08 PM:
>> I am getting the following error on my boxes;
>> ERROR: The "envelope_sender_header" in your spam.assassin.prefs.conf
>> ERROR: is not correct, it should match X-BlaBla-MailScanner-From
>> But I have the exact text it is looking for in spam.assassin.prefs.conf
>> Obviously BlaBla is not the organization name.
>> I tried with an = between envelope_sender_header and the header text and
>> without the =.
>> I only changed it because it recommended I have %orgname% in the envelope from
>> and to headers.
>> So it is nagging me to change it, and then complains when I do. Did I suddenly
>> get married this thing?
> I found the problem -- there can be only 1 space between
> envelope_sender_header and the header text. I had 2 spaces and the parser must
> think the extra space is part of the header text.
I just tried adding some extra spaces in my envelope_sender_header line
and it correctly ignored them. Wonder why it didn't work for you, the
regex uses a \s+ to match the required space in the line.
Julian Field MEng CITP
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
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk
More information about the MailScanner