Bypassing the default Postfix config..


New Member
Oct 2, 2023
Hi all,

We are getting out of testing phase at my company and are planning to deploy the mail gateway with a full license.

One of the issues I have is that the Postfix sendmail compatibility program (sendmail) will not accept a command line switch to send directly to an MX ip while bipassing the Proxmox ecosystem.

For instance, if I was using generic sendmail I could issue this to the command line : sendmail smtp=""

That command will bypass the mail server on the machine in question and send the mail directly. I need this for some custome programming we use. The mails have to be sent from outside the main postfix (and proxmox) ecosystem.

I've tried a custom config file with alter-nate_config_directories = /etc/postfix/private_relay/

But the mails still show going through the proxmox ecosystem.

So how do I bypass this behavior?? I have legacy programming which needs to send e-mail directly to a particular MX so even if Proxmox is down, or postfix is down, we still get the emails.



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!