Community Discussions and Support
What is the best smart host to use with mercury?

Thanks everyone for your help it is working now :-)

Especially Mr Stephenson you are a legend - Thanks.

<p>Thanks everyone for your help it is working now :-)</p><p>Especially Mr Stephenson <b>you are a legend</b> - Thanks. </p>

Hi,  I have been fighting with the setup of mercury on my system for about 5 days with little joy.  I am using MercuryC with version 4.61.  I am trying to relay emails from my localhost through a GMail account, however I seem to be having difficulties here with authentication.  I have granted access for 127.0.0.1 through MercuryS and selected the checkbox for Authenticated Connections can relay messages.  I have created a password file with my account user<space>password entries and entered a path to this file in the Connection Control panel. Currently mail appears to be sending and I am receiving no errors from the server however the emails are not being sent.  Is Gmail unable to act as a suitable smart host?  Is there a better alternative?  I have my log files below and would appreciate any advise on what might be the problem here.  - Thanks.

 MercuryC Log:-

T 20090626 114613 14e8 Begin processing job MO0003CD from postmaster@[127.0.0.1]
E 20090626 114614 14e8 530 5.7.0 Must issue a STARTTLS command first. 30sm12509499wfd.23

MercuryS Log:-

T 20090626 110640 4a44a871 Connection from 127.0.0.1
T 20090626 110640 4a44a870 Connection closed with 127.0.0.1, 0 sec. elapsed.
T 20090626 110640 4a44a871 EHLO localhost
T 20090626 110640 4a44a871 AUTH CRAM-MD5
T 20090626 110640 4a44a871 MAIL FROM:<test@127.0.0.1>
T 20090626 110640 4a44a871 RCPT TO:<jmx@gmail.com>
T 20090626 110640 4a44a871 DATA
T 20090626 110641 4a44a871 DATA - 61 lines, 1591 bytes.
T 20090626 110641 4a44a871 QUIT
T 20090626 110641 4a44a871 Connection closed with 127.0.0.1, 1 sec. elapsed.

&lt;p&gt;Hi,&amp;nbsp; I have been fighting with the setup of mercury on my system for about 5 days with little joy.&amp;nbsp; I am using MercuryC with version 4.61.&amp;nbsp; I am trying to relay emails from my localhost through a GMail account, however I seem to be having difficulties here with authentication.&amp;nbsp; I have granted access for 127.0.0.1 through MercuryS and selected the checkbox for Authenticated Connections can relay messages.&amp;nbsp; I have created a password file with my account user&amp;lt;space&amp;gt;password entries and entered a path to this file in the Connection Control panel. Currently mail appears to be sending and I am receiving no errors from the server however the emails are not being sent.&amp;nbsp; Is Gmail unable to act as a suitable smart host?&amp;nbsp; Is there a better alternative?&amp;nbsp; I have my log files below and would appreciate any advise on what might be the problem here.&amp;nbsp; - Thanks.&lt;/p&gt;&lt;p&gt;&amp;nbsp;MercuryC Log:-&lt;/p&gt;&lt;p&gt;T 20090626 114613 14e8 Begin processing job MO0003CD from postmaster@[127.0.0.1] E 20090626 114614 14e8 530 5.7.0 Must issue a STARTTLS command first. 30sm12509499wfd.23&lt;/p&gt;&lt;p&gt;MercuryS Log:-&lt;/p&gt;&lt;p&gt;T 20090626 110640 4a44a871 Connection from 127.0.0.1 T 20090626 110640 4a44a870 Connection closed with 127.0.0.1, 0 sec. elapsed. T 20090626 110640 4a44a871 EHLO localhost T 20090626 110640 4a44a871 AUTH CRAM-MD5 T 20090626 110640 4a44a871 MAIL FROM:&amp;lt;test@127.0.0.1&amp;gt; T 20090626 110640 4a44a871 RCPT TO:&amp;lt;jmx@gmail.com&amp;gt; T 20090626 110640 4a44a871 DATA T 20090626 110641 4a44a871 DATA - 61 lines, 1591 bytes. T 20090626 110641 4a44a871 QUIT T 20090626 110641 4a44a871 Connection closed with 127.0.0.1, 1 sec. elapsed. &lt;/p&gt;

