in reply to Re^4: Sending Email to Exchange server from linux box
in thread Sending Email to Exchange server from linux box

If you can send emails without authentication, why do you attempt to authenticate? And how does the correctness of the username and pwd relate to the fact that you can send emails without using them?

Jenda
Enoch was right!
Enjoy the last years of Rome.

  • Comment on Re^5: Sending Email to Exchange server from linux box

Replies are listed 'Best First'.
Re^6: Sending Email to Exchange server from linux box
by chandanperl (Novice) on Aug 14, 2009 at 13:52 UTC
    1)I have to send emails with authentication previously i was trying just for sending mails from linux machine to exchange. 2) I got emails when I am using same username in my outlook. This is my debug file
    >> 220 XXX.XXXX.XXX Microsoft ESMTP MAIL Service, Version: 6.0.3790.39 +59 ready at Fri, 14 Aug 2009 19:17:28 +0530 << EHLO XXX.XXXX.com >> 250- XXX.XXXX.XXX Hello [XXX.XXX.XXXX.XXX] >> 250-TURN >> 250-SIZE >> 250-ETRN >> 250-PIPELINING >> 250-DSN >> 250-ENHANCEDSTATUSCODES >> 250-8bitmime >> 250-BINARYMIME >> 250-CHUNKING >> 250-VRFY >> 250-X-EXPS GSSAPI NTLM LOGIN >> 250-X-EXPS=LOGIN >> 250-AUTH GSSAPI NTLM LOGIN >> 250-AUTH=LOGIN >> 250-X-LINK2STATE >> 250-XEXCH50 >> 250 OK << AUTH LOGIN >> 334 Vsgdfd5hbWU6 << Y2hhbmRhbiAbxbchjBubWZvSDJDNdC5sb2M= >> 334 UDSzc3dvSJJD6 << UH4x >> 535 5.7.3 Authentication unsuccessful. << quit
        Many Many Thanks 1)I think it may be a problem of exchange because permission of this user is not set properly. 2)Can u tell me is there any possiblity of bug in my code. OR my code is correct just i have to look out other things.