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

1) I printed the list of authentication protocols which is NTLM GSSAPI LOGIN 2) I am using LOGIN protocol for authentication which is supported by Mail::Sender. 3) username and password is correct because i can send emails without authentication. 4) whatever I am changing which is wrong it says Cannot send mail: Login not accepted
  • Comment on Re^4: Sending Email to Exchange server from linux box

Replies are listed 'Best First'.
Re^5: Sending Email to Exchange server from linux box
by Jenda (Abbot) on Aug 14, 2009 at 13:30 UTC

    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.

      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