SMTP test fails during qmailrocks install CentOS 5.5

Discussion in 'Installation/Configuration' started by cambob, Oct 2, 2010.

  1. cambob

    cambob New Member

    I am trying to run though the qmailrocks setup on a centos 5.5 and I am running into an issue when trying to telnet to port 25:
    telnet localhost 25
    Connected to localhost.localdomain (
    Escape character is '^]'.
    Connection closed by foreign host.

    Everything else seems to be working (telnet to 110), and I turned off the firewall entirely, but I still cannot telnet to port 25. I also get a blank error within squirrelmail when attempting to send mail out (ERROR:
    Message not sent. Server replied: ).

    I apologize for not going directly to the qmailrocks forum, but they are currently closed down (due to lack of funds). I also am a newbie, so I apologize for the lack of needed information. If anyone has any ideas, please let me know what information you would need.

    Thank you in advance :)
  2. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your mail log?

    What's the output of
    netstat -tap
  3. cambob

    cambob New Member

    Dear Falko,
    Thank you for your help with my issue.

    my outputs are as follows:
    [[email protected] ~]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 chris-primary:2208 *:* LISTEN 2809/hpiod
    tcp 0 0 *:poppassd *:* LISTEN 3446/xinetd
    tcp 0 0 *:mysql *:* LISTEN 2923/mysqld
    tcp 0 0 *:11211 *:* LISTEN 2947/memcached
    tcp 0 0 *:pop3 *:* LISTEN 4344/tcpserver
    tcp 0 0 *:sunrpc *:* LISTEN 2536/portmap
    tcp 0 0 chris-primary:ipp *:* LISTEN 2836/cupsd
    tcp 0 0 *:smtp *:* LISTEN 4331/tcpserver
    tcp 0 0 chris-primary:2207 *:* LISTEN 2814/python
    tcp 0 0 *:msdp *:* LISTEN 2577/rpc.statd
    tcp 0 0 *:imaps *:* LISTEN 4080/couriertcpd
    tcp 0 0 *:11211 *:* LISTEN 2947/memcached
    tcp 0 0 *:imap *:* LISTEN 4072/couriertcpd
    tcp 0 0 *:http *:* LISTEN 2971/httpd
    tcp 0 0 *:ssh *:* LISTEN 2827/sshd
    tcp 0 0 *:https *:* LISTEN 2971/httpd
    tcp 0 36 ::ffff: ::ffff:192.168.1.:mc-client ESTABLISHED 8155/sshd: disneych
    [[email protected] ~]#

    I couldn't find the mail logs, not sure where they would be?
    [[email protected] doc]# locate mail.log
    [[email protected] doc]#

    Thank you
  4. cambob

    cambob New Member

    I found that an error pointed to the softlimit, made the following change:
    exec /usr/local/bin/softlimit -m 50000000
    to the /var/qmail/supervise/qmail-smtpd/run file
    and now I can telnet to port 25

    Now I am having an authentication error, but at least I am closer now and I think that I can find leads to the auth error in qmail (Message not sent. Server replied:

    Authentication failed
    535 authorization failed (#5.7.0))
  5. falko

    falko Super Moderator ISPConfig Developer

    The mail log should be somewhere in the /var/log directory.

Share This Page