Cyber Sentry
Applications Development
System Architecture Design
Technical Due Diligence
Qmail Support and Consultancy
Partners
Client Testimonials
Help Sections
Software Patents
Site Map
Contact us
Community
Home
 
Home

How do I forward all inbound emails to two different servers?

I have a qmail relay server that handles all of my inbound SMTP connections and passes them to my internal mail server (MS Exchange). I want all inbound email to be sent to two different internal email servers. How can I do this?

 

Answer:

 

1. add to virtualdomains:

 

mydomain.com:alias-forward

 

2. create ~alias/.qmail-forward-default

 

|forward $LOCAL

|forward $LOCAL

 

3. add to smtproutes

 

oldserver.mydomain.com:[1.1.1.1]

newserver.mydomain.com:[1.1.1.2]

 

 



Qmail Help Section
Perl Tutorial
Top top Copyright Cyber Sentry Ltd  

Cyber Sentry -- Application Development Sitemap 1 2 3