On 3/8/2023 3:19 PM, SysAdmin EM via Postfix-users wrote:
I am administering a Postfix that uses sender_canonicals to do a rewrite of the header from but I need to disable that option.

I have commented the sender_canonical file but when reloading the configuration I try to send an email and the service fails.

#sender_canonical_maps = regexp:/etc/postfix/sender_canonical
#local_header_rewrite_clients = static:all


Commenting those lines should work fine. The postfix logs will have more detail of what the error is. Look for entries in the log before the "service unavailable" message.

One common error is hidden non-text characters in the config file, I don't know if that's what you're seeing or not.


  -- Noel Jones
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to