[quote user="jerry_gzy"]
hi, just find the log file and the contents as below
T 20080811 154511 48a05e47 Connection from 127.0.0.1
T 20080811 154511 48a05e47 HELO Gao
T 20080811 154511 48a05e47 MAIL FROM:<you@yourdomain.com>
T 20080811 154511 48a05e47 RCPT TO:<zheyu.gao@gmail.com>
E 20080811 154511 48a05e47 Relay attempt by 127.0.0.1: from <you@yourdomain.com> to <zheyu.gao@gmail.com>.
T 20080811 154511 48a05e47 QUIT
T 20080811 154511 48a05e47 Connection closed with 127.0.0.1, 0 sec. elapsed.
T 20080825 002256 48b1f43d Connection from 127.0.0.1
T 20080825 002256 48b1f43d Connection closed with 127.0.0.1, 0 sec. elapsed.
[/quote]
This is a relay attempt since neither the sender or the receiver is local. You need to use authentication here so you can relay off the server. You need first to go to the MercuryS setup, select the "Connection control" tab and select the first three options. You then need to create a AUTH password file with the username and password used by the sender. Now you need to setup the sending client that is supported by MercuryS.
David Harris has implemented ESMTP AUTH CRAM-MD5 for WinPMail, Mercury and Mercury/32. They do a SMTP authentication in accordance with RFCs 2554 and 2195. Mercury and Mercury/32 also do the LOGIN and the strange MS AUTH=LOGIN.
Now turn on session logging in MercuryS and you should see a session doing authentication similar to this.
20:31:10.703: Connection from 192.168.1.5, Sun Aug 24 20:31:10 2008<lf>
20:31:10.718: << 220 merwin-tstephenson.com ESMTP server ready.<cr><lf>
20:31:10.718: >> EHLO [192.168.1.5]<cr><lf>
20:31:10.750: << 250-merwin-tstephenson.com Hello [192.168.1.5]; ESMTPs are:<cr><lf>250-TIME<cr><lf>
20:31:10.750: << 250-SIZE 0<cr><lf>
20:31:10.765: << 250-AUTH CRAM-MD5 LOGIN<cr><lf>
20:31:10.765: << 250-AUTH=LOGIN<cr><lf>
20:31:10.781: << 250 HELP<cr><lf>
20:31:10.781: >> AUTH CRAM-MD5<cr><lf>
20:31:10.796: << 334 PDk2NTM2Mjc5Ni4zNDZAbWVyd2luLXRzdGVwaGVuc29uLmNvbT4=<cr><lf>
20:31:10.812: >> YXV0aCAzOTRiNGMxYjIxNTk3N2QxYmFhNzg2MDVkOWM5ZTNhZQ==<cr><lf>
20:31:10.812: << 235 Authentication successful.<cr><lf>
20:31:11.171: >> MAIL FROM:<support@tstephensons.com> SIZE=2534<cr><lf>
20:31:11.187: << 250 Sender and size (2534) OK - send RCPTs.<cr><lf>
20:31:11.203: >> RCPT TO:<support@tstephensons.com><cr><lf>
20:31:11.203: << 250 Recipient OK - send RCPT or DATA.<cr><lf>
20:31:11.218: >> DATA<cr><lf>
[quote user="jerry_gzy"]<p>hi, just find the log file and the contents as below</p>
<p>T 20080811 154511 48a05e47 Connection from 127.0.0.1
T 20080811 154511 48a05e47 HELO Gao
T 20080811 154511 48a05e47 MAIL FROM:&lt;<a href="mailto:you@yourdomain.com" mce_href="mailto:you@yourdomain.com">you@yourdomain.com</a>&gt;
T 20080811 154511 48a05e47 RCPT TO:&lt;<a href="mailto:zheyu.gao@gmail.com" mce_href="mailto:zheyu.gao@gmail.com">zheyu.gao@gmail.com</a>&gt;
E 20080811 154511 48a05e47 Relay attempt by 127.0.0.1: from &lt;<a href="mailto:you@yourdomain.com" mce_href="mailto:you@yourdomain.com">you@yourdomain.com</a>&gt; to &lt;<a href="mailto:zheyu.gao@gmail.com" mce_href="mailto:zheyu.gao@gmail.com">zheyu.gao@gmail.com</a>&gt;.
T 20080811 154511 48a05e47 QUIT
T 20080811 154511 48a05e47 Connection closed with 127.0.0.1, 0 sec. elapsed.
T 20080825 002256 48b1f43d Connection from 127.0.0.1
T 20080825 002256 48b1f43d Connection closed with 127.0.0.1, 0 sec. elapsed.
</p><p>[/quote]</p><p>&nbsp;</p><p>This is a relay attempt since neither the sender or the receiver is local.&nbsp; You need to use authentication here so you can relay off the server.&nbsp; You need first to go to the MercuryS setup, select the &nbsp; "Connection control" tab and select the first three options.&nbsp; You then need to create a AUTH password file with the username and password used by the sender.&nbsp; Now you need to setup the sending client that is supported by MercuryS. &nbsp; </p><p>David Harris has implemented ESMTP AUTH CRAM-MD5 for WinPMail, Mercury and Mercury/32.&nbsp; They do a SMTP authentication in accordance with RFCs 2554 and 2195.&nbsp; Mercury and Mercury/32 also do the LOGIN and the strange MS AUTH=LOGIN.</p><p>Now turn on session logging in MercuryS and you should see a session doing authentication similar to this.</p>20:31:10.703: Connection from 192.168.1.5, Sun Aug 24 20:31:10 2008&lt;lf&gt;
20:31:10.718: &lt;&lt; 220 merwin-tstephenson.com ESMTP server ready.&lt;cr&gt;&lt;lf&gt;
20:31:10.718: &gt;&gt; EHLO [192.168.1.5]&lt;cr&gt;&lt;lf&gt;
20:31:10.750: &lt;&lt; 250-merwin-tstephenson.com Hello [192.168.1.5]; ESMTPs are:&lt;cr&gt;&lt;lf&gt;250-TIME&lt;cr&gt;&lt;lf&gt;
20:31:10.750: &lt;&lt; 250-SIZE 0&lt;cr&gt;&lt;lf&gt;
20:31:10.765: &lt;&lt; 250-AUTH CRAM-MD5 LOGIN&lt;cr&gt;&lt;lf&gt;
20:31:10.765: &lt;&lt; 250-AUTH=LOGIN&lt;cr&gt;&lt;lf&gt;
20:31:10.781: &lt;&lt; 250 HELP&lt;cr&gt;&lt;lf&gt;
20:31:10.781: &gt;&gt; AUTH CRAM-MD5&lt;cr&gt;&lt;lf&gt;
20:31:10.796: &lt;&lt; 334 PDk2NTM2Mjc5Ni4zNDZAbWVyd2luLXRzdGVwaGVuc29uLmNvbT4=&lt;cr&gt;&lt;lf&gt;
20:31:10.812: &gt;&gt; YXV0aCAzOTRiNGMxYjIxNTk3N2QxYmFhNzg2MDVkOWM5ZTNhZQ==&lt;cr&gt;&lt;lf&gt;
20:31:10.812: &lt;&lt; 235 Authentication successful.&lt;cr&gt;&lt;lf&gt;
20:31:11.171: &gt;&gt; MAIL FROM:&lt;support@tstephensons.com&gt; SIZE=2534&lt;cr&gt;&lt;lf&gt;
20:31:11.187: &lt;&lt; 250 Sender and size (2534) OK - send RCPTs.&lt;cr&gt;&lt;lf&gt;
20:31:11.203: &gt;&gt; RCPT TO:&lt;support@tstephensons.com&gt;&lt;cr&gt;&lt;lf&gt;
20:31:11.203: &lt;&lt; 250 Recipient OK - send RCPT or DATA.&lt;cr&gt;&lt;lf&gt;
20:31:11.218: &gt;&gt; DATA&lt;cr&gt;&lt;lf&gt;