Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

FF error, need help

Last post 05-12-2009, 23:44 by Wolfie. 8 replies.
Sort Posts: Previous Next
  •  05-11-2009, 14:45

    • Wolfie is not online. Last active: 05-20-2009, 13:36 Wolfie
    • Not Ranked
    • Joined on 05-11-2009
    • Member
    • Points 110

    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 ? :)

     

  •  05-11-2009, 14:57

    • Wolfie is not online. Last active: 05-20-2009, 13:36 Wolfie
    • Not Ranked
    • Joined on 05-11-2009
    • Member
    • Points 110

    Re: FF error, need help

    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.....

  •  05-11-2009, 17:08

    Re: FF error, need help

    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?

     


    Thomas R. Stephenson
    San Jose, California
    Member of Pegasus Mail Support Team

    I do not answer private messages from the forum. If you want to contact me use email to techsupp@tstephenson.com.
  •  05-11-2009, 17:29

    • Wolfie is not online. Last active: 05-20-2009, 13:36 Wolfie
    • Not Ranked
    • Joined on 05-11-2009
    • Member
    • Points 110

    Re: FF error, need help

    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: 

  •  05-11-2009, 18:02

    Re: FF error, need help

    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


    Thomas R. Stephenson
    San Jose, California
    Member of Pegasus Mail Support Team

    I do not answer private messages from the forum. If you want to contact me use email to techsupp@tstephenson.com.
  •  05-11-2009, 18:16

    • Wolfie is not online. Last active: 05-20-2009, 13:36 Wolfie
    • Not Ranked
    • Joined on 05-11-2009
    • Member
    • Points 110

    Re: FF error, need help

    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 ! Big Smile

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

    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......

  •  05-12-2009, 4:51

    Re: FF error, need help

    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.


    Thomas R. Stephenson
    San Jose, California
    Member of Pegasus Mail Support Team

    I do not answer private messages from the forum. If you want to contact me use email to techsupp@tstephenson.com.
  •  05-12-2009, 4:58

    Re: FF error, need help

    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


    Thomas R. Stephenson
    San Jose, California
    Member of Pegasus Mail Support Team

    I do not answer private messages from the forum. If you want to contact me use email to techsupp@tstephenson.com.
  •  05-12-2009, 23:44

    • Wolfie is not online. Last active: 05-20-2009, 13:36 Wolfie
    • Not Ranked
    • Joined on 05-11-2009
    • Member
    • Points 110

    Re: FF error, need help

    Ok. Thank you very much for time and support.
View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2011 David Harris / Peter Strömblad. | Pegasus Mail Home Page