Hi Wietse, I have a dedicated transport for this ISP, so I'll add this option right now !
Thanks, YM Le mar. 12 avr. 2022 à 15:54, Wietse Venema <wie...@porcupine.org> a écrit : > Jaros?aw Rafa: > > W dniu wto, 12.04.2022 o godzinie 13?52?+0200, u?ytkownik Matus UHLAR - > > fantomas napisa?: > > > On 12.04.22 11:21, Yves-Marie Le Pors Chauvel wrote: > > > > Using Postfix 3.5.6 on debian 11, I would like to know if there is > > > > any > > > > possibility not to use an alternative MX for outbound email > > > > > > MX is for inbound e-mail by definition > > > > I think what the OP meant is that recipient domain has two MX-es and > > the goal is that the Postfix doesn't try the second MX in case the > > first one rejects with 4xx but defers the message immediately (for > > this specific recipient domain). > > This could be accomplished with a transport_maps entry that resolves > to an SMTP client with smtp_mx_session_limit=1. > > /etc/postfix/transport > example.com one-mx-only: > > /etc/postfix/master.cf > one-mx-only .. .. .. .. .. .. smtp > -o smtp_mx_session_limit=1 > > Do "postmap /etc/postfix/transport" after editing the file. > > Wietse > -- Yves-Marie LE PORS-CHAUVEL Email Product Manager *T: +33 2 23 45 57 99* (3043) 23, rue du Bignon - 35 135 Chantepie www.ccmbenchmark.com