|
CentOS Linux Server Guide |
E-Mail Security Virtual Appliance (ESVA)Part 2: Hosting Email for Multiple Domains |
|||||
|
ESVA able to handle email domains. This is particular useful if you host multiple email domains and let all the incoming email to be screened on the same ESVA box. Due to ESVA is compiled using Postfix, we need to enable virtual hosting at Postfix configuration file.
Step 1. Specify the mail relay domainFirst we edit /etc/postfix/transport file using VI.
Step 2. Add relay domain.The /etc/postfix/transport is where we specify where mail for each relay domain will be forwarded to. Here we specify the relay as the following.
email-domain smtp:[ipaddress-or-fqdn-hostname-of-mail-server-that-hosted-email-domain]
Step 4. Save it
Step 5. Run Postmap CommandNext we must run them through postmap command to create hashes for portmap
Step 6. Reboot the postfix
Now, sent a mail from Gmail or Hotmail. Then, go to dashboard> Recent Messages. You will notice email received much faster as compare to before (approx taking 5 mins).
|
|||||
|
Copyright 2011 http://www.1a-centosserver.com All Rights Reserved All trademarks are the property of their respective owners. Contact Us | Terms of Use | Privacy Policy |