[SOLVED] Problem with main.cf

TT5776

New Member
Jul 27, 2018
4
0
1
27
Hello,
I'm using Proxmox Mail Gateway and i have a problem, i need a rewriting address.
Im using the postfix for this.

I just need to add in main.cf the line :
Code:
recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
and create the file
Code:
/etc/postfix/recipient_canonical
In this files i put my rewriting like :
Code:
exemple@domain.com exemple2@domain.com

Actually its work very well, BUT

When i restart Proxmox, the line i've add in main.cf actually drop.
Any idea ? ( /etc/postfix/recipient_canonical stay here its actually just the line in main.cf who's delete at restart. )

Thanks.