Community Discussions and Support
FF error, need help

Hi all, I have install the Mercury Mail Transport System and now I am trying to send a mail thru PHP script. I need it to write my master.

But let's talk about the problem, now I am just trying to configure Mercury to send mail thru My ISP. I have entered correct Smart Host name in Mercury C SMTP client config but I get this message:

 

Error FF service queue job

 

And after I am looking into my log file i have :

 E 20090511 143407 1680 Error connecting to mail.toya.net.pl.

 

Can enybody help please ? :)

 

<p>Hi all, I have install the Mercury Mail Transport System and now I am trying to send a mail thru PHP script. I need it to write my master.</p><p>But let's talk about the problem, now I am just trying to configure Mercury to send mail thru My ISP. I have entered correct Smart Host name in Mercury C SMTP client config but I get this message:</p><p> </p><p>Error FF service queue job</p><p> </p><p>And after I am looking into my log file i have :</p><p> E 20090511 143407 1680 Error connecting to mail.toya.net.pl.</p><p> </p><p>Can enybody help please ? :) </p><p> </p>

I got also this error in log file

E 20090511 145328 16fc Error connecting to mail.toya.net.pl

 

Moreover I am getting some weird log file which is immposible to open directly , the name of this file is 09-05-11.loݨ and inside is :

E 20090511 164043 960 Error connecting to mail.toya.net.pl.

 

So I have two log files....., one is normal and second with weird ending, maybe the second file apears when I have push "poll now" button in Mercury SMTP client but I have no idea if it could cause this....

I am green in servers so please be esy-going :)

 --------------------------------------------------------------------------------------------------------------

I have turned on session login and I was trying to send mail thru gmail.

In Mercury C I got :

Error FF servicing queue job

Connection error during handshake with smtp.gmail.com

And in the session log I have

16:57:49.001: --- Mon May 11 16:57:49 2009 ---
16:57:49.017: Connect to 'smtp.gmail.com', timeout 30.
16:58:21.028: 8: Socket read timeout
16:58:21.028: --- Connection closed normally at Mon May 11 16:58:21 2009. ---
16:58:21.028: 

Eny ideas ?

BTW, I have repaired the error with the wierd logfile name but I still have problem with connection.....

<p>I got also this error in log file</p><p>E 20090511 145328 16fc Error connecting to mail.toya.net.pl </p><p> </p><p>Moreover I am getting some weird log file which is immposible to open directly , the name of this file is 09-05-11.loݨ and inside is :</p><p>E 20090511 164043 960 Error connecting to mail.toya.net.pl.</p><p> </p><p>So I have two log files....., one is normal and second with weird ending, maybe the second file apears when I have push "poll now" button in Mercury SMTP client but I have no idea if it could cause this....</p><p>I am green in servers so please be esy-going :) </p><p> --------------------------------------------------------------------------------------------------------------</p><p>I have turned on session login and I was trying to send mail thru gmail.</p><p>In Mercury C I got :</p><p>Error FF servicing queue job</p><p>Connection error during handshake with smtp.gmail.com</p><p>And in the session log I have</p><p>16:57:49.001: --- Mon May 11 16:57:49 2009 --- 16:57:49.017: Connect to 'smtp.gmail.com', timeout 30. 16:58:21.028: 8: Socket read timeout 16:58:21.028: --- Connection closed normally at Mon May 11 16:58:21 2009. --- 16:58:21.028:  </p><p>Eny ideas ?</p><p>BTW, I have repaired the error with the wierd logfile name but I still have problem with connection..... </p>

Error FF service queue job

And after I am looking into my log file i have :

 E 20090511 143407 1680 Error connecting to mail.toya.net.pl.

Means pretty much what it says, MercuryC was not able to make a TCP/IP connection to the host.   Since I can connect to port 25 of mail.toya.net.pl and get a normal SMTP host answer I suspect that there is something blocking the MercuryC access to the outside world.  Firewall?  Port 25 blocking?  Other?

 

