exim relay and ipv6
list,
I have a mail server running etch and another etch machine and they both
have exim. The second machine is configured to use the first as a
smarthost with smtp authentication and this worked well until they were
able to connect to each other by IPv6. After that, any attempted relay
is denied. I tried putting the IPv6 address and/or the subnet in places
like
dc_relay_nets in update-exim4.conf.conf and MAIN_RELAY_NETS in
exim4.conf.localmacros but it didn't help. I then tried using Icedove
and the smtp authentication worked, from the same machine and again over
IPv6, so it looks like the smtp authentication client in exim has a
problem.
below is an example mail -v from the client machine.
Thanks for any help.
Nick
R: smarthost for nick@destinationdomain
T: remote_smtp_smarthost for nick@destinationdomain
Connecting to nick.relaydomain [2001:470:1f01:3324::1]:25 ... connected
SMTP<< 220 nick.relaydomain ESMTP Exim 4.63 Sat, 07 Apr 2007 10:38:22 -0700
SMTP>> EHLO athena.relaydomain
SMTP<< 250-nick.relaydomain Hello athena.relaydomain [2001:4830:1547:1:205:2ff:feb7:63d8]
250-SIZE 52428800
250-PIPELINING
250-STARTTLS
250 HELP
SMTP>> STARTTLS
SMTP<< 220 TLS go ahead
SMTP>> EHLO athena.relaydomain
SMTP<< 250-nick.relaydomain Hello athena.relaydomain [2001:4830:1547:1:205:2ff:feb7:63d8]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
SMTP>> MAIL FROM:<nick@relaydomain> SIZE=1406
SMTP>> RCPT TO:<nick@destinationdomain>
SMTP>> DATA
SMTP<< 250 OK
SMTP<< 550 relay not permitted
SMTP<< 503 valid RCPT command must precede DATA
SMTP>> QUIT
LOG: MAIN
** nick@destinationdomain R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT TO:<nick@destinationdomain>: host nick.relaydomain [2001:470:1f01:3324::1]: 550 relay not permitted
LOG: MAIN
<= <> R=1HaErt-0007cx-GO U=Debian-exim P=local S=1345
LOG: MAIN
Completed
Reply to: