[pfx] Re: Difference between alias_maps and alias_database

2024-05-07 Thread Wietse Venema via Postfix-users
On Tue, May 07, 2024 at 05:47:59PM +0200, Matus UHLAR - fantomas via Postfix-users wrote: > On 07.05.24 17:13, Дилян Палаузов via Postfix-users wrote: > >I try to understand the difference between alias_database and alias_maps. > > >Or, does postalias/newaliases use is alias_database as input,

[pfx] Re: Difference between alias_maps and alias_database

2024-05-07 Thread Matus UHLAR - fantomas via Postfix-users
On 07.05.24 17:13, Дилян Палаузов via Postfix-users wrote: I try to understand the difference between alias_database and alias_maps. Or, does postalias/newaliases use is alias_database as input, ignoring alias_maps, while local ignores alias_databases and uses alias_maps? Precisely.

[pfx] Difference between alias_maps and alias_database

2024-05-07 Thread Дилян Палаузов via Postfix-users
Hello, I try to understand the difference between alias_database and alias_maps. postconf(5) contains: alias_database: The alias databases for local(8) delivery that are updated with "newaliases" or with "sendmail -bi". This is a separate configuration parameter because not all the tables

[pfx] Re: Cleanup service adds unexpected characters when replacing header

2024-05-07 Thread Denis Krienbühl via Postfix-users
That worked :) - Thank you Viktor, much appreciated! Denis > On 7 May 2024, at 12:14, Viktor Dukhovni via Postfix-users > wrote: > > On Tue, May 07, 2024 at 10:07:15AM +0200, Denis Krienbühl via Postfix-users > wrote: > >> Ultimately, I ended up with the following rule, but I have a problem

[pfx] Re: Cleanup service adds unexpected characters when replacing header

2024-05-07 Thread Viktor Dukhovni via Postfix-users
On Tue, May 07, 2024 at 10:07:15AM +0200, Denis Krienbühl via Postfix-users wrote: > Ultimately, I ended up with the following rule, but I have a problem with it > (or any other that I've found): > > /^\s*Received:[^\n]+(.*)/ REPLACE Received: from > [127.0.0.1]

[pfx] Cleanup service adds unexpected characters when replacing header

2024-05-07 Thread Denis Krienbühl via Postfix-users
Hi I'm working on configuring a new mail server instance on Debian Bookworm, with Postfix 3.7.10-0+deb12u1. To hide internal IP addresses, I'd like to rewrite the first "Received" header for mails submitted by authenticated users. There are a number of options I found online, and it seems