tutorial:mail:postfixredir

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorial:mail:postfixredir [2013-08-09 00:06]
root
tutorial:mail:postfixredir [2018-06-03 14:10] (current)
Line 3: Line 3:
 ====== Configure postfix as a backup for Exchange ====== ====== Configure postfix as a backup for Exchange ======
  
-**Problem:** +===== Problem ===== 
-  * I want to use postfix on a virtual server as a backup incase my Exchange is down. Postfix should accept every mail and deliver it to the Exchange server instantly or wait until the Exchange server is available.+  * I want to use postfix on a virtual server as a backup in case my Exchange is down. Postfix should accept every mail and deliver it to the Exchange server instantly or wait until the Exchange server is available.
  
-**Requirements:**+===== Requirements =====
   * Existing postfix installation   * Existing postfix installation
   * Existing Exchange installation   * Existing Exchange installation
Line 12: Line 12:
 ---- ----
  
-**Step ~~#~~**+===== Step 1 =====
   * Login to your virtual server via ssh.   * Login to your virtual server via ssh.
  
 ---- ----
  
-**Step ~~#~~** +===== Step 2 ===== 
-  * Create and open the file /etc/postfix/transport +  * Create and open the file ''%%/etc/postfix/transport%%'' 
-  * Insert <code>domain.com smtp:exchangehost.name</code> +  * Insert ''%%domain.com smtp:exchangehost.name%%'' for every domain you want to relay on its own line. 
-  * Run <code>postmap /etc/postfix/transport</code> +  * Run ''%%postmap /etc/postfix/transport%%''
-----+
  
-**Step ~~#~~** 
-  * Edit /etc/postfix/main.cf 
-  * Insert <code>relay_domains = domain.com</code> 
-  * Run <code>/etc/init.d/postfix reload</code> 
 ---- ----
 +
 +===== Step 3 =====
 +  * Edit ''%%/etc/postfix/main.cf%%''
 +  * Insert ''%%relay_domains = domain.com%%''. If you want multiple domains, separate them with a space.
 +  * Insert ''%%transport_maps = hash:/etc/postfix/transport%%''
 +  * Run ''%%/etc/init.d/postfix reload%%''
  • tutorial/mail/postfixredir.1375999612.txt.gz
  • Last modified: 2018-06-03 14:10
  • (external edit)