[pfx] Re: Deny any sender address with subdomain

2023-04-29 Thread Viktor Dukhovni via Postfix-users
On Sun, Apr 30, 2023 at 01:33:13AM +0100, Allen Coates via Postfix-users wrote: > Any ideas on the opposite - i.e. WITHOUT a domain? > > I sometimes receive messages from "u...@co.uk"... With eTLD (effective TLD) domains that have neither address nor MX records the

[pfx] Re: Deny any sender address with subdomain

2023-04-29 Thread Allen Coates via Postfix-users
On 28/04/2023 14:59, Gerd Hoerst via Postfix-users wrote: > Hi ! > > question 1st : is it a good idea to reject any email which is not sent from a > domain  (means sen...@domain.tld) any > other like sen...@sub.domain.tld or sub.sub.domain.tld is rejected ? Any ideas on the opposite - i.e.

[pfx] Re: Deny any sender address with subdomain

2023-04-28 Thread Viktor Dukhovni via Postfix-users
On Fri, Apr 28, 2023 at 06:38:04PM +0200, Jaroslaw Rafa via Postfix-users wrote: > Also take into account that many countries use two-level domain registration > scheme ... In Japan, 3rd-level public suffixes are quite common, taking the form: ...jp. For example: hospital.hekinan.aichi.jp.

[pfx] Re: Deny any sender address with subdomain

2023-04-28 Thread Ken Peng via Postfix-users
April 29, 2023 at 12:38 AM, "Jaroslaw Rafa via Postfix-users" wrote: > > Dnia 28.04.2023 o godz. 15:59:53 Gerd Hoerst via Postfix-users pisze: > > > > > question 1st : is it a good idea to reject any email which is not > > sent from a domain  (means sen...@domain.tld) any other like > >

[pfx] Re: Deny any sender address with subdomain

2023-04-28 Thread Jaroslaw Rafa via Postfix-users
Dnia 28.04.2023 o godz. 15:59:53 Gerd Hoerst via Postfix-users pisze: > > question 1st : is it a good idea to reject any email which is not > sent from a domain  (means sen...@domain.tld) any other like > sen...@sub.domain.tld or sub.sub.domain.tld is rejected ? As others have said, it's a total

[pfx] Re: Deny any sender address with subdomain

2023-04-28 Thread Bill Cole via Postfix-users
On 2023-04-28 at 09:59:53 UTC-0400 (Fri, 28 Apr 2023 15:59:53 +0200) Gerd Hoerst via Postfix-users is rumored to have said: Hi ! question 1st : is it a good idea to reject any email which is not sent from a domain  (means sen...@domain.tld) any other like sen...@sub.domain.tld or

[pfx] Re: Deny any sender address with subdomain

2023-04-28 Thread Gerald Galster via Postfix-users
> question 1st : is it a good idea to reject any email which is not sent from a > domain (means sen...@domain.tld) any other like sen...@sub.domain.tld or > sub.sub.domain.tld is rejected ? Generally, no, because you will reject legitimate domains that just look like subdomains, e.g. *.co.uk,

[pfx] Re: Deny any sender address with subdomain

2023-04-28 Thread David Bürgin via Postfix-users
Gerd Hoerst: > question 1st : is it a good idea to reject any email which is not sent from a > domain  (means sen...@domain.tld) any other like sen...@sub.domain.tld or > sub.sub.domain.tld is rejected ? > > at least i tried with header checks in pcre > > /^From:\.*@.*\.*\.*/    DISCARD NO

[pfx] Re: Deny any sender address with subdomain

2023-04-28 Thread Noel Jones via Postfix-users
On 4/28/2023 8:59 AM, Gerd Hoerst via Postfix-users wrote: Hi ! question 1st : is it a good idea to reject any email which is not sent from a domain  (means sen...@domain.tld) any other like sen...@sub.domain.tld or sub.sub.domain.tld is rejected ? That seems like a bad idea, extremely