Incorrect logging
Glenn Steen
glenn.steen at gmail.com
Thu May 17 22:44:55 IST 2012
... But empty records should be fine (empty sender == MAILER-DAEMON...), so
that'd be a non-fix. Question is why your PF is inserting an empty record
there...? What version of PF? Built or packaged?
Cheers
--
-- Glenn (who is enjoying Prague, for the weekend, a lot less, after the
bad loss in the Hockey wcc... Sweden 3, Check rep. 4)
Den 17 maj 2012 14:07 skrev "Marek Šimon" <marek.simon at casablanca.cz>:
> I descented into Postfix.pm, line 387. MailScanner recognises the Original
> recipient and stops recognizing other recipients when it finds it. But in
> my postfix there is no original recipient, the original recipient record is
> empty. But Mailscanner consider this empty record as valid and there is the
> whole problem. So I add an 'if test' which skips empty records.
> Marek
>
>
> ------------------------------
> *Od: *"Marek Šimon" <marek.simon at casablanca.cz>
> *Komu: *"MailScanner discussion" <mailscanner at lists.mailscanner.info>
> *Odeslané: *Čtvrtek, 17. Květen 2012 9:26:58
> *Předmět: *Re: Incorrect logging
>
> Hi
> I am refering to envelope address. I send the message by pushing it via nc
> to the mail server, the message is like this:
> echo 'ehlo clienthostname'
> echo 'mail from:<marek.simon at casablanca.cz>'
> echo 'rcpt to:<pletiplot at xyz.cz>'
> echo 'data'
> echo 'some spam and html fragments to test the antispam procesing'
> echo '.'
> echo quit
> ) | nc -t serverhostname 25
>
> The clienthostname and serverhostname are placeholders of course.
> There is "To: envelope address" and "From: the envelope address" and no
> regular headers as you see (no headers increase the spam score, which is
> what I wanted). The message is read by the MailScanner but in MailScanner
> records in mail.log there is empty space where the recipient should be and
> there is sender address where sender server hostname should be. I debuged
> the Message.pm and message->{to} is empty there. I am not a perl guru so I
> just try to print some values. The To: address is empty in localy generated
> messages too. I was very upset yesterday while debuging it.
>
> Thanks.
> Marek
>
>
> ------------------------------
> *Od: *"Glenn Steen" <glenn.steen at gmail.com>
> *Komu: *"MailScanner discussion" <mailscanner at lists.mailscanner.info>
> *Odeslané: *Čtvrtek, 17. Květen 2012 8:55:20
> *Předmět: *Re: Incorrect logging
>
> Are you refering to headers? MS/MW operates on the envelope addresses, not
> the headers. So it is very likely correct. Quote the details page for a
> message you perceive as wrong, if still in doubt.
>
> --
> -- Glenn
> Den 16 maj 2012 20:33 skrev "Marek Šimon" <marek.simon at casablanca.cz>:
>
>> Hi,
>> I have mailscanner with postfix and mailwatch. There is Mailwatch
>> extension in custom function. Everything works except mailscanner logs
>> "from" instead of "source reverze address" and nothing instead "To:". Seems
>> there is something wrong inside the MailScanner or MailWatch.
>> Marek
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
>>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20120517/2ae52b23/attachment.html
More information about the MailScanner
mailing list