LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SMTP test fails during qmailrocks install CentOS 5.5 (https://www.linuxquestions.org/questions/linux-software-2/smtp-test-fails-during-qmailrocks-install-centos-5-5-a-835805/)

cambob 10-02-2010 10:07 AM

SMTP test fails during qmailrocks install CentOS 5.5
 
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
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
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

bathory 10-02-2010 01:06 PM

Hi,

What's in /etc/tcp.smtp?

cambob 10-02-2010 01:15 PM

Hello Bathory, Thank you for looking at my problem.

I have the following:

[root@chris-primary var]# more /etc/tcp.smtp
127.:allow,RELAYCLIENT=""
127.:allow,RELAYCLIENT=""
[root@chris-primary var]#

bathory 10-02-2010 04:14 PM

This is irrelevant to your problem, but you don't need 2 same lines. Delete on of them and run:
Code:

qmailctl cdb
For the actual problem, check qmail-smtpd logs and maybe system logs to see if you find something useful.

Regards

cambob 10-02-2010 07:17 PM

Okay, that seems to be getting me closer. After the change, 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 cane find leads to the auth error in qmail (Message not sent. Server replied:

Authentication failed
535 authorization failed (#5.7.0))

Thank you very much for your help :)


All times are GMT -5. The time now is 07:36 AM.