Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread Henrik K
On Fri, Jul 05, 2019 at 09:50:35AM +0300, Henrik K wrote: > On Fri, Jul 05, 2019 at 02:42:28AM +, David Jones wrote: > > Maybe allow the RelayCountry check to happen on the msa network or the > > first relay? > > > > Or something like trusted_countries that could provide a limit/boundary >

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread Henrik K
On Fri, Jul 05, 2019 at 02:42:28AM +, David Jones wrote: > Maybe allow the RelayCountry check to happen on the msa network or the > first relay? > > Or something like trusted_countries that could provide a limit/boundary > to the trust of trusted_networks? > > Compromised accounts often

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread David Jones
On 7/5/19 1:54 AM, Henrik K wrote: > On Fri, Jul 05, 2019 at 09:50:35AM +0300, Henrik K wrote: >> On Fri, Jul 05, 2019 at 02:42:28AM +, David Jones wrote: >>> Maybe allow the RelayCountry check to happen on the msa network or the >>> first relay? >>> >>> Or something like trusted_countries

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread Bill Cole
On 5 Jul 2019, at 9:37, David Jones wrote: For the sake of others, it would be beneficial if the default behavior of X-Relay-Countries changed to the X-Relay-Countries-MSA. Definitely not for 3.4.3. Preferably not at all. While I agree in principle with having some way to trust machines as

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread David Jones
On 7/5/19 9:09 AM, Bill Cole wrote: > On 5 Jul 2019, at 9:37, David Jones wrote: > >> For the sake of others, it would be beneficial if the default behavior >> of X-Relay-Countries changed to the X-Relay-Countries-MSA. > > Definitely not for 3.4.3. Preferably not at all. While I agree in >

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread David Jones
On 7/5/19 9:03 AM, Henrik K wrote: > On Fri, Jul 05, 2019 at 01:37:50PM +, David Jones wrote: >> >> For the sake of others, it would be beneficial if the default behavior >> of X-Relay-Countries changed to the X-Relay-Countries-MSA. > > I renamed it X-Relay-Countries-MUA since it's more

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread David Jones
On 7/5/19 9:36 AM, Henrik K wrote: > On Fri, Jul 05, 2019 at 02:32:42PM +, David Jones wrote: >> On 7/5/19 9:03 AM, Henrik K wrote: >>> On Fri, Jul 05, 2019 at 01:37:50PM +, David Jones wrote: For the sake of others, it would be beneficial if the default behavior of

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread David Jones
On 7/5/19 9:51 AM, Henrik K wrote: > On Fri, Jul 05, 2019 at 02:46:16PM +, David Jones wrote: >> >> I am completely OK with switching to a new X-Relay-Countries-MUA header >> as long as it works just like the current X-Relay-Countries when there >> is no MUA. If it's differnt logic or an

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread Henrik K
On Fri, Jul 05, 2019 at 01:37:50PM +, David Jones wrote: > > For the sake of others, it would be beneficial if the default behavior > of X-Relay-Countries changed to the X-Relay-Countries-MSA. I renamed it X-Relay-Countries-MUA since it's more describing. It lists all after the MSA itself.

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread Bill Cole
On 5 Jul 2019, at 10:30, David Jones wrote: On 7/5/19 9:09 AM, Bill Cole wrote: On 5 Jul 2019, at 9:37, David Jones wrote: For the sake of others, it would be beneficial if the default behavior of X-Relay-Countries changed to the X-Relay-Countries-MSA. Definitely not for 3.4.3. Preferably

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread Henrik K
On Fri, Jul 05, 2019 at 02:32:42PM +, David Jones wrote: > On 7/5/19 9:03 AM, Henrik K wrote: > > On Fri, Jul 05, 2019 at 01:37:50PM +, David Jones wrote: > >> > >> For the sake of others, it would be beneficial if the default behavior > >> of X-Relay-Countries changed to the

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread Henrik K
On Fri, Jul 05, 2019 at 02:46:16PM +, David Jones wrote: > > I am completely OK with switching to a new X-Relay-Countries-MUA header > as long as it works just like the current X-Relay-Countries when there > is no MUA. If it's differnt logic or an extra header to check, then > that would

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread Henrik K
On Fri, Jul 05, 2019 at 04:42:54PM +, David Jones wrote: > > X-Relay-Countries-All _RELAYCOUNTRYALL_ > > All possible relays (internal + external). > > > > Not sure how this would be helpful since it mixes everything together. > I guess it could be used as a positive indicator

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread Bill Cole
On 5 Jul 2019, at 12:31, David Jones wrote: On 7/5/19 9:55 AM, Bill Cole wrote: On 5 Jul 2019, at 10:30, David Jones wrote: On 7/5/19 9:09 AM, Bill Cole wrote: On 5 Jul 2019, at 9:37, David Jones wrote: I believe the only change would be the Relay-Countries value would have country

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread David Jones
On 7/5/19 9:55 AM, Bill Cole wrote: > On 5 Jul 2019, at 10:30, David Jones wrote: > >> On 7/5/19 9:09 AM, Bill Cole wrote: >>> On 5 Jul 2019, at 9:37, David Jones wrote: >>> >> >> I believe the only change would be the Relay-Countries value would have >> country codes in it. > > Yes, which it

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread Henrik K
On Fri, Jul 05, 2019 at 03:59:41PM +, David Jones wrote: > My understanding of the proposed X-Relay-Countries-MUA would be > identical to the current X-Relay-Countries except when there is an > authenticated MSA, then it would show the country code. I've never even thought of this, since it

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread Henrik K
On Fri, Jul 05, 2019 at 04:31:01PM +, David Jones wrote: > > Perhaps we need something added like a 3rd option like boundary_networks? > > internal_networks = in our admin control and won't forge headers > trusted_networks = trust to not forge headers (no change) > boundary_networks = works

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread Henrik K
On Fri, Jul 05, 2019 at 07:30:11PM +0300, Henrik K wrote: > X-Relay-Countries-Auth _RELAYCOUNTRYAUTH_ >Auth will contain all relays starting from the first relay that used >authentication. For example, this could be used to check for hacked >local users coming in from unexpected

Re: Fake EHLO triggering ALL_TRUSTED

2019-07-05 Thread David Jones
On 7/5/19 11:30 AM, Henrik K wrote: > On Fri, Jul 05, 2019 at 03:59:41PM +, David Jones wrote: >> My understanding of the proposed X-Relay-Countries-MUA would be >> identical to the current X-Relay-Countries except when there is an >> authenticated MSA, then it would show the country code. >