<div dir="ltr">Thanks for the tests Mark. This will definitely need fixed.</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 12, 2018 at 9:47 PM Mark Sapiro <<a href="mailto:mark@msapiro.net">mark@msapiro.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 12 Oct 2018 07:40:40 -0400 Shawn Iverson via MailScanner<br>
<mailscanner at <a href="http://lists.mailscanner.info" rel="noreferrer" target="_blank">lists.mailscanner.info</a>> wrote:<br>
<br>
> Ok. I'll run some tests and see what happens. Were both recipients in the<br>
> To: field?<br>
<br>
I have run a simple test with a message with one local and one remote<br>
recipient.<br>
<br>
I get this in the log:<br>
<br>
> Oct 12 18:16:23 msapiro postfix/smtpd[26916]: connect from <a href="http://msapiro-enet.attlocal.net" rel="noreferrer" target="_blank">msapiro-enet.attlocal.net</a>[10.211.115.100]<br>
> Oct 12 18:16:23 msapiro postfix/smtpd[26916]: 7002C340121: client=<a href="http://msapiro-enet.attlocal.net" rel="noreferrer" target="_blank">msapiro-enet.attlocal.net</a>[10.211.115.100]<br>
> Oct 12 18:16:23 msapiro postfix/cleanup[26921]: 7002C340121: message-id=<<a href="mailto:20181013011623.7002C340121@msapiro.net" target="_blank">20181013011623.7002C340121@msapiro.net</a>><br>
> Oct 12 18:16:23 msapiro postfix/cleanup[26921]: 7002C340121: milter-discard: END-OF-MESSAGE from <a href="http://msapiro-enet.attlocal.net" rel="noreferrer" target="_blank">msapiro-enet.attlocal.net</a>[10.211.115.100]: milter triggers DISCARD action; from=<<a href="mailto:mark@msapiro.net" target="_blank">mark@msapiro.net</a>> to=<<a href="mailto:mark@ms2.msapiro.net" target="_blank">mark@ms2.msapiro.net</a>> proto=SMTP helo=<<a href="http://msapiro.net" rel="noreferrer" target="_blank">msapiro.net</a>><br>
> Oct 12 18:16:23 msapiro postfix/smtpd[26916]: disconnect from <a href="http://msapiro-enet.attlocal.net" rel="noreferrer" target="_blank">msapiro-enet.attlocal.net</a>[10.211.115.100] helo=1 mail=1 rcpt=2 data=1 quit=1 commands=6<br>
> Oct 12 18:16:28 msapiro MailScanner[2489]: New Batch: Scanning 1 messages, 1123 bytes<br>
> Oct 12 18:16:28 msapiro MailScanner[2489]: Virus and Content Scanning: Starting<br>
> Oct 12 18:16:30 msapiro MailScanner[2489]: Requeue: ED750235E9.AA31F to 2207A34012D<br>
> Oct 12 18:16:30 msapiro postfix/smtpd[26916]: connect from localhost[127.0.0.1]<br>
> Oct 12 18:16:30 msapiro postfix/smtpd[26916]: 63BC1340122: client=localhost[127.0.0.1]<br>
> Oct 12 18:16:30 msapiro postfix/cleanup[26921]: 63BC1340122: message-id=<<a href="mailto:20181013011623.7002C340121@msapiro.net" target="_blank">20181013011623.7002C340121@msapiro.net</a>><br>
> Oct 12 18:16:30 msapiro postfix/qmgr[2472]: 63BC1340122: from=<<a href="mailto:mark@msapiro.net" target="_blank">mark@msapiro.net</a>>, size=1635, nrcpt=1 (queue active)<br>
> Oct 12 18:16:30 msapiro postfix/smtpd[26916]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 commands=4<br>
> Oct 12 18:16:30 msapiro MailScanner[2489]: Uninfected: Delivered 1 messages<br>
> Oct 12 18:16:30 msapiro postfix/local[26969]: 63BC1340122: to=<<a href="mailto:mark@msapiro.net" target="_blank">mark@msapiro.net</a>>, relay=local, delay=0.13, delays=0.08/0.01/0/0.04, dsn=2.0.0, status=sent (delivered to mailbox)<br>
> Oct 12 18:16:30 msapiro postfix/qmgr[2472]: 63BC1340122: removed<br>
> Oct 12 18:16:30 msapiro MailScanner[2489]: Deleted 1 messages from processing-database<br>
<br>
You will see this entry on the incoming message<br>
<br>
> Oct 12 18:16:23 msapiro postfix/smtpd[26916]: disconnect from <a href="http://msapiro-enet.attlocal.net" rel="noreferrer" target="_blank">msapiro-enet.attlocal.net</a>[10.211.115.100] helo=1 mail=1 rcpt=2 data=1 quit=1 commands=6<br>
<br>
has two rcpt commands, but this<br>
<br>
> Oct 12 18:16:30 msapiro postfix/smtpd[26916]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 commands=4<br>
<br>
has only one. The original two rcpts were <a href="mailto:mark@msapiro.net" target="_blank">mark@msapiro.net</a> (local) and<br>
<a href="mailto:mark@ms2.msapiro.net" target="_blank">mark@ms2.msapiro.net</a> (remote) and apparently when the milter reinjected<br>
the scanned message the only rcpt was <a href="mailto:mark@msapiro.net" target="_blank">mark@msapiro.net</a>.<br>
<br>
I did another test where both rcpts were local, <a href="mailto:mark@msapiro.net" target="_blank">mark@msapiro.net</a> and<br>
<a href="mailto:root@msapiro.net" target="_blank">root@msapiro.net</a> with the same result.<br>
<br>
I did a third and fourth test where I reversed the order of the rcpt<br>
commands in the initial submission and the result is the ultimate<br>
delivery is only to the first rcpt in the initial submission whether or<br>
not that recipient is local or remote.<br>
<br>
-- <br>
Mark Sapiro <<a href="mailto:mark@msapiro.net" target="_blank">mark@msapiro.net</a>> The highway is for gamblers,<br>
San Francisco Bay Area, California better use your sense - B. Dylan<br>
<br>
<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" rel="noreferrer" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Shawn Iverson, CETL<div>Director of Technology</div><div>Rush County Schools</div><div>765-932-3901 option 7</div><div><a href="mailto:iversons@rushville.k12.in.us" target="_blank">iversons@rushville.k12.in.us</a></div><div><br></div><div><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_cy1OZFNIZ0drYVU&revid=0Bw5iD0ToYvs_UitIcHVIWkJVVTl2VGpxVUE0d0FQcHBIRXk4PQ" width="96" height="96" style="font-size:12.8px"><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_Zkh4eEs3R01yWXc&revid=0Bw5iD0ToYvs_QWpBK2Y2ajJtYjhOMDRFekZwK2xOamk5Q3Y0PQ" width="89" height="96"></div><div><img src="https://docs.google.com/uc?export=download&id=1aBrlQou4gjB04FY-twHN_0Dn3GHVNxqa&revid=0Bw5iD0ToYvs_RnQ0eDhHcm95WHBFdkNRbXhQRXpoYkR6SEEwPQ" style="font-size:12.8px"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>