Re: gradual shift of traffic

2022-02-17 Thread Wietse Venema
Viktor Dukhovni: > On Thu, Feb 17, 2022 at 11:02:37AM -0500, Wietse Venema wrote: > > > > Out of interest, how does this behave if one of the servers is temporarily > > > unreachable? > > > > Randmap returns ONE result. Oh, and it should be > > > > default_transport_maps = randmap:{ ... } Sorry

Re: gradual shift of traffic

2022-02-17 Thread Viktor Dukhovni
On Thu, Feb 17, 2022 at 11:02:37AM -0500, Wietse Venema wrote: > > Out of interest, how does this behave if one of the servers is temporarily > > unreachable? > > Randmap returns ONE result. Oh, and it should be > > default_tramsport_maps = randmap:{ ... } The various transports could have "smt

Re: gradual shift of traffic

2022-02-17 Thread Wietse Venema
Matthew Richardson: > Wietse Venema wrote:- > >>> Is it possible to accomplish a gradual shift of traffic from one mail > >>> relay > >> to another via postfix? > > > >The randmap() feature comes to mind. > > > >Instead o

Re: gradual shift of traffic

2022-02-17 Thread Matthew Richardson
Wietse Venema wrote:- >>> Is it possible to accomplish a gradual shift of traffic from one mail relay >> to another via postfix? > >The randmap() feature comes to mind. > >Instead of "relayhost = old.example" or "relayhost = new.example" u

Re: gradual shift of traffic

2022-02-15 Thread Matus UHLAR - fantomas
On Mon, Feb 14, 2022 at 5:55 PM Wietse Venema wrote: The randmap() feature comes to mind. Instead of "relayhost = old.example" or "relayhost = new.example" use: default_transport = randmap:{smtp:old.example, smtp:old.example, smtp:new.example} On 15.02.22 11:51, Danil Smirnov wro

Re: gradual shift of traffic

2022-02-15 Thread Wietse Venema
Danil Smirnov: > On Tue, Feb 15, 2022 at 3:11 PM Wietse Venema wrote: > > > > Can this technique be used in case of "new.example" is the Postfix > > itself, > > > i.e. sending without the relay? > > > > You asked aobut warming up a new relayhost, so I gave a solution > > for doing that. > > > >

Re: gradual shift of traffic

2022-02-15 Thread Danil Smirnov
On Tue, Feb 15, 2022 at 3:11 PM Wietse Venema wrote: > > Can this technique be used in case of "new.example" is the Postfix > itself, > > i.e. sending without the relay? > > You asked aobut warming up a new relayhost, so I gave a solution > for doing that. > Yes, and thank you for that. > > E.

Re: gradual shift of traffic

2022-02-15 Thread Wietse Venema
Danil Smirnov: > Hi Wietse, > > Thank you very much for your answer! > > On Mon, Feb 14, 2022 at 5:55 PM Wietse Venema wrote: > > > The randmap() feature comes to mind. > > > > Instead of "relayhost = old.example" or "relayhost = new.example" use: > > > > default_transport = > > ran

Re: gradual shift of traffic

2022-02-15 Thread Danil Smirnov
Hi Wietse, Thank you very much for your answer! On Mon, Feb 14, 2022 at 5:55 PM Wietse Venema wrote: > The randmap() feature comes to mind. > > Instead of "relayhost = old.example" or "relayhost = new.example" use: > > default_transport = > randmap:{smtp:old.example, smtp:old.exampl

Re: gradual shift of traffic

2022-02-14 Thread Wietse Venema
Danil Smirnov: > Hi! > > Is it possible to accomplish a gradual shift of traffic from one mail relay > to another via postfix? The randmap() feature comes to mind. Instead of "relayhost = old.example" or "relayhost = new.example" use: default_transport =

gradual shift of traffic

2022-02-14 Thread Danil Smirnov
Hi! Is it possible to accomplish a gradual shift of traffic from one mail relay to another via postfix? I'd like to move quite a huge mail stream from one mail relay (set via "relayhost=") to another but the latter should be "warmed up" to avoid delivery issues. Is th