• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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