Quantcast
Channel: iRedMail — iRedMail Support
Viewing all articles
Browse latest Browse all 43343

Re: SMTP Server for each Domain

$
0
0

in /etc/postfix/main.cf:

sender_dependent_relayhost_maps = hash:/etc/postfix/relayhosts

in /etc/postfix/relayhosts:

example.com [smtp.provider.com]:
domain2.com [smtp.live.co.uk]:

Once you have relayhosts file as you want it run the following command

postmap /etc/postfix/relayhosts && postfix reload

Viewing all articles
Browse latest Browse all 43343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>