Re: when to reload postfix and when not?

2022-11-04 Thread Wietse Venema
Viktor Dukhovni: > This depends on how urgent the change is. If the OP wants to see the > change take effect immediately, a "reload" is recommended when lists of > domains or similar are configured directly in main.cf or in flat text > files. "postfix reload" is safe, as long as it is a low-frequ

Re: when to reload postfix and when not?

2022-11-04 Thread Viktor Dukhovni
On Fri, Nov 04, 2022 at 09:21:45AM -0400, Bill Cole wrote: > > I updated these two file: > > > > virtual_alias_domains > > virtual_alias_maps > > > > and run postmap on the second. > > > > Do i need to run "service postfix reload" for this change? This depends on how urgent the change is. I

Re: when to reload postfix and when not?

2022-11-04 Thread Bill Cole
On 2022-11-04 at 08:21:09 UTC-0400 (Fri, 4 Nov 2022 13:21:09 +0100) is rumored to have said: dear users, I updated these two file: virtual_alias_domains virtual_alias_maps and run postmap on the second. Do i need to run "service postfix reload" for this change? That depends on how y

Re: rewriting all occurences of a sender domain

2022-11-04 Thread Viktor Dukhovni
On Fri, Nov 04, 2022 at 08:45:15AM +, Gino Ferguson wrote: > Thanks for the replies. > > Before I wrote my question I have tried this ('canonical_classes' was the > default): > sender_canonical_maps = regexp:/etc/postfix/custom_rewrite_sender - Firstly, DO NOT use sender_canonical_maps, it

when to reload postfix and when not?

2022-11-04 Thread linuxguy
dear users,   I updated these two file:   virtual_alias_domains virtual_alias_maps   and run postmap on the second.   Do i need to run "service postfix reload" for this change?   Thanks.

Re: rewriting all occurences of a sender domain

2022-11-04 Thread Gino Ferguson
Hi, Thanks for the replies. Before I wrote my question I have tried this ('canonical_classes' was the default): sender_canonical_maps = regexp:/etc/postfix/custom_rewrite_sender /etc/postfix/custom_rewrite_sender: /^(.*)@originalsender.fqdn$/ ${1}@masqueraded.fqdn it worked but broke DKIM.