• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Question how to make domain-level of postfix configuration ?

qtwrk

Basic Pleskian
how to make domain-level of postfix configuration ?

Hi , I am on centos 7 with plesk 17.5.3 , I have installed postfix for outgoing mail.

I also use 3rd part mail service into to hide server IP that is exposed in mail header.

so in order to make it work , I have to send mail from my server to 3rd part server (where server IP and some other mail header will be wiped) , and then from 3rd to destination address.

thing was working fine on SIGNLE domain server , as I can directly use server-wide configuration to login to relay server , but since I am attempting to add second domain into it , thing is becoming kind of problemtic...

my current conf in /etc/postfix/main.cf is :

Code:
relayhost = [mail.3rd.party]:587

smtp_sasl_password_maps = static:[email protected]:password

but this is server-wise conf , how can I make it like:

domain1 mail goes to relay-domain1 and domain2 goes to relay-domain2 ?
 
Back
Top