[OCCAID] rDNS request ..
Jeroen Massar
jeroen at unfix.org
Wed Mar 8 05:02:14 EST 2006
On Wed, 2006-03-08 at 15:20 +0530, Suresh Ramasubramanian wrote:
> Jeroen Massar wrote:
> > b) Configure your SMTP config correctly:
> > eg postfix in main.cf:
> > smtp_bind_address6 = 2001:db8::25
> > sendmail:
> > O DaemonPortOptions=Name=IPv6, Family=inet6, Modifiers=O,
> > Address=2001:db8::25
> >
> > Option b) seems to be the one you should be taking as this clearly only
> > affects your SMTP setup.
>
> Having my smtp listen on just my /48 instead of all v6 interfaces -
> that's fine.
No, only bind it to that single /128 and nothing else. The mail server
only needs 1 IP address anyway.
> But how does that affect packets being sent outbound?
> Everything from traceroutes to smtp outbound all currently take the
> e0::2 gateway route out.
The postfix line bind's the source socket always to that address.
---------------
The other new parameter is smtp_bind_address6. This sets the local
interface address for outgoing IPv6 SMTP connections, just like the
smtp_bind_address parameter does for IPv4:
/etc/postfix/main.cf:
smtp_bind_address6 = 2001:240:5c7:0:250:56ff:fe89:1
------------>8
For sendmail you probably need to use:
O ClientPortOptions=Family=inet6, Address=2001:db8::1
(note to self: Client!=Daemon)
> Funny thing is, this is after a reboot .. before the reboot - which was
> over 360 days ago - what I had in place was just fine for packets to go
> out through the frodo.hserus.net IP rather than e0::2. Does (say) the
> order in which the interfaces come up affect this?
On Linux it does, the last added address on the interface that is 'most
closely' to the target IP, or taking the outbound interface is probably
a more correct description, will be used.
For *BSD I am not sure, but it might well be.
Greets,
Jeroen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: This is a digitally signed message part
Url : http://mailman.twdx.net/pipermail/occaid/attachments/20060308/630c1a33/attachment.bin
More information about the Occaid
mailing list