| 1 | |
| 2 | REQUIREMENTS |
| 3 | |
| 4 | 1. Remove exim. Postfix and exim can NOT coexist. |
| 5 | |
| 6 | 2. Group "postdrop" MUST exist and MUST be empty. |
| 7 | |
| 8 | PRE-INSTALL |
| 9 | |
| 10 | pkgrm exim |
| 11 | groupadd postdrop |
| 12 | |
| 13 | NOTICE: If upgrading from 1.x.x / 2.0 / 2.1 series: STOP postfix |
| 14 | before update. |
| 15 | |
| 16 | AFTER upgrading from an older release DO NOT copy the old |
| 17 | master.cf/main.cf files over the new files. Instead, you MUST |
| 18 | let the Postfix installation procedure update the existing |
| 19 | configuration files with new service entries. |
| 20 | |
| 21 | Please consult postfix release notes on Postfix website for |
| 22 | further update details. |
| 23 | |
| 24 | POST-INSTALL |
| 25 | |
| 26 | cd /etc/postfix |
| 27 | |
| 28 | sh post-install \ |
| 29 | manpage_directory=/usr/man \ |
| 30 | command_directory=/usr/sbin \ |
| 31 | config_directory=/etc/postfix \ |
| 32 | setgid_group=postdrop \ |
| 33 | mail_owner=mail \ |
| 34 | upgrade-package |
| 35 | |
| 36 | sh post-install \ |
| 37 | command_directory=/usr/sbin \ |
| 38 | config_directory=/etc/postfix \ |
| 39 | setgid_group=postdrop \ |
| 40 | mail_owner=mail \ |
| 41 | create-missing |
| 42 | |
| 43 | Rebuild hash maps: |
| 44 | |
| 45 | /usr/sbin/postalias /etc/postfix/aliases |
| 46 | /usr/sbin/postmap hash:/etc/postfix/{virtual,relocated,access,transport} |
| 47 | |
| 48 | MISCELLANEOUS |
| 49 | |
| 50 | The packager of this port (Victor) also supplied an example |
| 51 | configuration and some notes. I've separated them from this port. You |
| 52 | can get them here: |
| 53 | |
| 54 | http://hometux.de/crux/postfix_victor.tar.gz |