[Exim] Can Someone Help Me - Exim.conf Dialup?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: mpierce
Date:  
À: Exim
Sujet: [Exim] Can Someone Help Me - Exim.conf Dialup?
Using exim-tls_3.35-3woody1

I've spent countless hours trying to get this to work with failure (and
now a mild degree of frustration). In process of changing from my
current ADSL ISP supplier to another, so the line has to be terminated
for 1-2 weeks during changeover forcing me to use a dialup connection
during the interim.

Cannot get mail due to error:
...fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from
mail.optusnet.com.au
fetchmail: Query status=10 (SMTP)

System configured as so (and worked perfectly):
ISP (static address) --> MTA (Fetchmail) --> MTA (Exim) --> MDA
(Procmail) --> mailbox --> MUA (Evolution)

I now have a dialup ISP which is using a dynamic address and this is
causing me the problems.

PPP has created a new /etc/resolv.conf (shown below):

cat /etc/resolv.conf
# resolv.conf created by pppconfig for provider
nameserver 198.142.0.51
nameserver 203.2.75.132

I now do:
telnet mail.optusnet.com.au 25
Trying 211.29.132.13...
Connected to mail.optusnet.com.au.
Escape character is '^]'.
220 mail015.syd.optusnet.com.au ESMTP Sendmail 8.11.6p2/8.11.6; Thu, 9
Oct 2003 16:36:09 +1000
EHLO libranet
250-mail015.syd.optusnet.com.au Hello
winax28-b216.dialup.optusnet.com.au [211.29.29.216], pleased to meet you
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-SIZE 5000000
250-DSN
250-ONEX
250-ETRN
250-XUSR
250-AUTH PLAIN LOGIN
250 HELP
quit
221 2.0.0 mail015.syd.optusnet.com.au closing connection
Connection closed by foreign host.

This I (think) is telling me that the ISP is using Plain login so I
modify /etc/exim.conf:

MAIN CONFIGURATION (changes)
qualify_domain = libranet
    #name of my computer created by eximconfig


local_domains = localhost:libranet:mail.optusnet.com.au

host_accept_relay = 127.0.0.1 : ::::1 : 192.168.1.0/24

smtp_accept_queue_per_connection = 0

auth_over_tls_hosts = *

TRANSPORT CONFIGURATION (changes)
remote_smtp:
driver = smtp
authenticate_hosts = mail.optusnet.com.au

AUTHENTICATION CONFIGURATION (changes)
#MRP change 09.10.03 - uncomment everything
plain:
driver = plaintext
public_name = PLAIN
client_send = "^myusername^mypasswd"
# client_send = "XDBtcGllcmNlXDBtcnAw-xxxxxx=="
#Above string generated by running:
#echo -n '\0username\0passwd' | mimencode
#end MRP modification

What am I doing wrong that this will not authenticate me at the dialin
ISP, mail.optusnet.com.au?