Re: smtpd: default to standard ports in relay-host

2019-07-24 Thread Klemens Nanni
On Wed, Jul 24, 2019 at 10:21:18PM +0200, Gilles Chehade wrote: > This becomes unnecessary with your diff since you assign port to 0 > for lmtp:// already. I left it intentionally to keep the diff simple, but sure; will commit with that check removed, thanks.

Re: smtpd: default to standard ports in relay-host

2019-07-24 Thread Gilles Chehade
On Tue, Jul 23, 2019 at 12:15:26PM +0200, Klemens Nanni wrote: > On Tue, Jul 23, 2019 at 11:00:04AM +0200, Gilles Chehade wrote: > > there is no schema today that should default to 587, unless > > submission:// is introduced as an alias to smtp+tls AND port 587. > Alright; this way we guarantee no

Re: smtpd: default to standard ports in relay-host

2019-07-23 Thread Klemens Nanni
On Tue, Jul 23, 2019 at 11:00:04AM +0200, Gilles Chehade wrote: > there is no schema today that should default to 587, unless > submission:// is introduced as an alias to smtp+tls AND port 587. Alright; this way we guarantee not to break any setup as the default of 25 for everything is kept, excep

Re: smtpd: default to standard ports in relay-host

2019-07-23 Thread Gilles Chehade
On Tue, Jul 23, 2019 at 10:54:57AM +0200, Klemens Nanni wrote: > On Tue, Jul 23, 2019 at 08:18:18AM +0200, Gilles Chehade wrote: > > it should definitely default to 25 in my opinion, disregarding if people > > use "relay host" for submission or not. > Fine with me; I just tried to be consistent wi

Re: smtpd: default to standard ports in relay-host

2019-07-23 Thread Klemens Nanni
On Tue, Jul 23, 2019 at 08:18:18AM +0200, Gilles Chehade wrote: > it should definitely default to 25 in my opinion, disregarding if people > use "relay host" for submission or not. Fine with me; I just tried to be consistent with the rest of smtpd's default values. > relay host may be used for an

Re: smtpd: default to standard ports in relay-host

2019-07-22 Thread Gilles Chehade
On Tue, Jul 23, 2019 at 01:34:11AM +0200, Klemens Nanni wrote: > Using the following configuration, I wrongly assumed smtpd(8) to pick > the appropiate ports by default depending on the protocol as it already > does for `listen' statements: > > action "relay" relay host smtps://la...@example

smtpd: default to standard ports in relay-host

2019-07-22 Thread Klemens Nanni
Using the following configuration, I wrongly assumed smtpd(8) to pick the appropiate ports by default depending on the protocol as it already does for `listen' statements: action "relay" relay host smtps://la...@example.com auth but no matter the protocol ("smtps" here), port 25 is being