On 26-Oct-08, at 5:28 PM, Ryan Schmidt wrote:


On Oct 26, 2008, at 10:10, Charles Darwin wrote:

I have two main.cf here:

$ ls /Volumes/neo/opt/etc/postfix/main*
/Volumes/neo/opt/etc/postfix/main.cf.default /Volumes/neo/opt/etc/ postfix/main.cf.sample

I am guessing that I should go with the default one if want to make any changes (is that correct?) and then do I rename the file to main.cf when I am done?

You should not edit either main.cf.default or main.cf.sample; these will be overwritten when you upgrade or reinstall the port and postfix won't use them anyway. You should copy one of these files to main.cf and edit that.


$ sudo cp PATH/to/opt/etc/postfix/master.cf.sample PATH/to/opt/etc/ postfix/master.cf

$ sudo postfix start
PATH/to/opt/etc/postfix/postfix-script: line 220: ls: command not found
postfix/postfix-script: warning: not owned by root: PATH/to/opt/ libexec/postfix
PATH/to/opt/etc/postfix/postfix-script: line 220: ls: command not found
postfix/postfix-script: warning: not owned by root: PATH/to/opt/etc/ postfix
PATH/to/opt/etc/postfix/postfix-script: line 220: ls: command not found
postfix/postfix-script: warning: not owned by root: PATH/to/opt/var/ spool/postfix postfix/postfix-script: warning: not owned by _postfix: PATH/to/opt/ var/lib/postfix/./.turd_postfix
PATH/to/opt/etc/postfix/postfix-script: line 235: ls: command not found
usage: find [-H | -L | -P] [-EXdsx] [-f file] [file ...] [expression]
PATH/to/opt/etc/postfix/postfix-script: line 75: ls: command not found
postfix/postfix-script: starting the Postfix mail system

$ tail -f /var/log/mail.log
Oct 26 21:04:14 bas2-montreal45-1279782063 postfix/postfix- script[556]: fatal: no PATH/to/opt/etc/postfix/master.cf file found Oct 26 21:04:14 bas2-montreal45-1279782063 postfix/postfix- script[557]: fatal: Postfix integrity check failed! Oct 26 21:04:35 bas2-montreal45-1279782063 postfix/postfix- script[560]: fatal: the Postfix mail system is not running Oct 26 21:05:01 bas2-montreal45-1279782063 postfix/postfix- script[588]: warning: not owned by root: PATH/to/opt/libexec/postfix Oct 26 21:05:01 bas2-montreal45-1279782063 postfix/postfix- script[592]: warning: not owned by root: PATH/to/opt/etc/postfix Oct 26 21:05:01 bas2-montreal45-1279782063 postfix/postfix- script[596]: warning: not owned by root: PATH/to/opt/var/spool/postfix Oct 26 21:05:01 bas2-montreal45-1279782063 postfix/postfix- script[600]: warning: not owned by _postfix: PATH/to/opt/var/lib/ postfix/./.turd_postfix Oct 26 21:05:01 bas2-montreal45-1279782063 postfix/postfix- script[612]: starting the Postfix mail system Oct 26 21:05:01 bas2-montreal45-1279782063 postfix/master[613]: fatal: fcntl: set non-blocking flag on: Inappropriate ioctl for device Oct 26 21:05:09 bas2-montreal45-1279782063 postfix/postfix- script[639]: warning: not owned by root: PATH/to/opt/libexec/postfix Oct 26 21:05:09 bas2-montreal45-1279782063 postfix/postfix- script[643]: warning: not owned by root: PATH/to/opt/etc/postfix Oct 26 21:05:09 bas2-montreal45-1279782063 postfix/postfix- script[647]: warning: not owned by root: PATH/to/opt/var/spool/postfix Oct 26 21:05:09 bas2-montreal45-1279782063 postfix/postfix- script[651]: warning: not owned by _postfix: PATH/to/opt/var/lib/ postfix/./.turd_postfix Oct 26 21:05:09 bas2-montreal45-1279782063 postfix/postfix- script[663]: starting the Postfix mail system

Charles
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to