I'd like to send a different "smtp_helo_name" depending on if the outgoing
connection is IPv6 or IPv4. Is this possible in Postfix?

I just want my forward dns/reverse dns/helo to all match, but I have
less control over my RDNS than I need in order to do this and so I'm
wondering if I can get a quick fix from Postfix.

FWIW, in Exim I would do this by adding something like this to my
smtp transport:

helo_data = ${if isip4{$sending_ip_address}{my.ipv4.helo}{my.ipv6.helo}}

-- 
Mike Cardwell  https://grepular.com https://emailprivacytester.com
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3   B0CF 70A5 F512 0018 461F
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1   BF1B 295C 3C78 3EF1 46B4

Attachment: signature.asc
Description: Digital signature

Reply via email to