<blockquote><p>Error FF service queue job</p><p>And after I am looking into my log file i have :</p><p> E 20090511 143407 1680 Error connecting to mail.toya.net.pl.</p></blockquote><p>Means pretty much what it says, MercuryC was not able to make a TCP/IP connection to the host.   Since I can connect to port 25 of mail.toya.net.pl and get a normal SMTP host answer I suspect that there is something blocking the MercuryC access to the outside world.  Firewall?  Port 25 blocking?  Other?</p><p> </p>

I don't think so, cause I made the connection with the smtp.gmail.com only with putting correct port so the Mercury is working correctly. So for sure it is not firewall....maybe port 25 blocking cause gmail is working on another port number but I haven't change any windows setup about ports and I don't even know where to do that.....

 

Well I checked the ports on Vista by opening the cmd command prompt and the port 127.0.0.1:25 is set to LISTENING , Do I need also port 0.0.0.0:25 to be set to LISTENING ?

 I have also made an port exception in firewall by unblocking port 25 but the problem is still the same.......

In session log I am getting this

17:55:38.651: --- Mon May 11 17:55:38 2009 ---
17:55:38.651: Connect to 'mail.toya.net.pl', timeout 30.
17:55:59.680: 15: Peer connect failure

And in the log file this :

E 20090511 175559 960 Error connecting to mail.toya.net.pl.

-------------------------------------------------------------------------------------------------------

Now I have switched to the port 587 and I am getting this error in log

T 20090511 180753 960 Begin processing job MO001E33 from postmaster@localhost
E 20090511 180753 960 Bad AUTH LOGIN response from server 217.113.224.3

So it seems to be the authentication failure but I am putting correct login and password

In the session log I am getting this :

18:07:52.715: --- Mon May 11 18:07:52 2009 ---
18:07:52.715: Connect to 'mail.toya.net.pl', timeout 30.
18:07:53.714: >> 220 lazir.toya.net.pl TOYAnet ESMTP<cr><lf>
18:07:53.714: << EHLO localhost<cr><lf>
18:07:53.729: >> 250-lazir.toya.net.pl<cr><lf>
18:07:53.729: >> 250-PIPELINING<cr><lf>
18:07:53.729: >> 250-SIZE 419430400<cr><lf>
18:07:53.729: >> 250-ETRN<cr><lf>
18:07:53.729: >> 250-STARTTLS<cr><lf>
18:07:53.729: >> 250-AUTH LOGIN PLAIN<cr><lf>
18:07:53.729: >> 250-AUTH=LOGIN PLAIN<cr><lf>
18:07:53.729: >> 250-ENHANCEDSTATUSCODES<cr><lf>
18:07:53.729: >> 250-8BITMIME<cr><lf>
18:07:53.729: >> 250 DSN<cr><lf>
18:07:53.729: << AUTH LOGIN<cr><lf>
18:07:53.745: >> 334 VXNlcm5hbWU6<cr><lf>
18:07:53.745: << d2lsa3V1dQ==<cr><lf>
18:07:53.760: >> 334 UGFzc3dvcmQ6<cr><lf>
18:07:53.760: << ZHVwYWR1cGE=<cr><lf>
18:07:53.760: >> 535 5.7.0 Error: authentication failed: generic failure<cr><lf>
18:07:53.776: << QUIT<cr><lf>
18:07:53.792: >> 221 2.0.0 Bye<cr><lf>
18:07:53.792: --- Connection closed normally at Mon May 11 18:07:53 2009. ---
18:07:53.792: 

