[Exim] Re: need help with smtp-auth client (exim4)

Top Page
Delete this message
Reply to this message
Author: Brent Russell Langille
Date:  
To: exim-users
Subject: [Exim] Re: need help with smtp-auth client (exim4)
On Mon, 2004-04-19 at 19:42 +0900, Brent Russell Langille wrote:

> i have fetchmail set up to contact my isp and grab my emails and dump
> them to exim which then delivers them to a Maildir style directory. that
> works great.
>
> the problem is sending mail out through exim4 to my isp. my isp only
> supports LOGIN auth. i have exim4 setup with the "smarthost" option. i
> used the address of the smtp server of my isp as the smarthost. i edited
> smtp_remote in the conf.d directory and i put my information in the
> passwd.clients file. i also have my user name aliased to my isp email
> address in the file /etc/email-addresses
>
> the problem is i keep getting a "550 5.1.8 you are not allowed to send
> mail". i know that i am because i can send mail through evolution
> directly to the isp, but i want all my mail to go through exim4.
>
> i believe that the problem is exim4 is not sending the authentication
> information. how can i test this? can anyone see a set that i have
> missed? any help would be appreciated.
>
> thanks


after looking for a bit more, i found that you could set an option to
force an authentication with a host "host_require_auth=<my.isp>".
now the result of a ehlo call to the server gives this;

LOG: MAIN
<= blangille@??? U=root P=local S=247
brent@langille:/etc/exim4/conf.d/transport$ T: remote_smtp for
blangille@???
Connecting to esmtp.korea.com [211.109.8.14]:25 ... connected
SMTP<< 220 esmtp006.korea.com ESMTP Terrace MailWatcher 4.0000.dddd
(for korea.com)
SMTP>> EHLO langille

  SMTP<< 250-esmtp006.korea.com Pleased to meet you
         250-SIZE 15728640
         250-8BITMIME
         250-HELP
         250-PIPELINING
         250-AUTH
         250-AUTH=LOGIN
         250 ENHANCEDSTATUSCODES

SMTP>> QUIT

LOG: MAIN
== blangille@??? R=smarthost T=remote_smtp defer (-42):
authentication required but server did not advertise AUTH support

you can see that it supports LOGIN so why does the exim4 tell me
otherwise?