You get an error message from gmail:

E 20090626 114614 14e8 530 5.7.0 Must issue a STARTTLS command first. 30sm12509499wfd.23

 

Have a look at this thread for how to set it up:

http://community.pmail.com/forums/thread/4688.aspx 

/Rolf 

&lt;p&gt;You get an error message from gmail:&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma; &quot;&gt;E 20090626 114614 14e8 530 5.7.0 Must issue a STARTTLS command first. 30sm12509499wfd.23&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Have a look at this thread for how to set it up:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://community.pmail.com/forums/thread/4688.aspx&quot;&gt;http://community.pmail.com/forums/thread/4688.aspx&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;/Rolf&amp;nbsp;&lt;/p&gt;

Thanks Rolf,

Still not much joy however.

 Can anyone help me with the following:

How is this set? SSL/TLS: via STARTTLS

 

 

 

&lt;p&gt;Thanks Rolf,&lt;/p&gt;&lt;p&gt;Still not much joy however. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Can anyone help me with the following: &lt;/p&gt;&lt;p&gt;How is this set? SSL/TLS: via STARTTLS&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

How is this set? SSL/TLS: via STARTTLS

Configuration | MercuryC  and set the "Connection port/type" to SSL encryption via STARTTLS.   The port you are using is probably valid since it is only complaining about the use of STARTTLS.

From the help:

Connection port/type  This is the port on the smart host to which MercuryC should connect. The standard port defined for this is 25, but in some cases (most notably if you are behind a firewall) you may have to enter a different port number here. Consult your ISP or Network administrator to find out if you need to alter the setting of this field. The "type" control allows you to enable the use of secure (encrypted) data transfers using an Internet standard called SSL. The default setting, Normal (no SSL encryption) tells MercuryC not to use SSL even if the smart host indicates that it is available. The second option, SSL encryption via STARTTLS command tells MercuryC to connect normally, but if the host indicates that SSL services are available, to issue the command that switches into secure mode. The last option, SSL encryption using direct connection, tells Mercury to assume that the smart host will expect SSL encryption to begin as soon as a connection is established. It is important to note that if you use the direct connection option, you will almost certainly have to specify a different TCP port as well (usually port 465). SSL via direct connection is heavily frowned upon these days - if your smart host requires you to use it, you should contact the administrator and suggest that they update to a more modern system.

&lt;blockquote&gt;How is this set? SSL/TLS: via STARTTLS&lt;/blockquote&gt;&lt;p&gt;Configuration | MercuryC&amp;nbsp; and set the &quot;Connection port/type&quot; to SSL encryption via STARTTLS.&amp;nbsp;&amp;nbsp; The port you are using is probably valid since it is only complaining about the use of STARTTLS. &lt;/p&gt;&lt;p&gt;From the help:&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;b&gt;Connection port/type&lt;/b&gt;&lt;/i&gt;&amp;nbsp; This is the port on the smart host to which MercuryC should connect. The standard port defined for this is 25, but in some cases (most notably if you are behind a firewall) you may have to enter a different port number here. Consult your ISP or Network administrator to find out if you need to alter the setting of this field. The &quot;type&quot; control allows you to enable the use of secure (encrypted) data transfers using an Internet standard called SSL. The default setting, Normal (no SSL encryption) tells MercuryC not to use SSL even if the smart host indicates that it is available. &lt;b&gt;The second option, SSL encryption via STARTTLS command tells MercuryC to connect normally, but if the host indicates that SSL services are available, to issue the command that switches into secure mode&lt;/b&gt;. The last option, SSL encryption using direct connection, tells Mercury to assume that the smart host will expect SSL encryption to begin as soon as a connection is established. It is important to note that if you use the direct connection option, you will almost certainly have to specify a different TCP port as well (usually port 465). SSL via direct connection is heavily frowned upon these days - if your smart host requires you to use it, you should contact the administrator and suggest that they update to a more modern system. &lt;/p&gt;
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft