I am having issues with using Mail::SendEasy with our Exchange server. The code I am using worked fine on our old Lotus Notes server.
My IT people and I used an ethernet sniffer and found that the script is sending the "EHLO main" command and getting a valid response(see below). Then the send mail fails returning "Authentication error". Then the SMTP session times out.
The "Authentication error" does not make any sense. The only authentication we allow is based on IP address there is no username/password authentication used.
The funny thing is if I change the string to be HELO instead of EHLO I can send mail with out a problem.
Does any one have any suggestions as to what to do?
Using a telnet client connecting to port 25 I got the following responses form the old Notes server
EHLO main 250-CHIMAIL1.TMRIUSA.COM Hello main ([xxx.xx.xx.xx]), pleased to meet +you 250-HELP 250-SIZE 250 PIPELINING HELO main 250 CHIMAIL1.TMRIUSA.COM Hello main ([xxx.xx.xx.xx]), pleased to meet +you
And this is what I get from the Exchange server
EHLO main 250-chiexc.TMRIUSA.COM Hello [xxx.xx.xx.xx] 250-SIZE 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-STARTTLS 250-X-ANONYMOUSTLS 250-AUTH NTLM 250-X-EXPS GSSAPI NTLM 250-8BITMIME 250-BINARYMIME 250-CHUNKING 250-XEXCH50 250-XRDST 250 XSHADOW HELO main 250 chiexc.TMRIUSA.COM Hello [xxx.xx.xx.xx]
Further information:
This is perl 5, version 14, subversion 1 (v5.14.1) built for MSWin32-x +86-multi-thread Binary build 1401 [294969] provided by ActiveState http://www.ActiveSt +ate.com Built Jun 16 2011 18:54:40
Mail::SendEasy Version: 1.2 Released: 2004-04-09
In reply to Problem with Mail::SendEasy and Exchange server by dracos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |