Nicolas KOWALSKI: > > /etc/postfix/smtp_reply_filter: > > # Postfix uses the last reply code in a multi-line reply. > > /^5(\d\d .*your:ipv6:addr:here.*)/ 4$1 > > > > Then, Postfix will try to deliver to a different IP address. > > I also tried this workaround, but it does not seem to work as expected: > the server reply is replaced, but the mail is still bounced: > > Aug 21 09:56:42 petole postfix/smtp[6690]: 0275E402B6: > to=<nicolas.kowal...@gmail.com>, > relay=gmail-smtp-in.l.google.com[2a00:1450:400c:c03::1b]:25, > delay=0.92, delays=0.03/0.06/0.63/0.2, dsn=5.7.1, status=bounced
Argh. You need to replace the 5.X.X. This pattern replaces both fives just to be sure. /^5(\d\d )5(.*your:ipv6:addr:here.*)/ 4${1}4$2 Wietse