&lt;p&gt;I don&#039;t think so, cause I made the connection with the smtp.gmail.com only with putting correct port so the Mercury is working correctly. So for sure it is not firewall....maybe port 25 blocking cause gmail is working on another port number but I haven&#039;t change any windows setup about ports and I don&#039;t even know where to do that.....&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Well I checked the ports on Vista by opening the cmd command prompt and the port 127.0.0.1:25 is set to LISTENING , Do I need also port 0.0.0.0:25 to be set to LISTENING ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have also made an port exception in firewall by unblocking port 25 but the problem is still the same....... &lt;/p&gt;&lt;p&gt;In session log I am getting this&lt;/p&gt;&lt;p&gt;17:55:38.651: --- Mon May 11 17:55:38 2009 --- 17:55:38.651: Connect to &#039;mail.toya.net.pl&#039;, timeout 30. 17:55:59.680: 15: Peer connect failure &lt;/p&gt;&lt;p&gt;And in the log file this :&lt;/p&gt;&lt;p&gt;E 20090511 175559 960 Error connecting to mail.toya.net.pl. &lt;/p&gt;&lt;p&gt;-------------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;Now I have switched to the port 587 and I am getting this error in log&lt;/p&gt;&lt;p&gt;T 20090511 180753 960 Begin processing job MO001E33 from postmaster@localhost E 20090511 180753 960 Bad AUTH LOGIN response from server 217.113.224.3&lt;/p&gt;&lt;p&gt;So it seems to be the authentication failure but I am putting correct login and password&lt;/p&gt;&lt;p&gt;In the session log I am getting this :&lt;/p&gt;&lt;p&gt;18:07:52.715: --- Mon May 11 18:07:52 2009 --- 18:07:52.715: Connect to &#039;mail.toya.net.pl&#039;, timeout 30. 18:07:53.714: &amp;gt;&amp;gt; 220 lazir.toya.net.pl TOYAnet ESMTP&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.714: &amp;lt;&amp;lt; EHLO localhost&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.729: &amp;gt;&amp;gt; 250-lazir.toya.net.pl&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.729: &amp;gt;&amp;gt; 250-PIPELINING&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.729: &amp;gt;&amp;gt; 250-SIZE 419430400&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.729: &amp;gt;&amp;gt; 250-ETRN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.729: &amp;gt;&amp;gt; 250-STARTTLS&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.729: &amp;gt;&amp;gt; 250-AUTH LOGIN PLAIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.729: &amp;gt;&amp;gt; 250-AUTH=LOGIN PLAIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.729: &amp;gt;&amp;gt; 250-ENHANCEDSTATUSCODES&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.729: &amp;gt;&amp;gt; 250-8BITMIME&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.729: &amp;gt;&amp;gt; 250 DSN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.729: &amp;lt;&amp;lt; AUTH LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.745: &amp;gt;&amp;gt; 334 VXNlcm5hbWU6&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.745: &amp;lt;&amp;lt; d2lsa3V1dQ==&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.760: &amp;gt;&amp;gt; 334 UGFzc3dvcmQ6&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.760: &amp;lt;&amp;lt; ZHVwYWR1cGE=&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.760: &amp;gt;&amp;gt; 535 5.7.0 Error: authentication failed: generic failure&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.776: &amp;lt;&amp;lt; QUIT&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.792: &amp;gt;&amp;gt; 221 2.0.0 Bye&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:07:53.792: --- Connection closed normally at Mon May 11 18:07:53 2009. --- 18:07:53.792:&amp;nbsp; &lt;/p&gt;

[quote user="Wolfie"]

I don't think so cause I made the connection with the smtp.gmail.com only with putting correct port so the Mercury is working correctly. So for sure it is not firewall....maybe port 25 blocking cause gmail is working on another port number but I haven't change any windows setup about ports and I don't even know where to do that.....

According to this you could not make a connection to GMail

16:57:49.001: --- Mon May 11 16:57:49 2009 ---
16:57:49.017: Connect to 'smtp.gmail.com', timeout 30.
16:58:21.028: 8: Socket read timeout
16:58:21.028: --- Connection closed normally at Mon May 11 16:58:21 2009. ---
16:58:21.028:  

Well I checked the ports on Vista by opening the cmd command prompt and the port 127.0.0.1:25 is set to LISTENING , Do I need also port 0.0.0.0:25 to be set to LISTENING ?

You need to telnet outbound to the host on the correct port.  The GMail SMTP host port depends on what type of SSL you are using and in neither case is it port 25.

 (b) -SMTP STARTTLS -

  Server host name: smtp.gmail.com
  Server TCP/IP port: 587
  SSL/TLS: via STARTTLS
  SMTP Authentication: Login to the SMTP server using POP3 username/password

