On Fri, Mar 13, 2015 at 09:51:59AM +0000, Mike Cardwell wrote: > 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?
Not at present. > 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}} The smtp_helo_name in Postfix is evaluated long before the connection to any particular MX host is made. We'd have to introduce an smtp_helo_name6 parameter that defaults to smtp_helo_name and use that when connecting to IPv6 hosts. That hypothetical parameter and associated code do not currently exist. -- Viktor.