Forum OpenACS Q&A: Sendmail Error

Collapse
Posted by Andrew Smith on
Hi,
I am getting this error when I am sending mail thru acs. Sendmail on linux is working fine and listening on all ports.
Here "web.acstest.com" is the hostname of the machine
Oct 24 10:36:25 web sendmail[11588]: g9O56PdO011588: web.acstest.com [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
Regards,
Collapse
Posted by Bernd Eidenschink on
Hi,

is sendmail really working fine?

What tells "/etc/rc.d/sendmail status" ?

Maybe it's a connection timeout or sendmail cannot write to it's logfile.

You can also reproduce this message if you telnet to your sendmail port and type "QUIT" after the sendmail message.

Regards,
Bernd.

Collapse
Posted by Andrew Smith on
Hi,
Sendmail is showing its status as running

/etc/rc.d/init.d/sendmail status sendmail (pid 15024 15013) is running...

I am able to send mails from the prompt and thru telnet to localhost port 25

But when I am using ns_sendmail I am getting this error

Regards

Collapse
Posted by Hanjo Pepoulis on
Hm, maybe you want to pave sendmail.tcl with ns_log statements and
do some time checks to see if/where the socket connection times out.

Check also "/var/log/mail" to look for further messages.

Collapse
Posted by Andrew Smith on
Hi,

I found the solution. I dont know If I am right but the following step helped me in solving it

As suggested I put some log statements in sendmail.tcl file to see what was going wrong and then found that the line where aolserver was taking to smtp server caused the error

Helo AOLserver [ns_info hostname] //gave me the error "Invalid Domain name" But this was working on my local test server

Helo [ns_info hostname] // Did not give me the error

Now it is working fine . What I need to know now is will this change cause any problems in the future .

Thanks for the help,