(c) - SMTP via SSL -

  Server host name: smtp.gmail.com
  Server TCP/IP port: 465
  SSL/TLS: via direct ssl connection
  SMTP Authentication: Login to the SMTP server using POP3 username/password[/quote]

&lt;blockquote&gt;[quote user=&quot;Wolfie&quot;]&lt;p&gt;I don&#039;t think so cause I made the connection with the smtp.gmail.com only with putting correct port so the Mercury is working correctly. So for sure it is not firewall....maybe port 25 blocking cause gmail is working on another port number but I haven&#039;t change any windows setup about ports and I don&#039;t even know where to do that.....&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;According to this you could not make a connection to GMail&lt;/p&gt;&lt;p&gt;16:57:49.001: --- Mon May 11 16:57:49 2009 --- 16:57:49.017: Connect to &#039;smtp.gmail.com&#039;, timeout 30. 16:58:21.028: 8: Socket read timeout 16:58:21.028: --- Connection closed normally at Mon May 11 16:58:21 2009. --- 16:58:21.028:&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Well I checked the ports on Vista by opening the cmd command prompt and the port 127.0.0.1:25 is set to LISTENING , Do I need also port 0.0.0.0:25 to be set to LISTENING ?&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;You need to telnet outbound to the host on the correct port.&amp;nbsp; The GMail SMTP host port depends on what type of SSL you are using and in neither case is it port 25. &lt;/p&gt;&lt;p&gt;&amp;nbsp;(b) -SMTP STARTTLS - &amp;nbsp; Server host name: smtp.gmail.com &amp;nbsp; Server TCP/IP port: 587 &amp;nbsp; SSL/TLS: via STARTTLS &amp;nbsp; SMTP Authentication: Login to the SMTP server using POP3 username/password (c) - SMTP via SSL - &amp;nbsp; Server host name: smtp.gmail.com &amp;nbsp; Server TCP/IP port: 465 &amp;nbsp; SSL/TLS: via direct ssl connection &amp;nbsp; SMTP Authentication: Login to the SMTP server using POP3 username/password[/quote]&lt;/p&gt;

Can you read my previous post and make the comment , I have edited it while u where replaying so new things appears. I will be apreciate......

 The connection with gmail is OK, now we are talking about the connection with mail.toya.net.pl and toya.net.pl is my ISP so I would like to use this server instead of gmail.....

 

So assuming I am trying to connect mail.toya.net.pl on port 25 and I am getting this message :

E 20090511 175559 960 Error connecting to mail.toya.net.pl.

with this session log error :

17:55:38.651: --- Mon May 11 17:55:38 2009 ---
17:55:38.651: Connect to 'mail.toya.net.pl', timeout 30.
17:55:59.680: 15: Peer connect failure

-----------------------------------------------------------------------------------------------

When I am switching connection with mail.toya.net.pl on port 578 I am getting this message :

 T 20090511 180753 960 Begin processing job MO001E33 from postmaster@localhost
E 20090511 180753 960 Bad AUTH LOGIN response from server 217.113.224.3

With this session log  :

18:18:15.002: --- Mon May 11 18:18:15 2009 ---
18:18:15.002: Connect to 'mail.toya.net.pl', timeout 30.
18:18:16.016: >> 220 lazir.toya.net.pl TOYAnet ESMTP<cr><lf>
18:18:16.016: << EHLO localhost<cr><lf>
18:18:16.016: >> 250-lazir.toya.net.pl<cr><lf>
18:18:16.016: >> 250-PIPELINING<cr><lf>
18:18:16.016: >> 250-SIZE 419430400<cr><lf>
18:18:16.016: >> 250-ETRN<cr><lf>
18:18:16.016: >> 250-STARTTLS<cr><lf>
18:18:16.016: >> 250-AUTH LOGIN PLAIN<cr><lf>
18:18:16.016: >> 250-AUTH=LOGIN PLAIN<cr><lf>
18:18:16.016: >> 250-ENHANCEDSTATUSCODES<cr><lf>
18:18:16.016: >> 250-8BITMIME<cr><lf>
18:18:16.016: >> 250 DSN<cr><lf>
18:18:16.031: << AUTH LOGIN<cr><lf>
18:18:16.047: >> 334 VXNlcm5hbWU6<cr><lf>
18:18:16.047: << d2lsa3V1dQ==<cr><lf>
18:18:16.047: >> 334 UGFzc3dvcmQ6<cr><lf>
18:18:16.047: << ZHVwYWR1cGE=<cr><lf>
18:18:16.062: >> 535 5.7.0 Error: authentication failed: generic failure<cr><lf>
18:18:16.078: << QUIT<cr><lf>
18:18:16.094: >> 221 2.0.0 Bye<cr><lf>
18:18:16.094: --- Connection closed normally at Mon May 11 18:18:16 2009. ---
18:18:16.094: 

