On Fri, Jul 03, 2020 at 11:40:35PM +1200, Peter wrote: > On 3/07/20 10:45 pm, Matus UHLAR - fantomas wrote: > > On 01.07.20 13:08, SysAdmin EM wrote: > >> I think he explained me wrong. I already have this configuration, but I > >> have some mails in the "hold" state of Hotmail assigned to IP number 1 > >> and number 2 > > > > assigned? Mails in "Hold" queue can't be assigned to an interface. They can > > be unholded so postfix will retry delivery > > The message has a delivery transport and destination assigned, if you > release a message from hold it will be put in the deferred queue. This > does not change the transport or destination for the message.
This is not correct. There is no delivery transport assigned to deferred messages. Only "content-filter" is sticky that way. For messages without a "content-filter" the transport/nexthop pair is recomputed each time a message enters the active queue. > >> when configuring a new interface, let's call interface number 5, > >> it is possible to move the mails assigned to interface number 1 and > >> number 2 to interface number 5? > > You can requeue the message with postsuper -r queueid instead of > releasing it from hold (postsuper -H). By requeuing the message postfix > will apply certain settings to determine the transport and destination. > See postsuper(8) for details. This is not necessary, except when you need to strip an unwanted content-filter. -- Viktor.