Can't use DA server as SMTP host

el_dorito

Verified User
Joined
Nov 1, 2012
Messages
10
Hello everyone,

I'm trying to use my DA as a smtp server but just can't get it to work.

Testing exim using telnet produces auth errors for all users virtual and system
testing exim using remote email client fails to produce system logs
able to send/recieve email using mutt locally on system and using webmail(roundcube)
configuration appears ok

See below


[root@host bah]# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 domain.com ESMTP Exim 4.80 Wed, 17 Sep 2014 02:09:03 +0200
ehlo domain.com
250-domain.com Hello localhost [::1]
250-SIZE 20971520
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
AUTH LOGIN
334 VXNlcm5XXXX
cGF1bEBiaWpuYSXXX
334 UGFzc3dvXXX
UzXXX
535 Incorrect authentication data

rejectlog:2014-09-17 00:13:05 login authenticator failed for localhost (paul) [::1]: 535 Incorrect authentication data ([email protected]\n)

I've attached the config files to this message)
 

Attachments

Are you using correct SMTP authentication (login/password)? Localhost is not allowed by default to send emails using Exim without authentication.
 
It is hard to debug much from what you have. Is the username you are using a base64 encoding? If so, does it include the @domain.com? If not then that username/password needs to exist in /etc/password and /etc/shadow if it includes the @domain.com then the username/password needs to exist in /etc/virtual/$domain/passwd file.

You mentioned remote email clients weren't working, there are a few possibilities there, your ISP may be blocking port 25, in which case you may want to use port 587 (non-secure) or port 465 (secure). Another possibility is that your firewall is blocking outside access to any/all of the ports 25, 587, 465.
 
Back
Top