Here I am using SSL via STARTTLS

So what should I do next to repair it ?

------------------------------------------------------------------------------------------------------------

OK, I have used my last chanse and it started to work just fine !

I set the port to 465 with direct SSL and everything is working correct !

 

Thank you very much for support Thomas ! [:D]

----------------------------------------------------------------------------------------------------------

But now the new problem apears

When I am trying to send email thru PHP script I am getting the answer from serwer :

SMTP server response: 553 We do not relay without RFC2554 authentication

 

I have read your post where u telling to use this script :

function cram_md5_response ($username,$password,$challenge) {
    $challenge=base64_decode($challenge);
    $hash=bin2hex(hmac_md5($challenge,$password));
    $response=base64_encode($username . " " . $hash) . "\r\n";
    return $response; 

but I have no idea where to put it and how.

Please help......

&lt;p&gt;Can you read my previous post and make the comment , I have edited it while u where replaying so new things appears. I will be apreciate......&lt;/p&gt;&lt;p&gt;&amp;nbsp;The connection with gmail is OK, now we are talking about the connection with mail.toya.net.pl and toya.net.pl is my ISP so I would like to use this server instead of gmail..... &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So assuming I am trying to connect mail.toya.net.pl on port 25 and I am getting this message :&lt;/p&gt;&lt;p&gt;E 20090511 175559 960 Error connecting to mail.toya.net.pl.&lt;/p&gt;&lt;p&gt;with this session log error :&lt;/p&gt;&lt;p&gt;17:55:38.651: --- Mon May 11 17:55:38 2009 --- 17:55:38.651: Connect to &#039;mail.toya.net.pl&#039;, timeout 30. 17:55:59.680: 15: Peer connect failure&lt;/p&gt;&lt;p&gt;-----------------------------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;When I am switching connection with mail.toya.net.pl on port 578 I am getting this message :&lt;/p&gt;&lt;p&gt;&amp;nbsp;T 20090511 180753 960 Begin processing job MO001E33 from postmaster@localhost E 20090511 180753 960 Bad AUTH LOGIN response from server 217.113.224.3&lt;/p&gt;&lt;p&gt;With this session log&amp;nbsp; :&lt;/p&gt;&lt;p&gt;18:18:15.002: --- Mon May 11 18:18:15 2009 --- 18:18:15.002: Connect to &#039;mail.toya.net.pl&#039;, timeout 30. 18:18:16.016: &amp;gt;&amp;gt; 220 lazir.toya.net.pl TOYAnet ESMTP&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.016: &amp;lt;&amp;lt; EHLO localhost&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.016: &amp;gt;&amp;gt; 250-lazir.toya.net.pl&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.016: &amp;gt;&amp;gt; 250-PIPELINING&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.016: &amp;gt;&amp;gt; 250-SIZE 419430400&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.016: &amp;gt;&amp;gt; 250-ETRN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.016: &amp;gt;&amp;gt; 250-STARTTLS&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.016: &amp;gt;&amp;gt; 250-AUTH LOGIN PLAIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.016: &amp;gt;&amp;gt; 250-AUTH=LOGIN PLAIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.016: &amp;gt;&amp;gt; 250-ENHANCEDSTATUSCODES&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.016: &amp;gt;&amp;gt; 250-8BITMIME&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.016: &amp;gt;&amp;gt; 250 DSN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.031: &amp;lt;&amp;lt; AUTH LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.047: &amp;gt;&amp;gt; 334 VXNlcm5hbWU6&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.047: &amp;lt;&amp;lt; d2lsa3V1dQ==&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.047: &amp;gt;&amp;gt; 334 UGFzc3dvcmQ6&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.047: &amp;lt;&amp;lt; ZHVwYWR1cGE=&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.062: &amp;gt;&amp;gt; 535 5.7.0 Error: authentication failed: generic failure&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.078: &amp;lt;&amp;lt; QUIT&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.094: &amp;gt;&amp;gt; 221 2.0.0 Bye&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 18:18:16.094: --- Connection closed normally at Mon May 11 18:18:16 2009. --- 18:18:16.094:&amp;nbsp; &lt;/p&gt;&lt;p&gt;Here I am using SSL via STARTTLS &lt;/p&gt;&lt;p&gt;So what should I do next to repair it ? &lt;/p&gt;&lt;p&gt;------------------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;OK, I have used my last chanse and it started to work just fine !&lt;/p&gt;&lt;p&gt;I set the port to 465 with direct SSL and everything is working correct !&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you very much for support Thomas !&amp;nbsp;[:D] &lt;/p&gt;&lt;p&gt;----------------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;But now the new problem apears&lt;/p&gt;&lt;p&gt;When I am trying to send email thru PHP script I am getting the answer from serwer :&lt;/p&gt;&lt;p&gt; SMTP server response: 553 We do not relay without RFC2554 authentication&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have read your post where u telling to use this script :&lt;/p&gt;&lt;p&gt;function cram_md5_response ($username,$password,$challenge) { &amp;nbsp;&amp;nbsp;&amp;nbsp; $challenge=base64_decode($challenge); &amp;nbsp;&amp;nbsp;&amp;nbsp; $hash=bin2hex(hmac_md5($challenge,$password)); &amp;nbsp;&amp;nbsp;&amp;nbsp; $response=base64_encode($username . &quot; &quot; . $hash) . &quot;\r\n&quot;; &amp;nbsp;&amp;nbsp;&amp;nbsp; return $response;&amp;nbsp; &lt;/p&gt;&lt;p&gt;but I have no idea where to put it and how. &lt;/p&gt;&lt;p&gt;Please help...... &lt;/p&gt;

[quote user="Wolfie"]

I got also this error in log file

E 20090511 145328 16fc Error connecting to mail.toya.net.pl

 

Moreover I am getting some weird log file which is immposible to open directly , the name of this file is 09-05-11.loݨ and inside is :

E 20090511 164043 960 Error connecting to mail.toya.net.pl.

 

So I have two log files....., one is normal and second with weird ending, maybe the second file apears when I have push "poll now" button in Mercury SMTP client but I have no idea if it could cause this....

I am green in servers so please be esy-going :)

 --------------------------------------------------------------------------------------------------------------

