How to forward Postfix outgoing mail

tdhoan525

New Member
Sep 21, 2021
1
0
1
23
Hi guys, im using a postfix mail server. I have just set up PMG and it can receive incoming email very well. But now i want PMG to forward my outgoing email from Postfix too. In /etc/postfix/main.cf, i set relayhost = <PMG ip>:587, in PMG > Mail Proxy > Transports > i added mail domain, postfix servers ip, protocol smtp, and port 587.
But i've checked the postfix log and it say "connect to <PMG ip>[<PMG ip>]:587: Connection refused".
So what should i do to make it works?
Thanks for reading my theard
 

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!