Laszlo Gal
2008-Feb-03 00:10 UTC
[Pkg-exim4-users] exim4 smarthost authentication error on Debian etch
I''m new to exim4 and not sure if this is the right forum for my question. If not, please advise. I think I''ve done everything needed for smarthost relay with authentication but it says: SMTP error from remote mail server after RCPT TO:<debence at tanuloszoba2.homelinux.org>: host smtp.enternet.hu [62.112.192.21]: 550 Authentication required for relay Can anyone advise what am I doing wrong? __Details__ OS: Debian etch r2, freshly installed with all updates MTA: exim4-light 1. my /etc/exim4/update-exim4.conf.conf file is this: ---- dc_eximconfig_configtype=''satellite'' dc_other_hostnames='''' dc_local_interfaces='''' dc_readhost=''enternet.hu''# host as a client. dc_relay_domains='''' dc_minimaldns=''false'' dc_relay_nets='''' dc_smarthost=''smtp.enternet.hu'' CFILEMODE=''644'' dc_use_split_config=''false'' dc_hide_mailname=''true'' dc_mailname_in_oh=''true'' dc_localdelivery=''mail_spool'' --- 2. I''ve added the authentication line to my /etc/exim4/passwd.client file --- ### target.mail.server.example:login:password smtp.enternet.hu:<myusername>@enternet.hu:<mypassword> --- 3. As the smtp.enternet.hu server needs authentication I''ve installed the smarttsl package too. My /var/log/exim4/mainlog file says: ---- 2008-02-03 00:00:55 1JLRLz-0003Q3-QP <debence at tanuloszoba2.homelinux.org U=debence P=local S=571 id=20080202230055.GA13129 at tanuloszoba2.homelinux.org 2008-02-03 00:00:55 1JLRLz-0003Q3-QP ** laszlo.gal at oracle.com R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT TO:<laszlo.gal at oracle.com>: host smtp.enternet.hu [62.112.192.21]: 550 Authentication required for relay 2008-02-03 00:00:55 1JLRLz-0003Q6-Vw <= <> R=1JLRLz-0003Q3-QP U=Debian-exim P=local S=1596 2008-02-03 00:00:56 1JLRLz-0003Q3-QP Completed 2008-02-03 00:00:56 1JLRLz-0003Q6-Vw ** debence at tanuloszoba2.homelinux.org R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT TO:<debence at tanuloszoba2.homelinux.org>: host smtp.enternet.hu [62.112.192.21]: 550 Authentication required for relay 2008-02-03 00:00:56 1JLRLz-0003Q6-Vw Frozen (delivery error message) ---- How can I check if the TSL provided by SmartTSL was used at all, or the authentication information in the passwd.client file was used at all? Thanks, Laszlo
Marc Haber
2008-Feb-03 07:39 UTC
[Pkg-exim4-users] exim4 smarthost authentication error on Debian etch
On Sun, Feb 03, 2008 at 01:10:03AM +0100, Laszlo Gal wrote:> SMTP error from remote mail server after RCPT > TO:<debence at tanuloszoba2.homelinux.org>: host smtp.enternet.hu > [62.112.192.21]: 550 Authentication required for relay > > Can anyone advise what am I doing wrong?smtp.enternet.hu does not allow STARTTLS, so you need to allow exim to authenticate over an unencrypted connection. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
Laszlo Gal
2008-Feb-03 22:12 UTC
[Pkg-exim4-users] exim4 smarthost authentication error on Debian etch
Marc, Thank you for the advice and forgive my ignorance, but I''d need a bit more help about how to convince exim4 to contact the remote smarthost to accept plain authentication. I''ve done the following: 1. entered the connection information in the /etc/exim4/passwd.client file as it is stated. 2. configured via dpkg-reconfigure exim4-config and generated the file: update-exim4.conf.conf below: dc_eximconfig_configtype=''smarthost'' dc_other_hostnames=''tanuloszoba2.homelinux.org'' dc_local_interfaces='''' dc_readhost='''' dc_relay_domains='''' dc_minimaldns=''false'' dc_relay_nets='''' dc_smarthost=''smtp.enternet.hu'' CFILEMODE=''644'' dc_use_split_config=''false'' dc_hide_mailname=''false'' dc_mailname_in_oh=''true'' dc_localdelivery=''mail_spool'' 3. modified /etc/exim4/exim4.conf.template and uncommented the hosts_avoid_tls = * line in two sections: ##################################################### ### transport/30_exim4-config_remote_smtp ################################# and ##################################################### ### transport/30_exim4-config_remote_smtp_smarthost ################################# 4. ran the /etc/exim4# updte-exim4.conf -v using non-split configuration scheme from /etc/exim4/exim4.conf.template /etc/exim4# 5. tried sending mail but it says the same error in the /var/log/exim4/mainlog: 2008-02-03 23:55:58 1JLnki-0001ab-Jh ** laszlo.gal at gmail.com F=<lgal at tanuloszoba2.homelinux.org> P=<lgal at tanuloszoba2.homelinux.org> R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT TO:<laszlo.gal at gmail.com>: host smtp.enternet.hu [62.112.192.21]: 550 Authentication required for relay 2008-02-03 23:55:58 1JLnkk-0001ag-Tt <= <> R=1JLnki-0001ab-Jh U=Debian-exim P=local S=1583 from <> for lgal at tanuloszoba2.homelinux.org 2008-02-03 23:55:58 1JLnki-0001ab-Jh Completed QT=2s 2008-02-03 23:55:58 1JLnkk-0001ag-Tt => lgal <lgal at tanuloszoba2.homelinux.org> F=<> P=<> R=local_user T=mail_spool S=1736 QT=0s DT=0s 2008-02-03 23:55:59 1JLnkk-0001ag-Tt Completed QT=1s What document shall I read? Thanks, Laszlo On 03/02/2008, Marc Haber <mh+pkg-exim4-users at zugschlus.de> wrote:> On Sun, Feb 03, 2008 at 01:10:03AM +0100, Laszlo Gal wrote: > > SMTP error from remote mail server after RCPT > > TO:<debence at tanuloszoba2.homelinux.org>: host smtp.enternet.hu > > [62.112.192.21]: 550 Authentication required for relay > > > > Can anyone advise what am I doing wrong? > > smtp.enternet.hu does not allow STARTTLS, so you need to allow exim to > authenticate over an unencrypted connection. > > Greetings > Marc > > -- > ----------------------------------------------------------------------------- > Marc Haber | "I don''t trust Computers. They | Mailadresse im Header > Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 > Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 > > _______________________________________________ > Pkg-exim4-users mailing list > Pkg-exim4-users at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users >-- laszlo.gal at gmail.com
Marc Haber
2008-Feb-04 12:31 UTC
[Pkg-exim4-users] exim4 smarthost authentication error on Debian etch
On Sun, Feb 03, 2008 at 11:12:21PM +0100, Laszlo Gal wrote:> What document shall I read?http://pkg-exim4.alioth.debian.org/README/README.Debian.etch.html#smtp-auth This file is also in your package, and referenced all over the place. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190