[pfx] Re: : postconf -e and missing trailing newline in main.cf

2025-03-15 Thread Michael Tokarev via Postfix-users
16.03.2025 07:26, Peter via Postfix-users wrote: You linked a debian bug, but I could not find a patch in there. The patch was in the attachment in the same email: https://marc.info/?l=postfix-users&m=174205748609705&w=2 /mjt ___ Postfix-users maili

[pfx] Re: : postconf -e and missing trailing newline in main.cf

2025-03-15 Thread Peter via Postfix-users
On 16/03/25 17:13, Michael Tokarev via Postfix-users wrote: 16.03.2025 06:18, Peter via Postfix-users wrote: This is a relatively simple patch, for the sake of simplicity it replaces the linefeed at read time, but a slightly more complicated patch that does it when lines are output to dst migh

[pfx] Re: : postconf -e and missing trailing newline in main.cf

2025-03-15 Thread Michael Tokarev via Postfix-users
16.03.2025 06:18, Peter via Postfix-users wrote: This is a relatively simple patch, for the sake of simplicity it replaces the linefeed at read time, but a slightly more complicated patch that does it when lines are output to dst might be more appropriate.  Note this is untested: FWIF, I alrea

[pfx] Re: [pfx][patch] Re: postconf -e and missing trailing newline in main.cf

2025-03-15 Thread Peter via Postfix-users
On 16/03/25 16:18, Peter via Postfix-users wrote: This is a relatively simple patch, for the sake of simplicity it replaces the linefeed at read time, but a slightly more complicated patch that does it when lines are output to dst might be more appropriate.  Note this is untested: ...and I re

[pfx] Re: [pfx][patch] Re: postconf -e and missing trailing newline in main.cf

2025-03-15 Thread Peter via Postfix-users
On 16/03/25 10:39, Wietse Venema via Postfix-users wrote: That said, it should not be difficult for Postfix code to always strip line breaks on input and to always append line breaks on output. That is fundmentally how all message content is handeld everywhere, regardless off whether the line b

[pfx] Re: postconf -e and missing trailing newline in main.cf

2025-03-15 Thread Wietse Venema via Postfix-users
Wietse Venema via Postfix-users: > Michael Tokarev via Postfix-users: > > I'm sure I've seen this issue before here on postfix-users. > > But can't find it. > > > > When main.cf does not have a trailing newline, ,..,, > > Well don't do that, then. Use a proper text editor, or better, use > postco

[pfx] Re: postconf -e and missing trailing newline in main.cf

2025-03-15 Thread Jaroslaw Rafa via Postfix-users
Dnia 15.03.2025 o godz. 12:40:07 Wietse Venema via Postfix-users pisze: > > When main.cf does not have a trailing newline, ,..,, > > Well don't do that, then. Use a proper text editor, or better, use > postconf commands to manage Postfix configuration files. I would humbly say that a *proper* tex

[pfx] Re: postconf -e and missing trailing newline in main.cf

2025-03-15 Thread Michael Tokarev via Postfix-users
15.03.2025 19:40, Wietse Venema via Postfix-users wrote: Michael Tokarev via Postfix-users: I'm sure I've seen this issue before here on postfix-users. But can't find it. When main.cf does not have a trailing newline, ,..,, Well don't do that, then. Use a proper text editor, or better, use po

[pfx] Re: Milter

2025-03-15 Thread Wietse Venema via Postfix-users
RBTC System Administrator via Postfix-users: > macro after receiving a reject. It runs quickly and returns "continue" > to close the connection. I don't believe > that it would be appropriate to put a mutex around the block of code > that returns the reject. The only The Postfix milter client

[pfx] Re: postconf -e and missing trailing newline in main.cf

2025-03-15 Thread Wietse Venema via Postfix-users
Michael Tokarev via Postfix-users: > I'm sure I've seen this issue before here on postfix-users. > But can't find it. > > When main.cf does not have a trailing newline, ,..,, Well don't do that, then. Use a proper text editor, or better, use postconf commands to manage Postfix configuration files

[pfx] Postfix aliases and recipient_bcc_maps

2025-03-15 Thread Gioele Pannetto via Postfix-users
Hi, I'm trying to setup a Postfix instance but I'm having issues trying to meet all requirements. I'll summarize the details quickly:  - This Postfix instance will be responsable only for incoming mail.  - All the mailboxes and aliases details are saved in a database  - Mailboxes can have one