On 31 Oct 2009 at 8:16, Pegasus Mail & Mercury - Automated Email wrote:
> I'm trying to configure my Gmail account to send e-mails through my Mercury server and get rid of that pesky "on behalf of" message but
> it's not working for some reason. I know that Gmail requires you to have an SSL certificate in order to connect to your mail server so I
> have created a server certificate and saved it as a "txt" file, and then I instructed both MercuryS and MercuryP to use that certificate.
> However, when I try to connect from Gmail to my SMTP server I always get this error message which makes me think that there is something
> wrong with the certificate which I have made earlier.
>
> "We are having trouble authenticating with your other mail service.
> Please try changing your SSL setting. If you continue to experience
> difficulties, please contact your other email provider for further
> instructions."
> I tried changing the extension of my certificate to "p12" and "pfx" but that didn't work neither. I also checked the properties of the
> certificate and the common name matches the name of my mail server, so I'm really stumped about this.
I use c:\mercury\cert.txt as the certificate.
>
> Here is what my MercuryS log file says:
>
> 15:57:21.484: Connection from 209.85.160.47, Wed Oct 28 15:57:21 2009<lf>
> 15:57:21.484: << 220 abdullatif.webhop.org ESMTP server ready.<cr><lf>
> 15:57:21.593: >> EHLO mail-pw0-f47.google.com<cr><lf>
> 15:57:21.593: << 250-abdullatif.webhop.org Hello mail-pw0-f47.google.com; ESMTPs are:<cr><lf>250-TIME<cr><lf>
> 15:57:21.609: << 250-SIZE 0<cr><lf>
> 15:57:21.609: << 250-STARTTLS<cr><lf>
> 15:57:21.609: << 250 HELP<cr><lf>
> 15:57:22.859: >> STARTTLS<cr><lf>
> 15:57:22.859: << 220 OK, begin SSL/TLS negotiation now.<cr><lf>
> 15:57:22.125: > > SSL/TLS session established: 3DES, CBC mode, keysize 192 bits
And it appear to work here. You should be using Mercury/32 ESMTP AUTH here and you should also enter the ESMTP AUTH username and password at the GMail account.
> 15:57:22.234: >> EHLO mail-pw0-f47.google.com<cr><lf>
> 15:57:22.234: << 250-abdullatif.webhop.org Hello mail-pw0-f47.google.com; ESMTPs are:<cr><lf>250-TIME<cr><lf>
> 15:57:22.234: << 250 HELP<cr><lf>
> 15:57:22.359: >> QUIT<cr><lf>
GMail made a good connection and quit.
> 15:57:22.359: << 221 abdullatif.webhop.org Service closing channel.<cr><lf>
> 15:57:22.359: 24: SSL flush error -24 (locus 0, type 0, code 0, 'No data was read because the remote system closed the connec')
GMail did not clear the STARTTLS connection before quitting and breaking the connection but this is benign.
> 15:57:22.359: --- Connection closed normally at Wed Oct 28 15:57:22 2009. ---
>
> Please help. Any input would be appreciated.
What can I say, the connection was made and verified by GMail. Here's my session log from a good connection with GMail using my server. The ESMTP AUTH data has been munged.
20:58:21.859: Connection from 209.85.217.209, Sun Oct 18 20:58:21 2009<lf>
20:58:21.859: << 220 tstephenson.com ESMTP server ready.<cr><lf>
20:58:21.968: >> EHLO mail-gx0-f209.google.com<cr><lf>
20:58:21.968: << 250-tstephenson.com Hello mail-gx0-f209.google.com; ESMTPs are:<cr><lf>250-TIME<cr><lf>
20:58:21.968: << 250-SIZE 0<cr><lf>
20:58:21.968: << 250-AUTH CRAM-MD5 LOGIN<cr><lf>
20:58:21.968: << 250-AUTH=LOGIN<cr><lf>
20:58:21.968: << 250-STARTTLS<cr><lf>
20:58:21.968: << 250 HELP<cr><lf>
20:58:22.203: >> STARTTLS<cr><lf>
20:58:22.203: << 220 OK, begin SSL/TLS negotiation now.<cr><lf>
20:58:22.468: [*] SSL/TLS session established: 3DES, CBC mode, keysize 192 bits
20:58:22.578: >> EHLO mail-gx0-f209.google.com<cr><lf>
20:58:22.578: << 250-tstephenson.com Hello mail-gx0-f209.google.com; ESMTPs are:<cr><lf>250-TIME<cr><lf>
20:58:22.578: << 250-AUTH CRAM-MD5 LOGIN<cr><lf>
20:58:22.578: << 250-AUTH=LOGIN<cr><lf>
20:58:22.578: << 250 HELP<cr><lf>
20:58:22.703: >> AUTH LOGIN<cr><lf>
20:58:22.703: << 334 VXNlcm5hbWU6<cr><lf>
20:58:22.812: >> dXdNlacjUm1Mw==<cr><lf>
20:58:22.812: << 334 UGFdzc3dvcmQ6<cr><lf>
20:58:22.906: >> caGFzczmE4ODM=<cr><lf>
20:58:22.906: << 235 Authentication successful.<cr><lf>
20:58:22.031: >> MAIL FROM:<thomas@tstephenson.com><cr><lf>
20:58:22.031: << 250 Sender OK - send RCPTs.<cr><lf>
20:58:23.140: >> RCPT TO:<techsupp@tstephenson.com><cr><lf>
20:58:23.140: << 250 Recipient OK - send RCPT or DATA.<cr><lf>
20:58:23.234: >> DATA<cr><lf>
20:58:23.234: << 354 OK, send data, end with CRLF.CRLF<cr><lf>
20:58:23.343: >> Received: by gxk1 with SMTP id 1so3738065gxk.19<cr><lf>
20:58:23.343: >> for <techsupp@tstephenson.com>; Sun, 18 Oct 2009 20:58:21 -0700 (PDT)<cr><lf>
20:58:23.343: >> MIME-Version: 1.0<cr><lf>
20:58:23.343: >> Received: by 10.90.149.6 with SMTP id w6mr4122048agd.90.1255924701429; Sun, 18 <cr><lf>
20:58:23.343: >> Oct 2009 20:58:21 -0700 (PDT)<cr><lf>
20:58:23.343: >> Date: Sun, 18 Oct 2009 20:58:21 -0700<cr><lf>
20:58:23.343: >> Message-ID: <f445a11d0910182058wced690fl84fa553e5fcca1dc@mail.gmail.com><cr><lf>
20:58:23.343: >> Subject: Test Message<cr><lf>
20:58:23.359: >> From: Thomas Stephenson <thomas@tstephenson.com><cr><lf>
20:58:23.359: >> To: techsupp@tstephenson.com<cr><lf>
20:58:23.359: >> Content-Type: multipart/alternative; boundary=00163630f0d3b18170047641c14c<cr><lf>
20:58:23.359: >> <cr><lf>
20:58:23.359: >> --00163630f0d3b18170047641c14c<cr><lf>
20:58:23.359: >> Content-Type: text/plain; charset=ISO-8859-1<cr><lf>
20:58:23.359: >> <cr><lf>
20:58:23.359: >> This is a test using tstephenson.com SMTP host from GMail.<cr><lf>
20:58:23.359: >> <cr><lf>
20:58:23.359: >> --00163630f0d3b18170047641c14c<cr><lf>
20:58:23.359: >> Content-Type: text/html; charset=ISO-8859-1<cr><lf>
20:58:23.359: >> <cr><lf>
20:58:23.359: >> This is a test using <a href="http://tstephenson.com">tstephenson.com</a> SMTP host from GMail.<br><br><cr><lf>
20:58:23.359: >> <cr><lf>
20:58:23.359: >> --00163630f0d3b18170047641c14c--<cr><lf>
20:58:23.359: >> .<cr><lf>
20:58:23.359: << 250 Data received OK.<cr><lf>
20:58:23.453: >> QUIT<cr><lf>
20:58:23.453: << 221 tstephenson.com Service closing channel.<cr><lf>
20:58:23.453: 24: SSL flush error -24 (locus 0, type 0, code 0, 'No data was read because the remote system closed the connec')
20:58:23.453: --- Connection closed normally at Sun Oct 18 20:58:23 2009. ---
20:58:23.453:
On 31 Oct 2009 at 8:16, Pegasus Mail &amp; Mercury - Automated Email wrote:
&gt; I'm trying to configure my Gmail account to send e-mails through my Mercury server and get rid of that pesky "on behalf of" message but
&gt; it's not working for some reason. I know that Gmail requires you to have an SSL certificate in order to connect to your mail server so I
&gt; have created a server certificate and saved it as a "txt" file, and then I instructed both MercuryS and MercuryP to use that certificate.
&gt; However, when&nbsp; I try to connect from Gmail to my SMTP server I always get this error message which makes me think that there is something
&gt; wrong with the certificate which I have made earlier.
&gt; &nbsp;
&gt; "We are having trouble authenticating with your other mail service.
&gt; Please try changing your SSL setting. If you continue to experience
&gt; difficulties, please contact your other email provider for further
&gt; instructions."
&gt; I tried changing the extension of my certificate to "p12" and "pfx" but that didn't work neither. I also checked the properties of the
&gt; certificate and the common name matches the name of my mail server, so I'm really stumped about this.
I use c:\mercury\cert.txt as the certificate.
&gt; &nbsp;
&gt; Here is what my MercuryS log file says:
&gt; &nbsp;
&gt; 15:57:21.484: Connection from 209.85.160.47, Wed Oct 28 15:57:21 2009&lt;lf&gt;
&gt; 15:57:21.484: &lt;&lt; 220 abdullatif.webhop.org ESMTP server ready.&lt;cr&gt;&lt;lf&gt;
&gt; 15:57:21.593: &gt;&gt; EHLO mail-pw0-f47.google.com&lt;cr&gt;&lt;lf&gt;
&gt; 15:57:21.593: &lt;&lt; 250-abdullatif.webhop.org Hello mail-pw0-f47.google.com; ESMTPs are:&lt;cr&gt;&lt;lf&gt;250-TIME&lt;cr&gt;&lt;lf&gt;
&gt; 15:57:21.609: &lt;&lt; 250-SIZE 0&lt;cr&gt;&lt;lf&gt;
&gt; 15:57:21.609: &lt;&lt; 250-STARTTLS&lt;cr&gt;&lt;lf&gt;
&gt; 15:57:21.609: &lt;&lt; 250 HELP&lt;cr&gt;&lt;lf&gt;
&gt; 15:57:22.859: &gt;&gt; STARTTLS&lt;cr&gt;&lt;lf&gt;
&gt; 15:57:22.859: &lt;&lt; 220 OK, begin SSL/TLS negotiation now.&lt;cr&gt;&lt;lf&gt;
&gt; 15:57:22.125: &gt; &gt; SSL/TLS session established: 3DES, CBC mode, keysize 192 bits
And it appear to work here.&nbsp; You should be using Mercury/32 ESMTP AUTH here and you should also enter the ESMTP AUTH username and password at the GMail account.
&gt; 15:57:22.234: &gt;&gt; EHLO mail-pw0-f47.google.com&lt;cr&gt;&lt;lf&gt;
&gt; 15:57:22.234: &lt;&lt; 250-abdullatif.webhop.org Hello mail-pw0-f47.google.com; ESMTPs are:&lt;cr&gt;&lt;lf&gt;250-TIME&lt;cr&gt;&lt;lf&gt;
&gt; 15:57:22.234: &lt;&lt; 250 HELP&lt;cr&gt;&lt;lf&gt;
&gt; 15:57:22.359: &gt;&gt; QUIT&lt;cr&gt;&lt;lf&gt;
GMail made a good connection and quit.
&gt; 15:57:22.359: &lt;&lt; 221 abdullatif.webhop.org Service closing channel.&lt;cr&gt;&lt;lf&gt;
&gt; 15:57:22.359: 24: SSL flush error -24 (locus 0, type 0, code 0, 'No data was read because the remote system closed the connec')
GMail did not clear the STARTTLS connection before quitting and breaking the connection but this is benign. &nbsp;
&gt; 15:57:22.359: --- Connection closed normally at Wed Oct 28 15:57:22 2009. ---
&gt; &nbsp;
&gt; Please help. Any input would be appreciated.
What can I say, the connection was made and verified by GMail.&nbsp; Here's my session log from a good connection with GMail using my server.&nbsp; The ESMTP AUTH data has been munged.
20:58:21.859: Connection from 209.85.217.209, Sun Oct 18 20:58:21 2009&lt;lf&gt;
20:58:21.859: &lt;&lt; 220 tstephenson.com ESMTP server ready.&lt;cr&gt;&lt;lf&gt;
20:58:21.968: &gt;&gt; EHLO mail-gx0-f209.google.com&lt;cr&gt;&lt;lf&gt;
20:58:21.968: &lt;&lt; 250-tstephenson.com Hello mail-gx0-f209.google.com; ESMTPs are:&lt;cr&gt;&lt;lf&gt;250-TIME&lt;cr&gt;&lt;lf&gt;
20:58:21.968: &lt;&lt; 250-SIZE 0&lt;cr&gt;&lt;lf&gt;
20:58:21.968: &lt;&lt; 250-AUTH CRAM-MD5 LOGIN&lt;cr&gt;&lt;lf&gt;
20:58:21.968: &lt;&lt; 250-AUTH=LOGIN&lt;cr&gt;&lt;lf&gt;
20:58:21.968: &lt;&lt; 250-STARTTLS&lt;cr&gt;&lt;lf&gt;
20:58:21.968: &lt;&lt; 250 HELP&lt;cr&gt;&lt;lf&gt;
20:58:22.203: &gt;&gt; STARTTLS&lt;cr&gt;&lt;lf&gt;
20:58:22.203: &lt;&lt; 220 OK, begin SSL/TLS negotiation now.&lt;cr&gt;&lt;lf&gt;
20:58:22.468: [*] SSL/TLS session established: 3DES, CBC mode, keysize 192 bits
20:58:22.578: &gt;&gt; EHLO mail-gx0-f209.google.com&lt;cr&gt;&lt;lf&gt;
20:58:22.578: &lt;&lt; 250-tstephenson.com Hello mail-gx0-f209.google.com; ESMTPs are:&lt;cr&gt;&lt;lf&gt;250-TIME&lt;cr&gt;&lt;lf&gt;
20:58:22.578: &lt;&lt; 250-AUTH CRAM-MD5 LOGIN&lt;cr&gt;&lt;lf&gt;
20:58:22.578: &lt;&lt; 250-AUTH=LOGIN&lt;cr&gt;&lt;lf&gt;
20:58:22.578: &lt;&lt; 250 HELP&lt;cr&gt;&lt;lf&gt;
20:58:22.703: &gt;&gt; AUTH LOGIN&lt;cr&gt;&lt;lf&gt;
20:58:22.703: &lt;&lt; 334 VXNlcm5hbWU6&lt;cr&gt;&lt;lf&gt;
20:58:22.812: &gt;&gt; dXdNlacjUm1Mw==&lt;cr&gt;&lt;lf&gt;
20:58:22.812: &lt;&lt; 334 UGFdzc3dvcmQ6&lt;cr&gt;&lt;lf&gt;
20:58:22.906: &gt;&gt; caGFzczmE4ODM=&lt;cr&gt;&lt;lf&gt;
20:58:22.906: &lt;&lt; 235 Authentication successful.&lt;cr&gt;&lt;lf&gt;
20:58:22.031: &gt;&gt; MAIL FROM:&lt;thomas@tstephenson.com&gt;&lt;cr&gt;&lt;lf&gt;
20:58:22.031: &lt;&lt; 250 Sender OK - send RCPTs.&lt;cr&gt;&lt;lf&gt;
20:58:23.140: &gt;&gt; RCPT TO:&lt;techsupp@tstephenson.com&gt;&lt;cr&gt;&lt;lf&gt;
20:58:23.140: &lt;&lt; 250 Recipient OK - send RCPT or DATA.&lt;cr&gt;&lt;lf&gt;
20:58:23.234: &gt;&gt; DATA&lt;cr&gt;&lt;lf&gt;
20:58:23.234: &lt;&lt; 354 OK, send data, end with CRLF.CRLF&lt;cr&gt;&lt;lf&gt;
20:58:23.343: &gt;&gt; Received: by gxk1 with SMTP id 1so3738065gxk.19&lt;cr&gt;&lt;lf&gt;
20:58:23.343: &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for &lt;techsupp@tstephenson.com&gt;; Sun, 18 Oct 2009 20:58:21 -0700 (PDT)&lt;cr&gt;&lt;lf&gt;
20:58:23.343: &gt;&gt; MIME-Version: 1.0&lt;cr&gt;&lt;lf&gt;
20:58:23.343: &gt;&gt; Received: by 10.90.149.6 with SMTP id w6mr4122048agd.90.1255924701429; Sun, 18 &lt;cr&gt;&lt;lf&gt;
20:58:23.343: &gt;&gt; &nbsp;&nbsp; &nbsp;Oct 2009 20:58:21 -0700 (PDT)&lt;cr&gt;&lt;lf&gt;
20:58:23.343: &gt;&gt; Date: Sun, 18 Oct 2009 20:58:21 -0700&lt;cr&gt;&lt;lf&gt;
20:58:23.343: &gt;&gt; Message-ID: &lt;f445a11d0910182058wced690fl84fa553e5fcca1dc@mail.gmail.com&gt;&lt;cr&gt;&lt;lf&gt;
20:58:23.343: &gt;&gt; Subject: Test Message&lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; From: Thomas Stephenson &lt;thomas@tstephenson.com&gt;&lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; To: techsupp@tstephenson.com&lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; Content-Type: multipart/alternative; boundary=00163630f0d3b18170047641c14c&lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; &lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; --00163630f0d3b18170047641c14c&lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; Content-Type: text/plain; charset=ISO-8859-1&lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; &lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; This is a test using tstephenson.com SMTP host from GMail.&lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; &lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; --00163630f0d3b18170047641c14c&lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; Content-Type: text/html; charset=ISO-8859-1&lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; &lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; This is a test using &lt;a href="http://tstephenson.com"&gt;tstephenson.com&lt;/a&gt; SMTP host from GMail.
&lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; &lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; --00163630f0d3b18170047641c14c--&lt;cr&gt;&lt;lf&gt;
20:58:23.359: &gt;&gt; .&lt;cr&gt;&lt;lf&gt;
20:58:23.359: &lt;&lt; 250 Data received OK.&lt;cr&gt;&lt;lf&gt;
20:58:23.453: &gt;&gt; QUIT&lt;cr&gt;&lt;lf&gt;
20:58:23.453: &lt;&lt; 221 tstephenson.com Service closing channel.&lt;cr&gt;&lt;lf&gt;
20:58:23.453: 24: SSL flush error -24 (locus 0, type 0, code 0, 'No data was read because the remote system closed the connec')
20:58:23.453: --- Connection closed normally at Sun Oct 18 20:58:23 2009. ---
20:58:23.453: