Community Discussions and Support
Issues getting log files to appear

... and you DON'T need a telnet SERVER!

You can use the telnet CLIENT to test a (unencrypted) connection to smtp, pop or imap servers.

<p>... and you DON'T need a telnet SERVER!</p><p>You can use the telnet CLIENT to test a (unencrypted) connection to smtp, pop or imap servers. </p>

Hello Everyone, 

      signed up to hopefully get this mail problem figured out after much googling and searching for a solution wit no luck. 

 

I can not get a detailed log file to appear to use for debugging.   I have a filepath specified in mercuryC and mercuryS for log files.  and it writes something there, but very generic and is not useful.

 mercury C log:

E 20130425 133406 1200 Error connecting to mail.mysite.com.

 

mercury System log:

O 20130425 1325 MG000001 postmaster@localhost           myemail@gmail.com        232 

 

I am having issues sending emails from my local machine using xampp and mercury to external sources like gmail.   Mercury core process window says that it created it and has the address to send to and says ok, but has each email listed as pending.   the mercury SMTP client(relay version) window says error FF service queue job for each email i try to send.

 

I need a detailed session log file so i can debug but mercury does not seem to be making one.  I believe I have ti specified to do so but i guess not.

 

where do i go to create a detailed log file and what should i put for the settings?  this is my first time using mercury... thank you! 

<p>Hello Everyone, </p><p>      signed up to hopefully get this mail problem figured out after much googling and searching for a solution wit no luck.<span style="font-size: 10pt;"> </span></p><p> </p><p>I can not get a detailed log file to appear to use for debugging.   I have a filepath specified in mercuryC and mercuryS for log files.  and it writes something there, but very generic and is not useful.</p><p> mercury C log:</p><p>E 20130425 133406 1200 Error connecting to mail.mysite.com.</p><p> </p><p><span style="font-size: 10pt;">mercury System log:</span></p><p>O 20130425 1325 MG000001 postmaster@localhost           myemail@gmail.com        232<span style="font-size: 10pt;"> </span></p><p> </p><p>I am having issues sending emails from my local machine using xampp and mercury to external sources like gmail.   Mercury core process window says that it created it and has the address to send to and says ok, but has each email listed as pending.   the mercury SMTP client(relay version) window says error FF service queue job for each email i try to send.</p><p> </p><p>I need a detailed session log file so i can debug but mercury does not seem to be making one.  I believe I have ti specified to do so but i guess not.</p><p> </p><p>where do i go to create a detailed log file and what should i put for the settings?  this is my first time using mercury... thank you! </p>

To activate session logging for MercuryC open the configuration dialog for that module and fill in the full path to the directory where you want log files to be created (for instance C:\MERCURY\Sessions\MercuryC). Then check "Enable" and click OK to save changes. Remember to deactivate when you don't need it any more.

To get more details in the general MercuryC log check "Verbose". To get more details for MercuryS check "Display session progress and debugging information" in the configuration dialog for that module.

/Rolf 

<p>To activate session logging for MercuryC open the configuration dialog for that module and fill in the full path to the directory where you want log files to be created (for instance C:\MERCURY\Sessions\MercuryC). Then check "Enable" and click OK to save changes. Remember to deactivate when you don't need it any more.</p><p>To get more details in the general MercuryC log check "Verbose". To get more details for MercuryS check "Display session progress and debugging information" in the configuration dialog for that module.</p><p>/Rolf </p>

ok thanks for the reply, i had all that stuff set and for mercury c all i get is a single line that says:

E 20130427 163333 220 Error connecting to mail.deafboyzaudio.com.

 

Although I do get a bunch of files appear that are labeled like TCP0005.mc  but i cant open them as i dont know what to open them with.  are these the detailed session log files?  how do i view them? 

<p>ok thanks for the reply, i had all that stuff set and for mercury c all i get is a single line that says:</p><p>E 20130427 163333 220 Error connecting to mail.deafboyzaudio.com.</p><p> </p><p>Although I do get a bunch of files appear that are labeled like TCP0005.mc  but i cant open them as i dont know what to open them with.  are these the detailed session log files?  how do i view them? </p>

[quote user="deafboyzaudio"]Although I do get a bunch of files appear that are labeled like TCP0005.mc  but i cant open them as i dont know what to open them with.  are these the detailed session log files?  how do i view them? [/quote]

Yes.

With a text editor - notepad or such.

<p>[quote user="deafboyzaudio"]Although I do get a bunch of files appear that are labeled like TCP0005.mc  but i cant open them as i dont know what to open them with.  are these the detailed session log files?  how do i view them? [/quote]</p><p>Yes.</p><p>With a text editor - notepad or such. </p>

ok that makes a lot of sense, I was looking for some way to view them with mercury, haha.

 

here is what the mercury c error log says: 

18:06:30.326: --- Mon Apr 29 18:06:30 2013 ---

18:06:30.326: Connect to 'mail.deafboysaudio.com', timeout 30.

18:06:51.339: 15: Peer connect failure

 DId some research but cant see to get this working, any ideas where to start?

<p>ok that makes a lot of sense, I was looking for some way to view them with mercury, haha.</p><p> </p><p>here is what the mercury c error log says: </p><p>18:06:30.326: --- Mon Apr 29 18:06:30 2013 ---</p><p>18:06:30.326: Connect to 'mail.deafboysaudio.com', timeout 30.</p><p>18:06:51.339: 15: Peer connect failure</p><p> DId some research but cant see to get this working, any ideas where to start?</p>

[quote user="deafboyzaudio"]18:06:30.326: Connect to 'mail.deafboysaudio.com', timeout 30.

18:06:51.339: 15: Peer connect failure[/quote]

Firstly, increase your timeout a lot - 300 or so seconds should help if it is simply a busy server.

Double check any auth or encryption settings required by your smarthost.

Otherwise, that is usually a network level problem. Can you connect to the smarthost with telnet on port 25?

It could be either a 'connection refused' (by a firewall or such, an SMTP reject would be logged) or some other type of network issue.

Thomas R Stephenson was fond of packet fragmentation as a cause of that error and has a number of posts here dealing with solving it - have a search.

[quote user="deafboyzaudio"]18:06:30.326: Connect to 'mail.deafboysaudio.com', timeout 30.<p>18:06:51.339: 15: Peer connect failure[/quote]</p><p>Firstly, increase your timeout a lot - 300 or so seconds should help if it is simply a busy server.</p><p>Double check any auth or encryption settings required by your smarthost. </p><p>Otherwise, that is usually a network level problem. Can you connect to the smarthost with telnet on port 25?</p><p>It could be either a 'connection refused' (by a firewall or such, an SMTP reject would be logged) or some other type of network issue.</p><p>Thomas R Stephenson was fond of packet fragmentation as a cause of that error and has a number of posts here dealing with solving it - have a search. </p>

Wait ...

[quote]Connect to 'mail.deafboysaudio.com',[/quote]

That doesn't resolve ... and doesn't sound like a smarthost ...

Is that supposed to be YOUR server?

You do realise that MercC is the module to relay your outbound mail via an SMTP smarthost (like your ISP's)?

<p>Wait ...</p><p>[quote]Connect to 'mail.deafboysaudio.com',[/quote]</p><p>That doesn't resolve ... and doesn't sound like a smarthost ... </p><p>Is that supposed to be YOUR server?</p><p>You do realise that MercC is the module to relay your outbound mail via an SMTP smarthost (like your ISP's)? </p>

[quote user="dilberts_left_nut"][quote user="deafboyzaudio"]18:06:30.326: Connect to 'mail.deafboysaudio.com', timeout 30.

18:06:51.339: 15: Peer connect failure[/quote]

Firstly, increase your timeout a lot - 300 or so seconds should help if it is simply a busy server.

Double check any auth or encryption settings required by your smarthost.

Otherwise, that is usually a network level problem. Can you connect to the smarthost with telnet on port 25?

It could be either a 'connection refused' (by a firewall or such, an SMTP reject would be logged) or some other type of network issue.

Thomas R Stephenson was fond of packet fragmentation as a cause of that error and has a number of posts here dealing with solving it - have a search.

[/quote]

 

got the timeout increased and I am trying to get telnet enabled in vista to check if 25 can be accesed, but that is proving very troublesome so it might be a bit.  grrr....  my head hurts.  The email settings in mercury get pretty advanced, im sure they are second nature to you guys but for a novice, its like a foreign language.  Im workin on it, ha

 

also mail.deafboysaudio.com is the mail server for a non secured connection to my web host.  I got it from the email config settings for the email address I am trying to route the emails through.  My host suggested that I try and do secure connection with port 465 and mail.icertified.net as smarthost.  But that result produced a error of: 

12:26:18.603: --- Tue Apr 30 12:26:18 2013 ---

12:26:18.603: Connect to 'mail.icertified.net', timeout 300.

12:26:18.603: 2: Bad address "mail.icertified.net"

 

I tried fiddling with the tls and ssl options a bit but they all produced the same results.  I will get telnet working and post my test results asap, in the meantime, any other ideas?  

 

thanks a lot for your help so far 

 

 

[quote user="dilberts_left_nut"][quote user="deafboyzaudio"]18:06:30.326: Connect to 'mail.deafboysaudio.com', timeout 30.<p>18:06:51.339: 15: Peer connect failure[/quote]</p><p>Firstly, increase your timeout a lot - 300 or so seconds should help if it is simply a busy server.</p><p>Double check any auth or encryption settings required by your smarthost. </p><p>Otherwise, that is usually a network level problem. Can you connect to the smarthost with telnet on port 25?</p><p>It could be either a 'connection refused' (by a firewall or such, an SMTP reject would be logged) or some other type of network issue.</p><p>Thomas R Stephenson was fond of packet fragmentation as a cause of that error and has a number of posts here dealing with solving it - have a search. </p><p>[/quote]</p><p> </p><p>got the timeout increased and I am trying to get telnet enabled in vista to check if 25 can be accesed, but that is proving very troublesome so it might be a bit.  grrr....  my head hurts.  The email settings in mercury get pretty advanced, im sure they are second nature to you guys but for a novice, its like a foreign language.  Im workin on it, ha</p><p> </p><p>also mail.deafboysaudio.com is the mail server for a non secured connection to my web host.  I got it from the email config settings for the email address I am trying to route the emails through.  My host suggested that I try and do secure connection with port 465 and mail.icertified.net as smarthost.  But that result produced a error of: </p><p>12:26:18.603: --- Tue Apr 30 12:26:18 2013 ---</p><p>12:26:18.603: Connect to 'mail.icertified.net', timeout 300.</p><p>12:26:18.603: 2: Bad address "mail.icertified.net"</p><p> </p><p>I tried fiddling with the tls and ssl options a bit but they all produced the same results.  I will get telnet working and post my test results asap, in the meantime, any other ideas?  </p><p> </p><p>thanks a lot for your help so far </p><p> </p><p> </p>

OK i got it to work!!!

installed telnet, for anyone like me that has never heard of telnet here is a tut on how to get it working, it can take up to an hour to activate, even without showing any progress at all for a long time.,  it allows you to test if ports are open for you to use with your mail program and is helpful in troubleshooting

  1. Click Start.
  2. Click  Control Panel.
  3. Now, go to Programs or Programs and Features.
  4. Click Turn Windows features on or off.
  5. In the Windows Features dialog box, tick Telnet server check box, wait to activate, can take up to an hour even though no progress shows.
  6. then restart when prompted and then tick telnet client, this can take just as long to activate as well.
  7. Click OK.
to use telnet you must activate it first, 
  1. Open the Services MMC snap-in. Click Start, and then type services.msc in the Start Search box.

  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.

  3. Right-click Telnet, and then click Properties.

  4. In the Startup type list, select one of the following:

    • Automatic (Delayed Start) to start Telnet Server after Windows starts and all boot processes have finished

    • Automatic to start Telnet Server when Windows starts

    • Manual to allow Telnet Server to be started and stopped when needed

    • Disabled to prevent Telnet Server from running

  5. To start or stop the service, on the Telnet Properties dialog box, click Start or Stop. You can also start or stop the service on the main Services page by selecting Telnet in the list, and then using the start (triangle) and stop (square) icon buttons on the toolbar at the top of the page.

 
 
then to test if a port is open using telnet, follow this tut.
 
 
I hope that saves some newbs some time.  without a prior knowledge of that stuff its like a foreign language.
 
And to fix my issue I had to go to configuration,  mercuryC smtp, then under smart host name, I  used the IP address for my web host account.  DONT use the mail.webhost.whatever address that they may give you in the settings.  I had to call my host to get the ip address but after telnet would not connect to the mail.icertified.net, and after seeing ppl use IP addresses, i knew that might be the problem.
 
port 465, ssl connect using direct connect, login username and password that your host provides for the email account you want to route through and your done.
 
Thanks for the help everyone, between that and a lot of googling, i was able to get it working,  thank you! 
 
<p>OK i got it to work!!!</p><p>installed telnet, for anyone like me that has never heard of telnet here is a tut on how to get it working, it can take up to an hour to activate, even without showing any progress at all for a long time.,  it allows you to test if ports are open for you to use with your mail program and is helpful in troubleshooting</p><ol style="margin: 5px 0px 15px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 18px;"><li>Click <b>Start.</b></li><li>Click  <b>Control Panel.</b></li><li>Now, go to <b>Programs</b> or <b>Programs and Features</b>.</li><li>Click <b>Turn Windows features on or off</b>.</li><li>In the Windows Features dialog box, tick <b>Telnet server</b> check box, wait to activate, can take up to an hour even though no progress shows.</li><li>then restart when prompted and then tick telnet client, this can take just as long to activate as well.</li><li>Click <b>OK.</b></li></ol><div><font face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size: 11px; line-height: 18px;"><b>to use telnet you must activate it first, </b></span></font></div><ol class="ordered" style="color: rgb(42, 42, 42); font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 17px;"><li><p style="margin-top: 0px; margin-bottom: 0px; padding-bottom: 15px; line-height: 18px;">Open the <b>Services</b> MMC snap-in. Click <b>Start</b>, and then type <b>services.msc</b> in the <b>Start Search</b> box.</p></li><li><p style="margin-top: 0px; margin-bottom: 0px; padding-bottom: 15px; line-height: 18px;">If the <b>User Account Control</b> dialog box appears, confirm that the action it displays is what you want, and then click <b>Continue</b>.</p></li><li><p style="margin-top: 0px; margin-bottom: 0px; padding-bottom: 15px; line-height: 18px;">Right-click <b>Telnet</b>, and then click <b>Properties</b>.</p></li><li><p style="margin-top: 0px; margin-bottom: 0px; padding-bottom: 15px; line-height: 18px;">In the <b>Startup type</b> list, select one of the following:</p><ul><li class="unordered" style="list-style-image: none;"><b>Automatic (Delayed Start)</b> to start Telnet Server after Windows starts and all boot processes have finished </li><li class="unordered" style="list-style-image: none;"><b>Automatic</b> to start Telnet Server when Windows starts </li><li class="unordered" style="list-style-image: none;"><b>Manual</b> to allow Telnet Server to be started and stopped when needed </li><li class="unordered" style="list-style-image: none;"><b>Disabled</b> to prevent Telnet Server from running </li></ul></li><li><p style="margin-top: 0px; margin-bottom: 0px; padding-bottom: 15px; line-height: 18px;">To start or stop the service, on the <b>Telnet Properties</b> dialog box, click <b>Start</b> or <b>Stop</b>. You can also start or stop the service on the main <b>Services</b> page by selecting <b>Telnet</b> in the list, and then using the start (triangle) and stop (square) icon buttons on the toolbar at the top of the page.</p></li></ol><div> </div><div> </div><div>then to test if a port is open using telnet, follow this tut.</div><div> </div><div><a style="font-size: 10pt;" mce_href="http://kb.acronis.com/content/7503" href="http://kb.acronis.com/content/7503">http://kb.acronis.com/content/7503</a></div><div> </div><div>I hope that saves some newbs some time.  without a prior knowledge of that stuff its like a foreign language.</div><div> </div><div>And to fix my issue I had to go to configuration,  mercuryC smtp, then under smart host name, I  used the IP address for my web host account.  DONT use the mail.webhost.whatever address that they may give you in the settings.  I had to call my host to get the ip address but after telnet would not connect to the mail.icertified.net, and after seeing ppl use IP addresses, i knew that might be the problem.</div><div> </div><div>port 465, ssl connect using direct connect, login username and password that your host provides for the email account you want to route through and your done.</div><div> </div><div>Thanks for the help everyone, between that and a lot of googling, i was able to get it working,  thank you! </div><div> </div>

[quote user="deafboyzaudio"]

And to fix my issue I had to go to configuration,  mercuryC smtp, then under smart host name, I  used the IP address for my web host account.  DONT use the mail.webhost.whatever address that they may give you in the settings.  I had to call my host to get the ip address but after telnet would not connect to the mail.icertified.net, and after seeing ppl use IP addresses, i knew that might be the problem.[/quote]

 

This is only because the server names you were given were incorrect.  Neither name resolves (although if you remove the "mail." part they do). It is normally not necessary to use IP addresses in these settings.

 

I'm glad you sorted out the problem anyway.
[quote user="deafboyzaudio"] <DIV>And to fix my issue I had to go to configuration,  mercuryC smtp, then under smart host name, I  used the IP address for my web host account.  DONT use the mail.webhost.whatever address that they may give you in the settings.  I had to call my host to get the ip address but after telnet would not connect to the mail.icertified.net, and after seeing ppl use IP addresses, i knew that might be the problem.[/quote]</DIV> <DIV> </DIV> <DIV>This is only because the server names you were given were incorrect.  Neither name resolves (although if you remove the "mail." part they do). It is normally not necessary to use IP addresses in these settings.</DIV> <DIV> </DIV> <DIV>I'm glad you sorted out the problem anyway.</DIV>
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