[SOLVED] Problem with main.cf

TT5776

New Member
Jul 27, 2018
4
0
1
25
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!