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 does... > symtoms is envelope sender is equal to envelope recipient, what? It is not in this case. The sender is cpa...@mrbrklyn.com which is fake. > but this > should only be accepted if its submission port or smtps port > > create a ticket for cpanel on this issue so it can be solved where > the bug is there is no cpanel. This is a postfix help list. > > for the postfix part it would be possible to make another > restriction class to reject senders that is local on port 25 ? Personally, I don't know why a mail server should ever accept any incoming email from a foriegn system claiming to be part of the local network. If I was creating this, it would has a simple list of IP Addresses that are considered local plus the non-routable ipaddr That would be the default setting. > > i just add > > reject_semder_access maptype:/etc/postfix/recipient_maps.maptype > > maptype must be a database type eq mysql sqlite postgrsql ldap since > key results is diffrent pr key > > hopefully this maps know what is localy accepted > > do not use this on submission/smtps ports > Which ports are those? 53? > all the best -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com Being so tracked is for FARM ANIMALS and extermination camps, but incompatible with living as a free human being. -RI Safir 2013