Configure Postfix to act as an Open relay

Discussion in 'Server Operation' started by Kbakos, Mar 16, 2013.

  1. Kbakos

    Kbakos New Member

    Hey,

    I need to make Postfix(server1) to act as open relay so i can use it as a relay from Qmail(Plesk control Panel-Server2).I just need postfix to handle the requests from Qmail and deliver the messages to the destinations.Qmail will be configured to relay on Postfix server through /var/qmail/control/smtproutes file.


    PS: Dont worry about the "Open" Relay cause Server1 will use iptables to allow only Plesk's IP for connecting to the Postfix port 25.


    Thanks
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Add the IP or your Qmail server to the mynetworks line in /etc/postfix/main.cf and restart Postfix.
     

Share This Page