$NetBSD: patch-af,v 1.4 2000/08/14 05:10:53 itojun Exp $ --- conf/main.cf.orig Mon Aug 14 13:51:15 2000 +++ conf/main.cf Mon Aug 14 14:07:32 2000 @@ -1 +1,3 @@ +# $NetBSD: patch-af,v 1.4 2000/08/14 05:10:53 itojun Exp $ +# # Global Postfix configuration file. This file lists only a subset @@ -19,3 +21,3 @@ # -command_directory = /usr/sbin +command_directory = __PREFIX/sbin @@ -26,3 +28,8 @@ # -daemon_directory = /usr/libexec/postfix +daemon_directory = __PREFIX/libexec/postfix + +# Shared files and etc directory +etc_directory = /etc/postfix +share_directory = __PREFIX/share/postfix +man_directory = __PREFIX/man @@ -43,3 +50,3 @@ # -#default_privs = nobody +default_privs = nobody @@ -84,2 +91,4 @@ #inet_interfaces = $myhostname, localhost +# listen to IPv4 and IPv6 smtp socket +inet_interfaces = 0.0.0.0, :: @@ -376,5 +385,4 @@ # -debugger_command = - PATH=/usr/bin:/usr/X11R6/bin - xxgdb $daemon_directory/$process_name $process_id & sleep 5 +debugger_command = PATH=/usr/bin:/usr/X11R6/bin; \ + xxgdb $daemon_directory/$process_name $process_id & sleep 5