[MacPorts] howto/SetupPostfix modified

MacPorts noreply at macports.org
Fri Jun 17 19:41:07 PDT 2011


Changed page "howto/SetupPostfix" by ryandesign at macports.org from 24.227.244.59*
Page URL: <https://trac.macports.org/wiki/howto/SetupPostfix>
Diff URL: <https://trac.macports.org/wiki/howto/SetupPostfix?action=diff&version=17>
Revision 17
Comment: use standard macports prefix

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/SetupPostfix
=========================================================================
--- howto/SetupPostfix (version: 16)
+++ howto/SetupPostfix (version: 17)
@@ -30,7 +30,7 @@
 We'll want everything, so use the following script to get it:
 
 {{{
-#!/macports/bin/bash
+#!/opt/local/bin/bash
 
 declare -a toInstall
 toInstall=( \
@@ -61,10 +61,10 @@
 
 === Step 1: '''setup main.cf''' ===
 
-You'll find all the default settings in '''/macports/etc/postfix/main.cf.default''' - all of these settings are explained in some depth here [http://www.postfix.org/postconf.5.html postconf.5] or {{{man 5 postconf}}}.  You'll find a sample primary configuration in '''/macports/etc/postfix/main.cf.sample'''. '''main.cf.sample''' is extensively commented, but to get an overview of the which setting are present in the file execute this command:
+You'll find all the default settings in '''/opt/local/etc/postfix/main.cf.default''' - all of these settings are explained in some depth here [http://www.postfix.org/postconf.5.html postconf.5] or {{{man 5 postconf}}}.  You'll find a sample primary configuration in '''/opt/local/etc/postfix/main.cf.sample'''. '''main.cf.sample''' is extensively commented, but to get an overview of the which setting are present in the file execute this command:
 
 {{{
-grep ' =' /macports/etc/postfix/main.cf.default
+grep ' =' /opt/local/etc/postfix/main.cf.default
 }}}
 
 We'll change some of them in the following, but a lot of them has to be left alone and are not to be messed with under most circumstances as you'll completely mess up your configuration if you do so - you have been duly warned !
@@ -140,9 +140,9 @@
 
 We'll need at least one entry in the aliases database. If aliases.db isn't present, the postfix master will start, but upon the first activity you'll get repeated lines of this kind :
 {{{
-Jun 17 23:03:52 Pro17 postfix/master[262]: warning: /macports/libexec/postfix/smtpd: bad command startup -- throttling
-Jun 17 23:04:52 Pro17 postfix/smtpd[17162]: fatal: open database /macports/etc/postfix/aliases.db: No such file or directory
-Jun 17 23:04:53 Pro17 postfix/master[262]: warning: process /macports/libexec/postfix/smtpd pid 17162 exit status 1
+Jun 17 23:03:52 Pro17 postfix/master[262]: warning: /opt/local/libexec/postfix/smtpd: bad command startup -- throttling
+Jun 17 23:04:52 Pro17 postfix/smtpd[17162]: fatal: open database /opt/local/etc/postfix/aliases.db: No such file or directory
+Jun 17 23:04:53 Pro17 postfix/master[262]: warning: process /opt/local/libexec/postfix/smtpd pid 17162 exit status 1
 }}}
 
 These are lines in main.cf of interest:
@@ -159,8 +159,8 @@
 
 At present, we'll simply go with the default values
 {{{
-alias_database = hash:/macports/etc/postfix/aliases
-alias_maps = hash:/macports/etc/postfix/aliases
+alias_database = hash:/opt/local/etc/postfix/aliases
+alias_maps = hash:/opt/local/etc/postfix/aliases
 }}}
 and not change anything at all in main.cf
 

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on howto/SetupPostfix. If it was not you, please
report to .


More information about the macports-changes mailing list