Vikram Derebail said: > Hi, > > We are a company which develops network enabled monitoring devices, and > our device can SNMP traps, E-mail etc. One of our customer is using > Squirrel Mail as their email server. They have customized that as to not > to respond for the HELO request. Our devices follows the standard SMTP > protocol and requests the HELO, and after receiving this, we proceed > with sending mails. How is that possible for the Squirrel Mail server to > disable the response to HELO ? The customer says, he can send mail via > outlook, Eudora etc. Can we have the address of the Squirrel Mail server > for testing on the internet so that we can solve the problem our > customer has? >
SquirrelMail acts only as SMTP client. See: http://cvs.sourceforge.net/viewcvs.py/squirrelmail/squirrelmail/class/deliver/Deliver_SMTP.class.php?rev=1.13.2.4&view=markup If the smtp server does not respond to a HELO request then SquirrelMail will fail because of this: } elseif ($smtp_auth_mech == 'none') { // No auth at all, just send helo and then send the mail fputs($stream, "HELO $helohost\r\n"); $tmp = fgets($stream, 1024); if ($this->errorCheck($tmp, $stream)) { return(0); } } The fgets will wait forever because the socket is opened in blocking mode. If you want a workaround in SquirrelMail for the missing HELO response the you can simply comment out the 4 lines after the fgets is issued. (See class/deliver/Deliver_SMTP.class.php) Regards, Marc Groot Koerkamp. SourceForge nick: stekkel. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
