Re: LMTP delivery failover [SRV support]

2014-01-27 Thread Andrzej A. Filip
On 01/28/2014 12:38 AM, Wietse Venema wrote: > Andrzej A. Filip: >> Do you plan to support SRV DNS records in a few years perspective? > > What real problem does this solve? Developer cycles are finite > and must be spent wisely. IMHO it would allow better configuration of (internet to internal)

Re: LMTP delivery failover

2014-01-27 Thread Quanah Gibson-Mount
--On Tuesday, January 28, 2014 2:40 AM + Viktor Dukhovni wrote: On Tue, Jan 28, 2014 at 01:02:45AM +, Viktor Dukhovni wrote: The patch below may not even compile, but probably works, give it a try. As you can see, it is mostly a matter of adding a bit of documentation and disabling c

Re: LMTP delivery failover

2014-01-27 Thread Viktor Dukhovni
On Tue, Jan 28, 2014 at 01:02:45AM +, Viktor Dukhovni wrote: > The patch below may not even compile, but probably works, give it a try. > As you can see, it is mostly a matter of adding a bit of documentation > and disabling conditionals that make existing code apply only to SMTP. > > If it w

Re: LMTP delivery failover

2014-01-27 Thread Viktor Dukhovni
On Mon, Jan 27, 2014 at 02:51:20PM -0800, Quanah Gibson-Mount wrote: > >The fallback relay setting is a fixed per-transport setting. So > >the fallback relay would not be per-user. Only the first LMTP > >server to try (per-user transport table). Each transport carries > >a fixed fallback relay

Virtual Domains and Aliases

2014-01-27 Thread Johannes von Rotz
Hi, I have a few questions regarding redirection of mail with aliases and virtual domains. Sometimes there are incoming messages which have the actual FQDN of the machine as recipient, although they were sent to a virtual domain. I have the following setup: - The machine has the FQDN foo.ext.bar

Re: LMTP delivery failover [SRV support]

2014-01-27 Thread Wietse Venema
Andrzej A. Filip: > Do you plan to support SRV DNS records in a few years perspective? What real problem does this solve? Developer cycles are finite and must be spent wisely. Wietse

Re: LMTP delivery failover [SRV support]

2014-01-27 Thread Andrzej A. Filip
On 01/27/2014 09:37 PM, Wietse Venema wrote: > Quanah Gibson-Mount: >> As part of making Zimbra more robust, we're abstracting our data layer. >> Currently, LMTP delivery is configured to point at a specific mailstore, >> which accepts delivery and stores the email in a SQL database. As part of

Re: LMTP delivery failover

2014-01-27 Thread Quanah Gibson-Mount
--On Monday, January 27, 2014 10:45 PM + Viktor Dukhovni wrote: On Mon, Jan 27, 2014 at 02:38:01PM -0800, Quanah Gibson-Mount wrote: >> Actually, that is not too difficult. Just specify a round-robin >> name as the "lmtp_fallback_relay" (new feature). While adding SRV >> support is tri

Re: LMTP delivery failover

2014-01-27 Thread Viktor Dukhovni
On Mon, Jan 27, 2014 at 02:38:01PM -0800, Quanah Gibson-Mount wrote: > >>Actually, that is not too difficult. Just specify a round-robin > >>name as the "lmtp_fallback_relay" (new feature). While adding SRV > >>support is tricky, adding "lmtp_fallback_relay" is I think quite > >>simple. > > > >T

Re: LMTP delivery failover

2014-01-27 Thread Quanah Gibson-Mount
--On Monday, January 27, 2014 2:36 PM -0800 Quanah Gibson-Mount wrote: --On Monday, January 27, 2014 10:32 PM + Viktor Dukhovni wrote: Actually, that is not too difficult. Just specify a round-robin name as the "lmtp_fallback_relay" (new feature). While adding SRV support is tricky,

Re: LMTP delivery failover

2014-01-27 Thread Quanah Gibson-Mount
--On Monday, January 27, 2014 10:32 PM + Viktor Dukhovni wrote: Actually, that is not too difficult. Just specify a round-robin name as the "lmtp_fallback_relay" (new feature). While adding SRV support is tricky, adding "lmtp_fallback_relay" is I think quite simple. That would be cool

Re: LMTP delivery failover

2014-01-27 Thread Viktor Dukhovni
On Mon, Jan 27, 2014 at 02:30:24PM -0800, Quanah Gibson-Mount wrote: > >I agree that we hold off on new mechanisms until a need exists. > >Equal-preference A records should solve 90% of the problem. By not > >solving the remaining 10% at great effort, we can spend the limited > >development cycles

Re: LMTP delivery failover

2014-01-27 Thread Quanah Gibson-Mount
--On Monday, January 27, 2014 4:54 PM -0500 Wietse Venema wrote: I agree that we hold off on new mechanisms until a need exists. Equal-preference A records should solve 90% of the problem. By not solving the remaining 10% at great effort, we can spend the limited development cycles more wisely

Re: LMTP delivery failover

2014-01-27 Thread Wietse Venema
Viktor Dukhovni: > On Mon, Jan 27, 2014 at 03:53:19PM -0500, Wietse Venema wrote: > > > > Before inventing new lookup mechanisms, have you considered the > > > possibility of making the existing mechanisms available for LMTP? > > > > > > - Using multiple A records per name? If all hosts are equiv

Re: LMTP delivery failover

2014-01-27 Thread Viktor Dukhovni
On Mon, Jan 27, 2014 at 03:53:19PM -0500, Wietse Venema wrote: > > Before inventing new lookup mechanisms, have you considered the > > possibility of making the existing mechanisms available for LMTP? > > > > - Using multiple A records per name? If all hosts are equivalent > > that would be the

Re: LMTP delivery failover

2014-01-27 Thread Wietse Venema
Wietse Venema: > Quanah Gibson-Mount: > > As part of making Zimbra more robust, we're abstracting our data layer. > > Currently, LMTP delivery is configured to point at a specific mailstore, > > which accepts delivery and stores the email in a SQL database. As part of > > the abstraction, we're

Re: LMTP delivery failover

2014-01-27 Thread Viktor Dukhovni
On Mon, Jan 27, 2014 at 12:18:44PM -0800, Quanah Gibson-Mount wrote: > However, postfix LMTP seems to only take a single destination > address (please correct me if I'm wrong. ;) ). A possible solution > we've considered is requiring a load balancer be deployed between > postfix and the mailstore

Re: LMTP delivery failover

2014-01-27 Thread Wietse Venema
Quanah Gibson-Mount: > As part of making Zimbra more robust, we're abstracting our data layer. > Currently, LMTP delivery is configured to point at a specific mailstore, > which accepts delivery and stores the email in a SQL database. As part of > the abstraction, we're moving to a SQL cluster,

LMTP delivery failover

2014-01-27 Thread Quanah Gibson-Mount
As part of making Zimbra more robust, we're abstracting our data layer. Currently, LMTP delivery is configured to point at a specific mailstore, which accepts delivery and stores the email in a SQL database. As part of the abstraction, we're moving to a SQL cluster, which means that LMTP deliv