Re: email from servers claiming to be ours

2021-11-17 Thread Benny Pedersen
On 2021-11-17 08:57, Ruben Safir wrote: On Wed, Nov 17, 2021 at 07:56:12AM +0100, Benny Pedersen wrote: On 2021-11-16 23:55, Ruben Safir wrote: >I got an email from cpa...@mrbrklyn.com which is not from >us, as we are mrbrklyn.com local envelope sender should be rejected in port 25, no real use

Re: email from servers claiming to be ours

2021-11-16 Thread Ruben Safir
On Wed, Nov 17, 2021 at 07:56:12AM +0100, Benny Pedersen wrote: > On 2021-11-16 23:55, Ruben Safir wrote: > >I got an email from cpa...@mrbrklyn.com which is not from > >us, as we are mrbrklyn.com > > local envelope sender should be rejected in port 25, no real users > do this > my mailing lists

Re: email from servers claiming to be ours

2021-11-16 Thread Ruben Safir
On Wed, Nov 17, 2021 at 07:56:12AM +0100, Benny Pedersen wrote: > On 2021-11-16 23:55, Ruben Safir wrote: > >I got an email from cpa...@mrbrklyn.com which is not from > >us, as we are mrbrklyn.com > > local envelope sender should be rejected in port 25, no real users > do this > > symtoms is enve

Re: email from servers claiming to be ours

2021-11-16 Thread Benny Pedersen
On 2021-11-17 05:08, Ruben Safir wrote: In /etc/postfix/main.cf: smtpd_sender_restrictions = permit_mynetworks permit_sasl_authenticated check_sender_access pcre:/etc/postfix/sender-access permit I want it to accept email from my local machines and my own serv

Re: email from servers claiming to be ours

2021-11-16 Thread Dominic Raferd
On 16/11/2021 22:55, Ruben Safir wrote: I got an email from cpa...@mrbrklyn.com which is not from us, as we are mrbrklyn.com How do I block email with this on the From line From cpa...@mrbrklyn.com Tue Nov 16 03:59:34 2021 Return-Path: X-Original-To: ru...@mrbrklyn.com Delivered-To: ru...@mr

Re: email from servers claiming to be ours

2021-11-16 Thread Benny Pedersen
On 2021-11-16 23:55, Ruben Safir wrote: I got an email from cpa...@mrbrklyn.com which is not from us, as we are mrbrklyn.com local envelope sender should be rejected in port 25, no real users do this symtoms is envelope sender is equal to envelope recipient, but this should only be accepted

Re: email from servers claiming to be ours

2021-11-16 Thread raf
On Tue, Nov 16, 2021 at 11:22:03PM -0500, Ruben Safir wrote: > On 11/16/21 19:57, raf wrote: > > This only applies the check for email that isn't coming > > from your own networks/users. > > Sorry - I misunderstood. Thanks I will study this > > Reuvain The following documents will help: The

Re: email from servers claiming to be ours

2021-11-16 Thread Ruben Safir
On 11/16/21 19:57, raf wrote: > This only applies the check for email that isn't coming > from your own networks/users. Sorry - I misunderstood. Thanks I will study this Reuvain -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proport

Re: email from servers claiming to be ours

2021-11-16 Thread Ruben Safir
On Wed, Nov 17, 2021 at 11:57:28AM +1100, raf wrote: > On Tue, Nov 16, 2021 at 05:55:03PM -0500, Ruben Safir > wrote: > > > I got an email from cpa...@mrbrklyn.com which is not from > > us, as we are mrbrklyn.com > > > > How do I block email with this on the From line > > > > >From cpa...@mrbr

Re: email from servers claiming to be ours

2021-11-16 Thread raf
On Tue, Nov 16, 2021 at 05:55:03PM -0500, Ruben Safir wrote: > I got an email from cpa...@mrbrklyn.com which is not from > us, as we are mrbrklyn.com > > How do I block email with this on the From line > > >From cpa...@mrbrklyn.com Tue Nov 16 03:59:34 2021 I think the simplest approach to re

Re: email from servers claiming to be ours

2021-11-16 Thread postfix
> On 11-16-2021 5:55 pm, Ruben Safir wrote: > I got an email from cpa...@mrbrklyn.com which is not from > us, as we are mrbrklyn.com > > How do I block email with this on the From line You could just block any mail received on port 25 with mrbrklyn.com using a header check as someone else menti

Re: email from servers claiming to be ours

2021-11-16 Thread Ralph Seichter
* Ruben Safir: > How do I block email with this on the From line You can use Postfix's header_checks(5) content inspection for message headers, and check_sender_access to reject based on the envelope sender address. -Ralph