Viktor Dukhovni via Postfix-users <postfix-users@postfix.org> wrote:
> On Mon, Jan 08, 2024 at 04:02:48PM +0100, Michael Grimm via Postfix-users 
> wrote:

>> Sometimes outgoing mail is deferred due to "reputational issues" at
>> the receiving side. These "reputational issues" mostly concerned my
>> IP6 addresses, thus I removed IP6 mailing completely. But now, I do
>> want to give it a try, again.
>> 
>> In the past, whenever a mail has been deferred, I manually modified
>> inet_protocols to the protocol *not* involved, restarted postfix and
>> ran 'postqueue -f'. After having the "reputational issue" solved, I
>> returned to inet_protocols=all.
> 
> You shouldn't need anything nearly so complex.
> 
> I have in master.cf:
> 
>    smtp       unix  -       -       n       -       -       smtp
>    smtpv4     unix  -       -       n       -       -       smtp
>        -o inet_protocols=ipv4
>    smtpv6     unix  -       -       n       -       -       smtp
>        -o inet_protocols=ipv6
> 
> For destination domains found to have issues with IPv6 (or conversely
> with IPv4) just specify one of the alternative transports.
> 
>    gmail.com   smtpv4:gmail.com
>    example.com smtpv6:example.com

Thanks, this is a good solution in my case, especially due to the fact, that 
those "reputational issues" are not that very often to solve.

But will that work, once a mail has been deferred and is sitting in the queue 
already? 
Meaning, if a 'postqueue -f' will retry with smtpv4, instead sticking to the 
old IPv4 address?

> Of course, as noted by Wietse, when MX-hosts for a myriad (not possible
> to explicitly list) domains need a specific transport, the DNS reply
> filter comes in handy.  Between that, and explicit transports you should
> be able to have IPv4+IPv6 as a default with appropriate work-arounds.
> 
> Or perhaps IPv4 as a default, with IPv6 or both for domains where those
> work better.

I do still have sooo much to learn, even after 10+ years of using postfix ;-)

Thanks to both of you and regards,
Michael

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to