Re: smtpd remove implicit ruleset behavior

2019-11-25 Thread Tim van der Molen
Gilles Chehade (2019-11-25 08:43 +0100): > and this diff makes smtpd warn at startup that implicit rules were used: > > laptop$ doas smtpd > smtpd: ruleset relies on implicit 'from' at line 10 > smtpd: ruleset relies on implicit 'for' at line 11 > laptop$ Without context it may not be obvious wha

Re: smtpd remove implicit ruleset behavior

2019-11-24 Thread Gilles Chehade
On Mon, Nov 25, 2019 at 08:30:21AM +0100, Gilles Chehade wrote: > On Mon, Nov 25, 2019 at 01:09:20AM +0100, Joerg Jung wrote: > > On Sun, Nov 24, 2019 at 10:54:14AM +0100, Gilles Chehade wrote: > > > > > > Ten years ago, it seemed a very neat idea that OpenSMTPD would have some > > > implicit defa

Re: smtpd remove implicit ruleset behavior

2019-11-24 Thread Gilles Chehade
On Mon, Nov 25, 2019 at 01:09:20AM +0100, Joerg Jung wrote: > On Sun, Nov 24, 2019 at 10:54:14AM +0100, Gilles Chehade wrote: > > > > Ten years ago, it seemed a very neat idea that OpenSMTPD would have some > > implicit defaults to avoid people creating open relays. > > > > Back then I was trying

Re: smtpd remove implicit ruleset behavior

2019-11-24 Thread Joerg Jung
On Sun, Nov 24, 2019 at 10:54:14AM +0100, Gilles Chehade wrote: > > Ten years ago, it seemed a very neat idea that OpenSMTPD would have some > implicit defaults to avoid people creating open relays. > > Back then I was trying to make the smtpd.conf as compact as possible and > came up with the ve

Re: smtpd remove implicit ruleset behavior

2019-11-24 Thread Quentin Rameau
> Hello, Hi Gilles, > Is there strong objection to move to a mode where implicit notation will > no longer be allowed ? I think that's a good idea regarding the growing of matching facilities in smtpd, as long as we make sure the removal of implicit "from local" doesn't turn somehow into an impl

Re: smtpd remove implicit ruleset behavior

2019-11-24 Thread Consus
On 10:54 Sun 24 Nov, Gilles Chehade wrote: > Hello, > > Ten years ago, it seemed a very neat idea that OpenSMTPD would have some > implicit defaults to avoid people creating open relays. > > Back then I was trying to make the smtpd.conf as compact as possible and > came up with the very nice idea

smtpd remove implicit ruleset behavior

2019-11-24 Thread Gilles Chehade
Hello, Ten years ago, it seemed a very neat idea that OpenSMTPD would have some implicit defaults to avoid people creating open relays. Back then I was trying to make the smtpd.conf as compact as possible and came up with the very nice idea of "implicit local" so that we would get a very compact: