d...@teklibre.org (Dave Täht) writes:

Half solved!

> I have setup my laptop (as a test) to send out and respond to ipv6 mail,
> and not listen on the ipv4 ports at all. I tunnel my laptop out to
> have a static ipv6 address, and have mx records (for the teklibre.org
> domain) that have a priority 10 for the ipv6 "direct" connection, and a 
> priority
> 20 mx record for a dual ipv4, ipv6 machine acting as a smart relay. This
> seems to be working with all the mail exchangers I've tried thus far.
>
> I'd like to (assuming I get reverse dns straightened out) convince postfix to:
>
> If possible, send out the email from my static ipv6 address to any ipv6
> capable mail exchanger (for example, I correspond with someone at
> isc.org, and their mail exchanger, mx.isc.org sits on both ipv4 and
> ipv6), and if that is not possible, fall back to my better connected
> relay host. 
>
> Right now, everything not in mynetworks gets forwarded to my ipv6
> relay host which has both ipv4 and ipv6 addresses because I have
> relayhost set....

With postfix bound to localhost for IPv4, and bound to a real ipv6
address (via the smtp_bind_address, and smtp_bind_address6 options set)

with relayhost disabled and smtp_fallback_relay set to my more smartly 
connected dual ipv6, ipv4 box, laptop attempts an ipv6 connection
against mx records that have ipv6 (isc.org), which worked (very
rapidly!)

For an ipv4 only mx exchanger (gmail.com), postfix tried, very rapidly,
to connect to multiple ipv4 addresses, failed, and ended up forwarding
to my smarter host, which did the rest of the work.

Half the problem solved. On to getting mail via ipv6 on the laptop...


-- 
Dave Taht
http://the-edge.blogspot.com

Reply via email to