[pfx] Re: invalid and non-fqdn hostname

2023-04-06 Thread Viktor Dukhovni via Postfix-users
On Fri, Apr 07, 2023 at 10:07:08AM +0800, Ken Peng via Postfix-users wrote: > i have the similar questions on these two clauses: > > reject_unknown_reverse_client_hostname > reject_unknown_client_hostname > > I know the first one require the sender IP has a valid PTR. > but for the second one, wh

[pfx] Re: invalid and non-fqdn hostname

2023-04-06 Thread Ken Peng via Postfix-users
i have the similar questions on these two clauses: reject_unknown_reverse_client_hostname reject_unknown_client_hostname I know the first one require the sender IP has a valid PTR. but for the second one, what's unknown client hostname? does it mean the PTR hostname must point to the sender IP a

[pfx] Re: invalid and non-fqdn hostname

2023-04-06 Thread Sean Gallagher via Postfix-users
On 7/04/2023 12:32 am, Viktor Dukhovni via Postfix-users wrote: On Thu, Apr 06, 2023 at 04:57:51PM +1000, Sean Gallagher via Postfix-users wrote: What a can of worms.. IDNA2003 allowed UTF8 in domain names IDNA specified an encoding system for mapping UTF8 labels to ACE-prefixed LDH labels th

[pfx] Re: pf snap 3.8-20230402 mem corruption issues

2023-04-06 Thread Steffen Nurpmeso via Postfix-users
postfix-users@postfix.org wrote in : |On Thu, Apr 06, 2023 at 11:20:17PM +0200, Steffen Nurpmeso via Postfix-u\ |sers wrote: | |> It seems so square to have a need to use the C library resolver, |> or external library, or even code something yourself, in order to |> implement a policy or mil

[pfx] Re: pf snap 3.8-20230402 mem corruption issues

2023-04-06 Thread Steffen Nurpmeso via Postfix-users
Wietse Venema wrote in <4psxbn1frczj...@spike.porcupine.org>: |Steffen Nurpmeso via Postfix-users: |> Wietse Venema wrote in |> <4pshgn4l8vzj...@spike.porcupine.org>: |>|Wietse Venema via Postfix-users: |>|> I have some, starting after I updated from 3.8-202304331 to 3.8-202304\ |>|> 0\ |

[pfx] Re: pf snap 3.8-20230402 mem corruption issues

2023-04-06 Thread Viktor Dukhovni via Postfix-users
On Thu, Apr 06, 2023 at 11:20:17PM +0200, Steffen Nurpmeso via Postfix-users wrote: > It seems so square to have a need to use the C library resolver, > or external library, or even code something yourself, in order to > implement a policy or milter or filter for postfix. Even though > possibly

[pfx] Re: pf snap 3.8-20230402 mem corruption issues

2023-04-06 Thread Wietse Venema via Postfix-users
Steffen Nurpmeso via Postfix-users: > Wietse Venema wrote in > <4pshgn4l8vzj...@spike.porcupine.org>: > |Wietse Venema via Postfix-users: > |> I have some, starting after I updated from 3.8-202304331 to 3.8-2023040\ > |> 2. > > There are snapshots, there is source access beyond regular > rele

[pfx] Re: pf snap 3.8-20230402 mem corruption issues

2023-04-06 Thread Steffen Nurpmeso via Postfix-users
es, one in util/match_list.c, and one in DNS client \ |> code |> dns/dns.h and dns/dns_rr.c. Investigating. | |In postfix-3.8-20230402 I updated dns_rr_create() and dns_rr_free(), |but forgot to update dns_rr_copy(). I'll issue postfix-3.8-20230406 |later today. ... I do not know

[pfx] Re: simple content filter for outgoing message

2023-04-06 Thread Wietse Venema via Postfix-users
Corey Hickman via Postfix-users: > Hello buddies, > > I just want to make some simple filters for outgoing messages. > for example, the message content has some keywords (like "VPN sale") > included, it will be rejected by the system. > > I know there are the software Rspamd and Spamassassin, bu

[pfx] Re: Success DSN for virtual mailboxes not working

2023-04-06 Thread Wietse Venema via Postfix-users
Nuno Pereira via Postfix-users: > My best guess for now is that the virtuals are messing around with notify. Is > there any way to put it marking the virtual destination as the final > destination, even not being so? I have demonstrated that Postfix will send "success" notification after virtual a

[pfx] Re: invalid and non-fqdn hostname

2023-04-06 Thread Emmanuel Fusté via Postfix-users
Le 06/04/2023 à 16:44, Emmanuel Fusté a écrit : Le 06/04/2023 à 14:09, Emmanuel Fusté a écrit : Le 06/04/2023 à 13:35, Ken Peng via Postfix-users a écrit : On 2023-04-06 19:07, Jaroslaw Rafa via Postfix-users wrote: I just now learned about the UTF8 thing, I would never think of using non-AS

[pfx] Re: invalid and non-fqdn hostname

2023-04-06 Thread Emmanuel Fusté via Postfix-users
Le 06/04/2023 à 14:09, Emmanuel Fusté a écrit : Le 06/04/2023 à 13:35, Ken Peng via Postfix-users a écrit : On 2023-04-06 19:07, Jaroslaw Rafa via Postfix-users wrote: I just now learned about the UTF8 thing, I would never think of using non-ASCII characters in host/domain names :) You can

