I run a sendmail mailserver at home together with a sixxs IPv6 tunnel
etc. Incoming mail can pass over IPv4 or IPv6 just fine. For my
outgoing IPv4 mails I have to use my ISPs smtp gateway (using
SMART_HOST in sendmail). For IPv6 I would like to use normal smtp
behavior with direct connection to the target mail server (if an IPv6
mailserver is available). Using the SMART_HOST all my outgoing mails
go through the ISPs smtp gateway so I need to split traffic depending
on if the destination mailserver has IPv6...
Is this possible?
Cheers,
/Joakim
Which OS do you use?
* Linux => Have you considered using iptables to set "trasparent proxy"?
--
[pl>en Andrew] Andrzej Adam Filip : an...@onet.eu : Andrze...@gmail.com
"It's my cookie file and if I come up with something that's lame and I
like it, it goes in."
-- karl (Karl Lehenbauer)
Hi Karl,
I'm using OpenBSD. Thanks for the tip, I'll have a look at that type
of solution (OpenBSD has its pf' instead of iptables).
Cheers,
/Joakim
What would happen if you used your ISP's mail server as a FallBackMX
rather than a SmartHost? Wouldn't Sendmail attempt to deliver via IPv6
and then IPv4. I'm guessing that there is (or would be) an IPv4
firewall between Sendmail and the rest of the world that would cause it
to fail to be able to communicate to any IPv4 destination other than
your ISP's mail server.
Just a thought.
Grant. . . .