I have turned on session login and I was trying to send mail thru gmail.

In Mercury C I got :

Error FF servicing queue job

Means you got no answer from the server.

Connection error during handshake with smtp.gmail.com

And in the session log I have

16:57:49.001: --- Mon May 11 16:57:49 2009 ---
16:57:49.017: Connect to 'smtp.gmail.com', timeout 30.
16:58:21.028: 8: Socket read timeout

Sure enough, no connection was made and so the protocol timed out in 30 seconds.

16:58:21.028: --- Connection closed normally at Mon May 11 16:58:21 2009. ---
16:58:21.028: 

Eny ideas ?

BTW, I have repaired the error with the wierd logfile name but I still have problem with connection.....

Like I said before, something is blocking the MercuryC TCP/Ip function.  I know smtp.gmail.com is a valid host, I provided the two ways top make a SMTP connection as well.  I suspect a firewall, but it could be something else blocking the external access completely.[/quote]

&lt;blockquote&gt;[quote user=&quot;Wolfie&quot;]&lt;p&gt;I got also this error in log file&lt;/p&gt;&lt;p&gt;E 20090511 145328 16fc Error connecting to mail.toya.net.pl &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Moreover I am getting some weird log file which is immposible to open directly , the name of this file is 09-05-11.lo&Yacute;&uml; and inside is :&lt;/p&gt;&lt;p&gt;E 20090511 164043 960 Error connecting to mail.toya.net.pl.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So I have two log files....., one is normal and second with weird ending, maybe the second file apears when I have push &quot;poll now&quot; button in Mercury SMTP client but I have no idea if it could cause this....&lt;/p&gt;&lt;p&gt;I am green in servers so please be esy-going :) &lt;/p&gt;&lt;p&gt;&amp;nbsp;--------------------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;I have turned on session login and I was trying to send mail thru gmail.&lt;/p&gt;&lt;p&gt;In Mercury C I got :&lt;/p&gt;&lt;p&gt;Error FF servicing queue job&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Means you got no answer from the server. &lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Connection error during handshake with smtp.gmail.com&lt;/p&gt;&lt;p&gt;And in the session log I have&lt;/p&gt;&lt;p&gt;16:57:49.001: --- Mon May 11 16:57:49 2009 --- 16:57:49.017: Connect to &#039;smtp.gmail.com&#039;, timeout 30. 16:58:21.028: 8: Socket read timeout&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Sure enough, no connection was made and so the protocol timed out in 30 seconds. &lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;16:58:21.028: --- Connection closed normally at Mon May 11 16:58:21 2009. --- 16:58:21.028:&amp;nbsp; &lt;/p&gt;&lt;p&gt;Eny ideas ?&lt;/p&gt;&lt;p&gt;BTW, I have repaired the error with the wierd logfile name but I still have problem with connection..... &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Like I said before, something is blocking the MercuryC TCP/Ip function.&amp;nbsp; I know smtp.gmail.com is a valid host, I provided the two ways top make a SMTP connection as well.&amp;nbsp; I suspect a firewall, but it could be something else blocking the external access completely.[/quote]&lt;/p&gt;

