Exim 4.63 on CentOS: sending mail from server app through localhost - failed on authentication

Posted by Stas on Server Fault See other posts from Server Fault or by Stas
Published on 2010-03-21T11:48:10Z Indexed on 2010/03/21 11:51 UTC
Read the original article Hit count: 439

Filed under:
|

Hi!

I am trying to send mail from my java application simply connecting on localhost:25 with empty login and password (I have to state them due to API).

Mail sending is failed then with

2010-03-21 12:20:01 login authenticator failed for localhost [127.0.0.1]: 535 Incorrect authentication data

On the other hand, when I am sending mail with telnet by:

$ telnet localhost 25
ehlo ...
mail from:...
rcpt to:...
data:
...

it works perfectly.

Any clues?

© Server Fault or respective owner

Related posts about exim4

Related posts about centos