You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
postfixadmin/DOCUMENTS/BACKUP_MX.txt

45 lines
1.1 KiB
Plaintext

#
# Postfix Admin
# by Mischa Peters <mischa at high5 dot net>
# Copyright (c) 2002 - 2005 High5!
# Licensed under GPL for more info check GPL-LICENSE.TXT
#
REQUIRED!!
----------
- You are using Postfix 2.0 or higher.
- You are using Apache 1.3.27 / Lighttpd 1.3.15 or higher.
- You are using PHP 4.1 or higher.
- You are using MySQL 3.23 or higher.
READ THIS FIRST!
----------------
When this is an upgrade from Postfix Admin 1.5.4 please read UPGRADE.TXT!!
More information is available on http://high5.net/howto/
1. Modify main.cf
-----------------
In order for Postfix to use MySQL for relay_domains add the following
to your main.cf
relay_domains = proxy:mysql:/usr/local/etc/postfix/mysql_relay_domains_maps.cf
2. mysql_relay_domains_maps.cf
------------------------------
You will need to put this into a text file for postfix to pickup.
user = postfix
password = password
hosts = localhost
dbname = postfix
query = SELECT domain FROM domain WHERE domain = '%s' AND backupmx = '1'
3. Restart Postfix
-------------------
When you are done make sure to restart Postfix so the changes take effect.