Sorry, my bad. I dropped the ball on publish settings, the writing was not
visible for general public to see. Apologies.

Anyway, I realized that since I replied to an existing conversation on
Nabble.com, it is impossible for a person not seeing the entire thread to
get my idea. The thread can be seen here:
http://postfix.1071664.n5.nabble.com/disable-ipv6-when-sending-to-gmail-td60672.html

It is Wietse's idea to re-write the response code into temporary, so that
Postfix will attempt delivery again. My fix was merely an enhancement to an
existing solution to compensate the changes on Google's end. To repeat:

Add a reply filter into main.cf:
smtp_reply_filter = pcre:/etc/postfix/smtp_reply_filter

Re-write IPv6 complaints:
/^5(\d\d )5(.*information. \S+ - gsmtp.*)/ 4${1}4$2

That re-write regexp will fail again, when Google changes their error
message.

Regards,
Jari Turkia



--
View this message in context: 
http://postfix.1071664.n5.nabble.com/disable-ipv6-when-sending-to-gmail-tp60672p62319.html
Sent from the Postfix Users mailing list archive at Nabble.com.

Reply via email to