Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem With exim4 smtp authenication

104 views
Skip to first unread message

Thomas H. George

unread,
Dec 3, 2012, 11:20:01 AM12/3/12
to
I have edited passwd and entered server:user:password exactly as
described in exim4_passwd_client and run dpkg-reconfigure exim4-config.
When I try to send mail using exim4 and then tail /var/log/exim4/mainlog
I find authenication has failed. I have double checked every entry.
They are all correct and work with both iceape and the android mail
client on my HP Touchpad.

Any one have a clue why this doesn't work?

Tom
text

Jon Dowland

unread,
Dec 3, 2012, 11:40:02 AM12/3/12
to
Do either your username or password have a colon character in them?

Do you need to connect to a particular port on the remote SMTP server
in order to authenticate (e.g., some may accept authentication on the
default SMTP port, some might not - you may need to connect to the
submission port.)


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20121203163443.GB3140@debian

Marc Auslander

unread,
Dec 3, 2012, 5:00:01 PM12/3/12
to
exim4 looks up the ip address of the target server, then reverse
translates back to its ip name to look up in passwd - which may not be the same as the name
you are using in the configuration.

My entries to use the gmail smtp are:

smtp.googlemail.com:my...@gmail.com:mypassword
*.googlemail.com:my...@gmail.com:mypassword
*.google.com:my...@gmail.com:mypassword


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/87ip8ik...@aptiva.optonline.net

Howard Eisenberger

unread,
Dec 12, 2012, 3:00:02 PM12/12/12
to
I don't use it otherwise, but this just worked for me:

in /etc/exim4/update-exim4.conf.conf
dc_smarthost='smtp.gmail.com::587'

in /etc/exim4/passwd.client
*.google.com:myuse...@gmail.com:mypassword
(any other entries commented out)

in /etc/exim4/exim4.conf.localmacros
REMOTE_SMTP_RETURN_PATH=myuse...@gmail.com
REMOTE_SMTP_HELO_DATA=(You may not need this. I use my dyndns)

Regards,

Howard E.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/ais5eq...@mid.individual.net

Chris Davies

unread,
Dec 14, 2012, 6:30:02 AM12/14/12
to
Thomas H. George <li...@tomgeorge.info> wrote:
> I have edited passwd and entered server:user:password exactly as
> described in exim4_passwd_client and run dpkg-reconfigure exim4-config.
> When I try to send mail using exim4 and then tail /var/log/exim4/mainlog
> I find authenication has failed.

> 2012-12-03 11:09:02 1TfYZq-000658-2d ** ro...@tomgeorge.info R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after MAIL FROM:<ro...@tomgeorge.info> SIZE=1975: host smtpout.where.secureserver.net [64.202.165.69]: 530 authentication required


I'm a bit late to this thread but I think I can see the problem. I've
hit this before and the reason is the little paragraph in the manpage
that states,

Please note that target.mail.server.example is currently the value
that exim can read from reverse DNS: It first follows the host name
of the target system until it finds and IP address, and then looks
up the reverse DNS for that IP address to use the outcome of this
query (or the IP address itself should the query fail) as index
into /etc/exim4/passwd.client.

Based on your logfile, I would hazard that you're trying to authenticate
to smtpout.where.secureserver.net. However, this server has several
IP addresses (well, I've found four so far), and when you find the rDNS
for these servers, it's *these* that need to go into your passwd.client
file.

smtpout.where.secureserver.net ->
173.201.192.229 -> p3plsmtpa07-v01.prod.phx3.secureserver.net
173.201.193.101 -> p3plsmtpa08-v01.prod.phx3.secureserver.net
64.202.165.58 -> smtp.starfieldtech.com
64.202.165.69 -> m1plsmtpa01-v01.prod.mesa1.secureserver.net

Chris


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/m6drp9x...@news.roaima.co.uk
0 new messages