[pfx] [PATCH] makedefs: fix $RELEASE_MAJOR expression

2024-12-12 Thread Michael Tokarev via Postfix-users
There are 2 issues with the way RELEASE_MAJOR is currently computed in ./makedefs. First, it is not set at all when the system name/release are specified on the command line, so this change moves it a few lines down. And second, the usage of "expr" utility is wrong, as it does not work when the s

[pfx] Re: Automatically match sendmail envelope sender to "From:" header

2024-12-12 Thread Ralph Seichter via Postfix-users
* Wietse Venema via Postfix-users: > If your message file has no From: header, then Postfix provides one > based on the envelope sender address, with a "full name" for that > header based on the -F option, or the NAME environment variable, > or the GECOS field in the password file. The issue I am

[pfx] Re: Automatically match sendmail envelope sender to "From:" header

2024-12-12 Thread Wietse Venema via Postfix-users
Ralph Seichter via Postfix-users: > Consider a pre-generated text file sample.eml like this one: > > From: Bob > To: al...@example.org > Subject: foobar > > The message body goes here... > > Imagine further that Bob is logged in as user123 on host.example.net > which runs Postfix, and B

[pfx] Automatically match sendmail envelope sender to "From:" header

2024-12-12 Thread Ralph Seichter via Postfix-users
Consider a pre-generated text file sample.eml like this one: From: Bob To: al...@example.org Subject: foobar The message body goes here... Imagine further that Bob is logged in as user123 on host.example.net which runs Postfix, and Bob sends the message like so: $ /usr/sbin/sendmail

[pfx] Minimalistic postfix setup

2024-12-12 Thread max.hesserchen via Postfix-users
Hi, I write the mail with a quasi throw-away mail, because I don't want to reveal my configuration to everyone. I am the only user of my setup on my debian 12 server. I am convinced that minimalism is the best security. I mention this because it hopefully explains some of the decisions I have m

[pfx] Re: postfix-3.9 and utf8mb4

2024-12-12 Thread Phil Stracchino via Postfix-users
On 12/12/24 09:00, Viktor Dukhovni via Postfix-users wrote: On Thu, Dec 12, 2024 at 02:40:29AM +0100, natan via Postfix-users wrote: I upgrade from postfix-3.7.x to postfix-3.9.x (Almalinux and repo GT-plus) and i get problem Dec 11 23:58:31 smtp2 postfix/postmap[24258]: warning: dict_mysql: m

[pfx] Re: postfix-3.9 and utf8mb4

2024-12-12 Thread Viktor Dukhovni via Postfix-users
On Thu, Dec 12, 2024 at 02:40:29AM +0100, natan via Postfix-users wrote: > I upgrade from postfix-3.7.x to postfix-3.9.x (Almalinux and repo GT-plus) > and i get problem > > Dec 11 23:58:31 smtp2 postfix/postmap[24258]: warning: dict_mysql: > mysql_set_character_set 'utf8mb4' failed: Unknown char