I'm trying to set up exim4 in Debian 4.0 for a simple task: forward my emails to the ISP. Thunderbird can do it, msmtp can do it, but I can't get it to work with exim4...
My current configuration of update-exim4.conf.conf is rather straightforward:
Code:
dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
#--- Provider A ---
#dc_smarthost='smtp.netvigator.com'
#--- Provider B ---
dc_smarthost='smtp.starfieldtech.com::80'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
In addition I have passwd.client configured with the correct machine names (they need to be the reverse DNS lookup result of the SMTP servers mentioned above), and exim4.conf.template contains the line "AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS=1"
When I try to send an email via Provider A, I get the following:
Code:
SMTP<< 220 imsm058dat.netvigator.com ESMTP
SMTP>> EHLO mymachine.mydomain.net
SMTP<< 250-imsm058dat.netvigator.com
250-HELP
250-XREMOTEQUEUE
250-ETRN
250-AUTH=LOGIN PLAIN
250-AUTH LOGIN PLAIN
250-PIPELINING
250-DSN
250-8BITMIME
250 SIZE 10485760
SMTP>> MAIL FROM:<me@mydomain.net> SIZE=1402
SMTP>> RCPT TO:<me2@some.where.else.com>
SMTP>> DATA
SMTP<< 553 <me@mydomain.net> is not allowed to use this service
SMTP<< 503 Bad sequence of commands (specify MAIL first)
SMTP<< 503 No sender specified
SMTP>> QUIT
With Provider B, I get something different, but not much better:
Code:
SMTP<< 220 smtpout10.prod.mesa1.secureserver.net ESMTP
SMTP>> EHLO mymachine.mydomain.net
SMTP<< 250-smtpout10-04.prod.mesa1.secureserver.net
250-AUTH LOGIN PLAIN
250-8BITMIME
250 PIPELINING
SMTP>> MAIL FROM:<me@mydomain.net>
SMTP>> RCPT TO:<me2@some.where.else.com>
SMTP>> DATA
SMTP<< 250 Sender accepted.
SMTP<< 553 Sorry, that domain isn't in my list of allowed rcpthosts.
SMTP<< 503 You must send RCPT TO: first
SMTP>> QUIT
I'm a bit lost here, can anyone explain what these SMTP servers are complaining about and how I can tweak exim to talk to them the way they want to be talked to?