Hey,
I have a pretty simple OpenSMTPD setup on a host with IPv6. However,
while it has no trouble recieving email delivered via IPv6, I have
noticed that it seems to send on IPv4, even when the destination MX has
an AAAA record.
I use dkimproxy_out to add DKIM to outgoing messages. I tried changing
all the dkimproxy-related stuff (including the listen and relay
directives in dkimproxy_out.conf) to use ::1 instead of 127.0.0.1, but
dkimproxy_out doesn't seem to work when listening on ::1, although it
will relay to ::1. Changing dkimproxy_out to listen on 127.0.0.1 but
relay via ::1 still caused mail to be sent via IPv4.
Gmail to me:
Received: from mail-pf0-x22b.google.com (mail-pf0-x22b.google.com
[IPv6:2607:f8b0:400e:c00::22b])
by kanna.desu.ne.jp (OpenSMTPD) with ESMTPS
Me to Gmail:
Received: from kanna.desu.ne.jp (kanna.desu.ne.jp. [44.26.108.130])
by mx.google.com with ESMTPS
Relevant portion of smtpd.conf:
listen on lo0
listen on lo0 port 10028 tag DKIM
listen on egress port smtp tls
listen on egress smtps
listen on egress port submission tls-require mask-source auth
<passwd>
# Incoming
accept from local for local alias <aliases> \
deliver to lmtp "/var/dovecot/lmtp" rcpt-to
accept from any for domain <domains> virtual <users> \
deliver to lmtp "/var/dovecot/lmtp" rcpt-to
# Outgoing
accept tagged DKIM for any relay
accept for any relay via smtp://127.0.0.1:10027
Thanks,
Simon
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]