[exim] Fw: Relaying denied. Proper authentication required

Top Page
Delete this message
Reply to this message
Author: Christopher Glanville
Date:  
To: exim-users
Subject: [exim] Fw: Relaying denied. Proper authentication required
Thanks for the reply, but it is still not working. I have the following in
exim.conf

 remote_smtp_smarthost:
        debug_print = "T: remote_smtp_smarthost for $local_part@$domain"
        driver = manualroute
        domains = *
        transport = remote_smtp
        route_data = "isp.mail.smtp.server"


remote_smtp:
driver = smtp
hosts_require_tls = isp.mail.smtp.server

 cram_md5_login:
        driver = cram_md5
        public_name = CRAM-MD5
        client_name = username
        client_secret = password
        server_advertise_condition = ${if eq{$tls_cipher}{}{no}{yes}}
        server_secret =
 ${lookup{$1}lsearch{/etc/exim/passwd.client}{$value}fail}
        server_set_id = $1


BUT I still get the error:

 <= <> R=1I1Kdp-00058h-6Z U=exim P=local S=1460
 delivering 1I1Kdt-00058k-6A
 T: remote_smtp_smarthost for root@???
 LOG: MAIN
  Completed
 Connecting to isp.smtp.com [xx.xx.xx.xx]:25 ... connected
  SMTP<< 220-Mycroft.ispname.com ESMTP Sendmail 8.14.0/8.14.0; Thu, 21 Jun
 2007 06:53:37 -0400 (EDT)
         220-All transactions are logged.
         220 Only authenticated connections are permitted on this host.

SMTP>> EHLO localhost.localdomain

  SMTP<< 250-Mycroft.icpname.com Hello MYIP pleased to meet you
         250-ENHANCEDSTATUSCODES
         250-PIPELINING
         250-8BITMIME
         250-SIZE 20000000
         250-AUTH PLAIN LOGIN
         250-STARTTLS
         250-DELIVERBY
         250 HELP

SMTP>> STARTTLS

SMTP<< 220 2.0.0 Ready to start TLS
SMTP>> EHLO localhost.localdomain

  SMTP<< 250-Mycroft.ispname.com Hello MYIP [xx.xx.xx.xx], pleased to meet
 you
         250-ENHANCEDSTATUSCODES
         250-PIPELINING
         250-8BITMIME
         250-SIZE 20000000
         250-AUTH PLAIN LOGIN
         250-DELIVERBY
         250 HELP

SMTP>> MAIL FROM:<> SIZE=2517
SMTP>> RCPT TO:<root@???>
SMTP>> DATA

SMTP<< 250 2.1.0 <>... Sender ok
SMTP<< 550 5.7.1 <root@???>... Relaying denied. Proper
authentication required.
SMTP<< 503 5.0.0 Need RCPT (recipient)
SMTP>> RSET

SMTP<< 250 2.0.0 Reset state
SMTP>> EHLO localhost.localdomain
SMTP>> QUIT

LOG: MAIN
** root@??? R=remote_smtp_smarthost T=remote_smtp: SMTP
error from remote mail server after RCPT TO:<root@???>:
host isp.smtp.server [xx.xx.xx.xx]: 550 5.7.1
<root@???>... Relaying denied. Proper authentication
required.
LOG: MAIN
Frozen (delivery error message)

Many thanks for any help that can be provided,
de Chris G