<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'><div>Hi</div><div></div>I am refering to envelope address. I send the message by pushing it via nc to the mail server, the message is like this:<div><div> echo 'ehlo clienthostname'</div><div></div><div> echo 'mail from:<marek.simon@casablanca.cz>'</div><div></div><div> echo 'rcpt to:<pletiplot@xyz.cz>'</div><div></div><div> echo 'data'</div><div></div><div> echo 'some spam and html fragments to test the antispam procesing'</div><div> echo '.'</div><div></div><div> echo quit</div><div>) | nc -t serverhostname 25</div><div><br></div><div>The clienthostname and serverhostname are placeholders of course.</div><div>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.</div><div><br></div><div>Thanks.</div><div>Marek</div><div><br></div><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Od: </b>"Glenn Steen" <glenn.steen@gmail.com><br><b>Komu: </b>"MailScanner discussion" <mailscanner@lists.mailscanner.info><br><b>Odeslané: </b>Čtvrtek, 17. Květen 2012 8:55:20<br><b>Předmět: </b>Re: Incorrect logging<br><br><p>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.</p>
<p>-- <br>
-- Glenn</p>
<div class="gmail_quote">Den 16 maj 2012 20:33 skrev "Marek Šimon" <<a href="mailto:marek.simon@casablanca.cz" target="_blank">marek.simon@casablanca.cz</a>>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif">Hi,<div>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.</div>
<div>Marek</div></div></div><br>--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
<br></blockquote></div>
<br>-- <br>MailScanner mailing list<br>mailscanner@lists.mailscanner.info<br>http://lists.mailscanner.info/mailman/listinfo/mailscanner<br><br>Before posting, read http://wiki.mailscanner.info/posting<br><br>Support MailScanner development - buy the book off the website! <br></div><br></div></div></body></html>