But now the new problem apears

When I am trying to send email thru PHP script I am getting the answer from serwer :

SMTP server response: 553 We do not relay without RFC2554 authentication

I have read your post where u telling to use this script :

function cram_md5_response ($username,$password,$challenge) {
    $challenge=base64_decode($challenge);
    $hash=bin2hex(hmac_md5($challenge,$password));
    $response=base64_encode($username . " " . $hash) . "\r\n";
    return $response; 

but I have no idea where to put it and how. 

Nor do I, this is a problem on your end with your PHP function and since I've never really cared for PHP coding so I only do this with the application I use.  You are going to have to go to the PHP developers of you application and ask them how to do this.

That said, you can allow relaying in MercuryS or allow the specific IP address of the PHP application to relay if you wish.  See the various option under Configuration | MercuryS | Connection Control

&lt;blockquote&gt;&lt;p&gt;But now the new problem apears&lt;/p&gt;&lt;p&gt;When I am trying to send email thru PHP script I am getting the answer from serwer :&lt;/p&gt;&lt;p&gt; SMTP server response: 553 We do not relay without RFC2554 authentication&lt;/p&gt;&lt;p&gt;I have read your post where u telling to use this script :&lt;/p&gt;&lt;p&gt;function cram_md5_response ($username,$password,$challenge) { &amp;nbsp;&amp;nbsp;&amp;nbsp; $challenge=base64_decode($challenge); &amp;nbsp;&amp;nbsp;&amp;nbsp; $hash=bin2hex(hmac_md5($challenge,$password)); &amp;nbsp;&amp;nbsp;&amp;nbsp; $response=base64_encode($username . &quot; &quot; . $hash) . &quot;\r\n&quot;; &amp;nbsp;&amp;nbsp;&amp;nbsp; return $response;&amp;nbsp; &lt;/p&gt;&lt;p&gt;but I have no idea where to put it and how.&amp;nbsp; &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Nor do I, this is a problem on your end with your PHP function and since I&#039;ve never really cared for PHP coding so I only do this with the application I use.&amp;nbsp; You are going to have to go to the PHP developers of you application and ask them how to do this.&lt;/p&gt;&lt;p&gt;That said, you can allow relaying in MercuryS or allow the specific IP address of the PHP application to relay if you wish.&amp;nbsp; See the various option under Configuration | MercuryS | Connection Control &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