Re: multiple relay servers

2020-10-21 Thread Wietse Venema
On 10/21/20 11:16 AM, Fred Morris wrote: > If DNSSEC isn't required for the domain(s) in question (or at least > postfix in this specific case) you might look at RPZ as a way of > rewriting just a single record in the zone: https://www.dnsrpz.info/ Demi M. Obenour: > You can also use a local valid

Re: multiple relay servers

2020-10-21 Thread Demi M. Obenour
On 10/21/20 11:16 AM, Fred Morris wrote: > If DNSSEC isn't required for the domain(s) in question (or at least postfix > in this specific case) you might look at RPZ as a way of rewriting just a > single record in the zone: https://www.dnsrpz.info/ You can also use a local validating recursive r

Re: multiple relay servers

2020-10-21 Thread Fred Morris
If DNSSEC isn't required for the domain(s) in question (or at least postfix in this specific case) you might look at RPZ as a way of rewriting just a single record in the zone: https://www.dnsrpz.info/ On Wed, 21 Oct 2020, IL Ka wrote: I think you can install the DNS server locally (on the sa

Re: multiple relay servers

2020-10-21 Thread Wietse Venema
Zsombor B: > Hi Wietse, > > > > Postfix 3.5 supports multiple relayhosts: > > Currently we are on 3.2 > > > If these folks want to receive mail in six places, why can't they > > set up DNS records like everyone else does? > > I'm already over this discussion, that's why I have asked the questi

Re: multiple relay servers

2020-10-21 Thread Zsombor B
Hi Wietse, Postfix 3.5 supports multiple relayhosts: Currently we are on 3.2 If these folks want to receive mail in six places, why can't they set up DNS records like everyone else does? I'm already over this discussion, that's why I have asked the question. :( Big company, rigid people,

Re: multiple relay servers

2020-10-21 Thread Wietse Venema
Zsombor B: > > Hi All, > > > Customer asked us to relay their mails to a specific smtp server. > > Actually they provided 6 possible destination servers. > > > When add them to sender_dependent_relayhost_maps postmap complains > that there are duplicate entries: > > @foo.bar [mail1.whateve

Re: multiple relay servers

2020-10-21 Thread IL Ka
I think you can install the DNS server locally (on the same machine where postfix runs) and configure postfix to use it On Wed, Oct 21, 2020 at 1:42 PM Zsombor B wrote: > > I can' force the customer changing their DNS. > > Any postfix solution? > > BTW it looks like postfix delivers mails to al

Re: multiple relay servers

2020-10-21 Thread Zsombor B
I can' force the customer changing their DNS. Any postfix solution? BTW it looks like postfix delivers mails to all the relay servers so the postmap warning is a bit misleading as if it won't work. But this brings up another question: if any of the relay servers can't accept mail will pos

Re: multiple relay servers

2020-10-21 Thread Christos Chatzaras
> Hi All, > > > Customer asked us to relay their mails to a specific smtp server. > > Actually they provided 6 possible destination servers. > > > When add them to sender_dependent_relayhost_maps postmap complains that there > are duplicate entries: > > @foo.bar [mail1.whatever]:123 > @foo

multiple relay servers

2020-10-21 Thread Zsombor B
Hi All, Customer asked us to relay their mails to a specific smtp server. Actually they provided 6 possible destination servers. When add them to sender_dependent_relayhost_maps postmap complains that there are duplicate entries: @foo.bar [mail1.whatever]:123 @foo.bar [mail2.whatever]:12

Re: Best way of synchronizing configs for multiple relay servers?

2018-11-21 Thread K F
Thanks Wietse, looks very interesting. I'll dig into those. Den onsdag den 7. november 2018 13.23.27 CET skrev Wietse Venema : Patrick Ben Koetter: > * K F : > > Hi all > > I'm contemplating on how I best keep all our relay servers synchronized in > > their config.They are set up as ro

Re: Best way of synchronizing configs for multiple relay servers?

2018-11-07 Thread Stefan Bauer
i have similar case and set the first relayseever inmy pool as the one on which changes ar eonly allowed. then i do scp + service restart to the others with bash oneliner on demand. for the future i plan to check in config from any host to central svn/git repo and check frequently for changes from

Re: Best way of synchronizing configs for multiple relay servers?

2018-11-07 Thread Patrick Ben Koetter
* K F : > Not sure I understand the suggestions fully.The configuration management > systems I've found for postfix, are all concentrated on a single postfix > system?Containers? Like in Docker? Why? I have the servers set up already?Not > sure what the Makefile should do in the configuration c

Re: Best way of synchronizing configs for multiple relay servers?

2018-11-07 Thread Wietse Venema
Patrick Ben Koetter: > * K F : > > Hi all > > I'm contemplating on how I best keep all our relay servers synchronized in > > their config.They are set up as round robin servers in the DNS, so they > > distribute the load pretty ok.My first idea was to set up some rsync to > > copy the relevant d

Re: Best way of synchronizing configs for multiple relay servers?

2018-11-07 Thread K F
Not sure I understand the suggestions fully.The configuration management systems I've found for postfix, are all concentrated on a single postfix system?Containers? Like in Docker? Why? I have the servers set up already?Not sure what the Makefile should do in the configuration context. It's pro

Re: Best way of synchronizing configs for multiple relay servers?

2018-11-07 Thread Patrick Ben Koetter
* K F : > Hi all > I'm contemplating on how I best keep all our relay servers synchronized in > their config.They are set up as round robin servers in the DNS, so they > distribute the load pretty ok.My first idea was to set up some rsync to copy > the relevant directories like /etc/postfix and

Best way of synchronizing configs for multiple relay servers?

2018-11-07 Thread K F
Hi all I'm contemplating on how I best keep all our relay servers synchronized in their config.They are set up as round robin servers in the DNS, so they distribute the load pretty ok.My first idea was to set up some rsync to copy the relevant directories like /etc/postfix and /etc/opendkim.Then