[pfx] Re: invalid and non-fqdn hostname

2023-04-06 Thread Viktor Dukhovni via Postfix-users
On Thu, Apr 06, 2023 at 04:57:51PM +1000, Sean Gallagher via Postfix-users wrote: > What a can of worms.. > IDNA2003 allowed UTF8 in domain names IDNA specified an encoding system for mapping UTF8 labels to ACE-prefixed LDH labels that can be used in DNS. The resulting data in DNS (in zone file

[pfx] Re: Success DSN for virtual mailboxes not working

2023-04-06 Thread Nuno Pereira via Postfix-users
> De: Viktor Dukhovni via Postfix-users > Enviada: 31 de março de 2023 15:10 > > On Fri, Mar 31, 2023 at 02:00:49PM +0100, Nuno Pereira via Postfix-users wrote: > > > Logs of message with success DSN sent: > > Are you sure you syslog system is not dropping some of the log messages? > (A common

[pfx] Re: Success DSN for virtual mailboxes not working

2023-04-06 Thread Nuno Pereira via Postfix-users
> De: Wietse Venema via Postfix-users > Enviada: 31 de março de 2023 15:35 > Para: Postfix users > Assunto: [pfx] Re: Success DSN for virtual mailboxes not working > > Nuno Pereira via Postfix-users: > > Logs of message with success DSN sent: > > > > Mar 31 13:26:16 MAIL01 postfix/cleanup[11

[pfx] Re: pf snap 3.8-20230402 mem corruption issues

2023-04-06 Thread Wietse Venema via Postfix-users
ne in util/match_list.c, and one in DNS client code > dns/dns.h and dns/dns_rr.c. Investigating. In postfix-3.8-20230402 I updated dns_rr_create() and dns_rr_free(), but forgot to update dns_rr_copy(). I'll issue postfix-3.8-20230406 later today. No mail is lost, the SMTP client pani

[pfx] Re: pf snap 3.8-20230402 mem corruption issues

2023-04-06 Thread Wietse Venema via Postfix-users
Florian Piekert via Postfix-users: Checking application/pgp-signature: FAILURE -- Start of PGP signed section. > Hello all, > > I get dozens of > Apr 6 10:34:22 blueberry postfix/smtp[2590]: panic: myfree: corrupt or > unallocated memory block > Apr 6 10:34:23 blueberry postfix/qmgr[4313]: war

[pfx] Re: invalid and non-fqdn hostname

2023-04-06 Thread Ken Peng via Postfix-users
On 2023-04-06 20:09, Emmanuel Fusté via Postfix-users wrote: If we are ignoring the remaining IDNA2003 UTF8 domains corner case (which are practically unusable in real world if there is still sommes), there is no good reason to see utf8 fqdn in the HELO/EHLO context. Postfix is right. I got

[pfx] Re: simple content filter for outgoing message

2023-04-06 Thread Scott Kitterman via Postfix-users
On April 6, 2023 11:39:10 AM UTC, Corey Hickman via Postfix-users wrote: >Hello buddies, > >I just want to make some simple filters for outgoing messages. >for example, the message content has some keywords (like "VPN sale") included, >it will be rejected by the system. > >I know there are th

[pfx] Re: invalid and non-fqdn hostname

2023-04-06 Thread Emmanuel Fusté via Postfix-users
Le 06/04/2023 à 13:35, Ken Peng via Postfix-users a écrit : On 2023-04-06 19:07, Jaroslaw Rafa via Postfix-users wrote: I just now learned about the UTF8 thing, I would never think of using non-ASCII characters in host/domain names :) You can dig the UTF8 hostname, they are valid for query.

[pfx] simple content filter for outgoing message

2023-04-06 Thread Corey Hickman via Postfix-users
Hello buddies, I just want to make some simple filters for outgoing messages. for example, the message content has some keywords (like "VPN sale") included, it will be rejected by the system. I know there are the software Rspamd and Spamassassin, but they are too heavy for my simple usage.

[pfx] Re: invalid and non-fqdn hostname

2023-04-06 Thread Ken Peng via Postfix-users
On 2023-04-06 19:07, Jaroslaw Rafa via Postfix-users wrote: I just now learned about the UTF8 thing, I would never think of using non-ASCII characters in host/domain names :) You can dig the UTF8 hostname, they are valid for query. $ dig 腾讯.公司 ns +short ns1.brandcloudns.com. ns2.brandcloudns

[pfx] Re: invalid and non-fqdn hostname

2023-04-06 Thread Jaroslaw Rafa via Postfix-users
Dnia 6.04.2023 o godz. 16:57:51 Sean Gallagher via Postfix-users pisze: > allows top-level domain names (without any dots) to be used. [...] > reject_invalid_helo_hostname seems to fit with modern standards but > will reject IDNA2003 > domain names that were legal between 2003 and 2008. It will al

[pfx] pf snap 3.8-20230402 mem corruption issues

2023-04-06 Thread Florian Piekert via Postfix-users
Hello all, I get dozens of Apr 6 10:34:22 blueberry postfix/smtp[2590]: panic: myfree: corrupt or unallocated memory block Apr 6 10:34:23 blueberry postfix/qmgr[4313]: warning: private/smtp socket: malformed response Apr 6 10:34:23 blueberry postfix/qmgr[4313]: warning: transport smtp failu