1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update to postfix 19991231-pl10. Install LDAP_README and MYSQL_README along

with documentation.  Fix manpage generation.  Consistently use INSTALL_*
macros (from postfix-current).  Modify packaging list using WITH_PCRE and
WITH_LDAP PLIST_SUBs (as per postfix-current).  Add knob to enable PCRE (again
from postfix-current).  Use better package description (postfix-current).
Fix PLIST.  Conditionally remove main.cf and master.cf when they are
unmodified from default (postfix-current).  Fully institute new maintainer
as a real one.  :-)

PR:		17777, 19185, 20565, 21819, 22613 (also postfix-current)
Submitted by:	maintainer (THANKS!)
This commit is contained in:
Will Andrews 2000-11-14 06:28:58 +00:00
parent a84e5809ef
commit 6a1b37225e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35128
627 changed files with 11671 additions and 4785 deletions

View File

@ -6,109 +6,157 @@
#
PORTNAME= postfix
PORTVERSION= 19991231.08
PORTVERSION= 19991231.10
CATEGORIES= mail
MASTER_SITES= ftp://ftp.merit.edu/postfix/official/ \
ftp://ftp.snoopy.net/pub/mirrors/postfix/official/ \
ftp://ftp.reverse.net/pub/postfix/official/ \
ftp://postfix.eu.org/pub/postfix/official/ \
ftp://ftp.sunet.se/pub/unix/mail/postfix/official/ \
ftp://ftp.tux.org/pub/net/postfix/official/ \
ftp://ftp.utoronto.ca/mirror/packages/postfix/official/ \
ftp://ftp.samurai.com/pub/postfix/official/ \
ftp://ftp.nl.uu.net/pub/unix/mail/postfix/official/ \
ftp://ftp.cs.tu-berlin.de/pub/net/mail/postfix/official/ \
ftp://ftp.postfix.oaktree.co.uk/pub/postfix/official/
DISTNAME= ${PORTNAME}-19991231-pl08
ftp://ftp.mira.net/pub/unix/mail/postfix/official/ \
ftp://coda.nctu.edu.tw/network/mail/postfix/official/
DISTNAME= ${PORTNAME}-19991231-pl10
MAINTAINER= blaz@amis.net
# WARNING: this is based on a patch submitted by a user and has not been
# tested. Use it at your own risk !
.if !defined(DEBUG)
MAKEFILEFLAGS+= DEBUG=
.endif
.if defined(CC)
MAKEFILEFLAGS+= CC="${CC}"
.endif
MAKEFILEFLAGS+= OPT="${CFLAGS}"
SCRIPTS_ENV+= MAN1="${MAN1}" MAN5="${MAN5}" MAN8="${MAN8}"
MAN1= mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \
postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postsuper.1 \
sendmail.1
MAN5= access.5 aliases.5 canonical.5 relocated.5 transport.5 virtual.5
MAN8= bounce.8 cleanup.8 defer.8 error.8 local.8 master.8 pickup.8 \
pipe.8 qmgr.8 showq.8 smtp.8 smtpd.8 trivial-rewrite.8
CONF1= access aliases canonical main.cf master.cf \
relocated transport virtual
CONF2= sample-aliases.cf sample-canonical.cf sample-debug.cf \
sample-filter.cf sample-local.cf sample-misc.cf \
sample-rate.cf sample-regexp.cf sample-relocated.cf \
sample-resource.cf sample-rewrite.cf sample-smtp.cf \
sample-smtpd.cf sample-transport.cf sample-virtual.cf
BIN1= bounce cleanup error local master pickup \
pipe qmgr showq smtp smtpd trivial-rewrite
BIN2= postalias postcat postconf postdrop postfix \
postkick postlock postlog postmap postsuper sendmail
.if defined(WITH_MYSQL)
BUILD_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql322-client
POSTFIX_CCARGS+= -DHAS_MYSQL -I${LOCALBASE}/include/mysql
POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a -lm
.endif
# WARNING: this is based on a patch submitted by a user and has not been
# tested. Use it at your own risk !
.if defined(WITH_LDAP)
CONF2+= sample-ldap.cf
BUILD_DEPENDS+= ${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap
POSTFIX_CCARGS+= -DHAS_LDAP -I${LOCALBASE}/include
POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/libldap.a ${PREFIX}/lib/liblber.a
PLIST_SUB+= WITH_LDAP=""
.else
PLIST_SUB+= WITH_LDAP="@comment "
.endif
ALL_TARGET= CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}"
.if defined(WITH_PCRE)
CONF2+= sample-pcre.cf
BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcre.a:${PORTSDIR}/devel/pcre
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/libpcre.a
PLIST_SUB+= WITH_PCRE=""
.else
PLIST_SUB+= WITH_PCRE="@comment "
.endif
SCRIPTS_ENV+= MAN1="${MAN1}" MAN5="${MAN5}" MAN8="${MAN8}"
MAKE_ENV+= "OPT=${CFLAGS}"
MAN1= mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \
postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postsuper.1 \
sendmail.1
MAN5= access.5 aliases.5 canonical.5 relocated.5 transport.5 virtual.5
MAN8= bounce.8 cleanup.8 defer.8 local.8 master.8 pickup.8 pipe.8 qmgr.8 \
showq.8 smtp.8 smtpd.8 trivial-rewrite.8 error.8
SHAREMODE= 0444
PDOC= ${PREFIX}/share/doc/postfix
do-install:
@${MKDIR} -m 755 ${PREFIX}/etc/postfix
@${CHOWN} root:wheel ${PREFIX}/etc/postfix
@${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/conf/LICENSE \
${PREFIX}/etc/postfix/LICENSE
@for f in access main.cf master.cf ; do \
${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/conf/$$f \
${PREFIX}/etc/postfix/sample-$$f ; \
done
@for f in sample-aliases.cf sample-canonical.cf sample-debug.cf \
sample-ldap.cf sample-local.cf sample-misc.cf sample-pcre.cf \
sample-rate.cf sample-relocated.cf sample-resource.cf \
sample-rewrite.cf sample-smtp.cf sample-smtpd.cf \
sample-transport.cf sample-virtual.cf ; do \
${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/conf/$$f \
${PREFIX}/etc/postfix/$$f ;\
done
@${INSTALL} -C -o root -g wheel -m 755 ${WRKSRC}/conf/postfix-script-sgid \
${PREFIX}/etc/postfix/postfix-script
@${MKDIR} -m 0755 ${PREFIX}/libexec/postfix
@for f in bounce cleanup error local master pickup pipe qmgr \
showq smtp smtpd trivial-rewrite ; do \
${INSTALL} -C -o root -g wheel -m 0755 -s \
${WRKSRC}/libexec/$$f ${PREFIX}/libexec/postfix/$$f ;\
done
@for f in postalias postcat postconf postfix postkick postlock postlog\
postmap postsuper sendmail smtp-sink smtp-source ; do \
${INSTALL} -C -o root -g wheel -m 0755 -s ${WRKSRC}/bin/$$f \
${PREFIX}/sbin/$$f ;\
done
@${INSTALL} -C -o root -g maildrop -m 2755 -s ${WRKSRC}/bin/postdrop \
${PREFIX}/sbin/postdrop
@for f in ${MAN1} ; do \
${INSTALL} -C -o root -g wheel -m 0755 ${WRKSRC}/man/man1/$$f \
${PREFIX}/man/man1/$$f ;\
done
@for f in ${MAN5} ; do \
${INSTALL} -C -o root -g wheel -m 0755 ${WRKSRC}/man/man5/$$f \
${PREFIX}/man/man5/$$f ;\
done
@for f in ${MAN8} ; do \
${INSTALL} -C -o root -g wheel -m 0755 ${WRKSRC}/man/man8/$$f \
${PREFIX}/man/man8/$$f ;\
done
@${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${PDOC}
@cd ${WRKSRC} && ${INSTALL_DATA} \
html/*.html html/*.gif ${PDOC} && \
${ECHO_MSG} "Installed HTML documentation in ${PDOC}"
@${MKDIR} -m 0755 /var/spool/postfix
@${ECHO_MSG} "--------------------------------------------------"
@${ECHO_MSG} "- To replace your existing sendmail with postfix -"
@${ECHO_MSG} "- type \"make replace\" -"
@${ECHO_MSG} "--------------------------------------------------"
post-patch:
(cd ${WRKSRC} && make -f Makefile.init makefiles ${MAKEFILEFLAGS} \
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
${ECHO} "all: default" >> Makefile)
pre-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
do-install:
@${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 0755 \
${PREFIX}/etc/postfix \
${PREFIX}/libexec/postfix \
/var/spool/postfix
@${INSTALL_DATA} ${WRKSRC}/conf/LICENSE ${PREFIX}/etc/postfix
.for file in ${CONF1}
@${INSTALL_DATA} \
${WRKSRC}/conf/${file} \
${PREFIX}/etc/postfix/sample-${file}
.endfor
.for file in ${CONF2}
@${INSTALL_DATA} \
${WRKSRC}/conf/${file} \
${PREFIX}/etc/postfix
.endfor
@${INSTALL_SCRIPT} \
${WRKSRC}/conf/postfix-script-sgid \
${PREFIX}/etc/postfix/postfix-script
.for file in ${BIN1}
@${INSTALL_PROGRAM} \
${WRKSRC}/libexec/${file} \
${PREFIX}/libexec/postfix
.endfor
.for file in ${BIN2}
@${INSTALL_PROGRAM} \
${WRKSRC}/${file}/${file} \
${PREFIX}/sbin
.endfor
.for file in ${MAN1}
@${INSTALL_MAN} \
${WRKSRC}/man/man1/${file} \
${PREFIX}/man/man1
.endfor
.for file in ${MAN5}
@${INSTALL_MAN} \
${WRKSRC}/man/man5/${file} \
${PREFIX}/man/man5
.endfor
.for file in ${MAN8}
@${INSTALL_MAN} \
${WRKSRC}/man/man8/${file} \
${PREFIX}/man/man8
.endfor
.if !defined(NOPORTDOCS)
@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${PREFIX}/share/doc/postfix
@cd ${WRKSRC} && ${INSTALL_DATA} LDAP_README MYSQL_README ${PREFIX}/share/doc/postfix
@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${PREFIX}/share/doc/postfix/html
@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${PREFIX}/share/doc/postfix/html && \
${ECHO_MSG} "Installed documentation in ${PREFIX}/share/doc/postfix"
.endif
@${ECHO_MSG} '--------------------------------------------------'
@${ECHO_MSG} '- To replace your existing sendmail with postfix -'
@${ECHO_MSG} '- type "make replace" -'
@${ECHO_MSG} '--------------------------------------------------'
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.pre.mk>
@ -116,32 +164,41 @@ replace:
.if ${OSVERSION} >= 400014
@${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf"
${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak
${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf
${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf
${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf
${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf
${ECHO} "#" > /etc/mail/mailer.conf
${ECHO} -n "# Execute the Postfix sendmail program" >> /etc/mail/mailer.conf
${ECHO} ", named ${PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
${ECHO} "#" >> /etc/mail/mailer.conf
${ECHO} "sendmail ${PREFIX}/sbin/sendmail" >>/etc/mail/mailer.conf
${ECHO} "send-mail ${PREFIX}/sbin/sendmail" >>/etc/mail/mailer.conf
${ECHO} "mailq ${PREFIX}/sbin/sendmail" >>/etc/mail/mailer.conf
${ECHO} "newaliases ${PREFIX}/sbin/sendmail" >>/etc/mail/mailer.conf
.else
@${ECHO_MSG} "===> Replacing sendmail"
@if [ -e /usr/sbin/sendmail ]; then \
${MV} -f /usr/sbin/sendmail /usr/sbin/sendmail.OFF; \
${CHMOD} 0 /usr/sbin/sendmail.OFF; \
fi
@if [ -e ${PREFIX}/sbin/sendmail ]; then \
${LN} -s ${PREFIX}/sbin/sendmail /usr/sbin/sendmail; \
fi
@${ECHO_MSG} "===> Replacing mailq"
@if [ -e /usr/bin/mailq ]; then \
${MV} -f /usr/bin/mailq /usr/bin/mailq.OFF; \
${CHMOD} 0 /usr/bin/mailq.OFF; \
fi
@if [ -e ${PREFIX}/sbin/sendmail ]; then \
${LN} -s ${PREFIX}/sbin/sendmail /usr/bin/mailq; \
fi
@${ECHO_MSG} "===> Replacing newaliases"
@if [ -e /usr/bin/newaliases ]; then \
${MV} -f /usr/bin/newaliases /usr/bin/newaliases.OFF; \
${CHMOD} 0 /usr/bin/newaliases.OFF; \
fi
@if [ -e ${PREFIX}/sbin/sendmail ]; then \
${LN} -s ${PREFIX}/sbin/sendmail /usr/bin/newaliases; \
fi

View File

@ -1 +1 @@
MD5 (postfix-19991231-pl08.tar.gz) = 0461524d91c87b03c80cc640ec953a63
MD5 (postfix-19991231-pl10.tar.gz) = 0ff9c13e83ea5123852603904d4f1978

View File

@ -1,36 +1,69 @@
*** global/mail_params.h.orig Sat Mar 20 15:09:46 1999
--- global/mail_params.h Sat Mar 20 15:10:46 1999
*** ./conf/main.cf.orig Fri Jan 28 09:44:47 2000
--- ./conf/main.cf Thu Jun 1 22:01:21 2000
***************
*** 127,133 ****
*/
#define VAR_PROGRAM_DIR "program_directory"
#ifndef DEF_PROGRAM_DIR
! #define DEF_PROGRAM_DIR "/usr/libexec/postfix"
#endif
*** 19,21 ****
#
! command_directory = /usr/sbin
#define VAR_DAEMON_DIR "daemon_directory"
--- 127,133 ----
*/
#define VAR_PROGRAM_DIR "program_directory"
#ifndef DEF_PROGRAM_DIR
! #define DEF_PROGRAM_DIR "!!PREFIX!!/libexec/postfix"
#endif
--- 19,21 ----
#
! command_directory = !!PREFIX!!/sbin
#define VAR_DAEMON_DIR "daemon_directory"
***************
*** 161,167 ****
*/
#define VAR_CONFIG_DIR "config_directory"
#ifndef DEF_CONFIG_DIR
! #define DEF_CONFIG_DIR "/etc/postfix"
#endif
extern char *var_config_dir;
*** 26,28 ****
#
! daemon_directory = /usr/libexec/postfix
--- 161,167 ----
*/
#define VAR_CONFIG_DIR "config_directory"
#ifndef DEF_CONFIG_DIR
! #define DEF_CONFIG_DIR "!!PREFIX!!/etc/postfix"
#endif
extern char *var_config_dir;
--- 26,28 ----
#
! daemon_directory = !!PREFIX!!/libexec/postfix
***************
*** 43,45 ****
#
! #default_privs = nobody
--- 43,45 ----
#
! default_privs = nobody
***************
*** 180,182 ****
#alias_database = dbm:/etc/aliases
! #alias_database = dbm:/etc/mail/aliases
#alias_database = hash:/etc/aliases
--- 180,182 ----
#alias_database = dbm:/etc/aliases
! #alias_database = dbm:/etc/aliases
#alias_database = hash:/etc/aliases
***************
*** 199,202 ****
# mailbox file relative to a user's home directory. The default
! # mailbox file is /var/spool/mail/user or /var/mail/user. Specify
! # "Maildir/" for qmail-style delivery (the / is required).
#
--- 199,202 ----
# mailbox file relative to a user's home directory. The default
! # mailbox file is /var/mail/user. Specify "Maildir/" for
! # qmail-style delivery (the / is required).
#
***************
*** 209,211 ****
#
! # mail_spool_directory = /var/mail
# mail_spool_directory = /var/spool/mail
--- 209,211 ----
#
! mail_spool_directory = /var/mail
# mail_spool_directory = /var/spool/mail
***************
*** 274,277 ****
#
! #header_checks = regexp:/etc/postfix/filename
! #header_checks = pcre:/etc/postfix/filename
--- 274,277 ----
#
! #header_checks = regexp:!!PREFIX!!/etc/postfix/filename
! #header_checks = pcre:!!PREFIX!!/etc/postfix/filename

View File

@ -1,28 +1,11 @@
--- conf/main.cf.orig Tue Dec 28 05:03:38 1999
+++ conf/main.cf Sun Jan 2 21:31:24 2000
@@ -17,14 +17,14 @@
# The command_directory parameter specifies the location of all
# postXXX commands. The default value is $program_directory.
#
-command_directory = /usr/sbin
+command_directory = !!PREFIX!!/sbin
# The daemon_directory parameter specifies the location of all Postfix
# daemon programs (i.e. programs listed in the master.cf file). The
# default value is $program_directory. This directory must be owned
# by root.
#
-daemon_directory = /usr/libexec/postfix
+daemon_directory = !!PREFIX!!/libexec/postfix
# QUEUE AND PROCESS OWNERSHIP
#
@@ -41,7 +41,7 @@
# These rights are used in the absence of a recipient user context.
# DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER.
#
-#default_privs = nobody
+default_privs = nobody
# INTERNET HOST AND DOMAIN NAMES
#
--- conf/canonical.orig Sun Sep 5 23:47:01 1999
+++ conf/canonical Tue Nov 7 22:24:42 2000
@@ -4,7 +4,7 @@
# SUMMARY
# format of Postfix canonical table
# SYNOPSIS
-# \fBpostmap /etc/postfix/canonical\fR
+# \fBpostmap !!PREFIX!!/etc/postfix/canonical\fR
# DESCRIPTION
# The optional \fBcanonical\fR file specifies an address mapping for
# local and non-local addresses. The mapping is used by the

View File

@ -0,0 +1,11 @@
--- conf/access.orig Fri Dec 11 19:55:48 1998
+++ conf/access Tue Nov 7 22:25:54 2000
@@ -4,7 +4,7 @@
# SUMMARY
# format of Postfix access table
# SYNOPSIS
-# \fBpostmap /etc/postfix/access\fR
+# \fBpostmap !!PREFIX!!/etc/postfix/access\fR
# DESCRIPTION
# The optional \fBaccess\fR table directs the Postfix SMTP server
# to selectively reject or accept mail from or to specific hosts,

View File

@ -0,0 +1,11 @@
--- conf/relocated.orig Sun Sep 5 23:47:01 1999
+++ conf/relocated Tue Nov 7 22:28:27 2000
@@ -4,7 +4,7 @@
# SUMMARY
# format of Postfix relocated table
# SYNOPSIS
-# \fBpostmap /etc/postfix/relocated\fR
+# \fBpostmap !!PREFIX!!/etc/postfix/relocated\fR
# DESCRIPTION
# The optional \fBrelocated\fR file provides the information that is
# used in "user has moved to \fInew_location\fR" bounce messages.

View File

@ -0,0 +1,44 @@
*** ./conf/sample-canonical.cf.orig Thu Sep 23 14:10:38 1999
--- ./conf/sample-canonical.cf Thu Jun 1 22:07:23 2000
***************
*** 14,16 ****
#
! # If you use this feature, run "postmap /etc/postfix/canonical" to
# build the necessary DBM or DB file after every change. The changes
--- 14,16 ----
#
! # If you use this feature, run "postmap !!PREFIX!!/etc/postfix/canonical" to
# build the necessary DBM or DB file after every change. The changes
***************
*** 19,24 ****
#
! # canonical_maps = dbm:/etc/postfix/canonical
! # canonical_maps = hash:/etc/postfix/canonical
! # canonical_maps = hash:/etc/postfix/canonical, nis:canonical
! # canonical_maps = hash:/etc/postfix/canonical, netinfo:/canonical
canonical_maps =
--- 19,24 ----
#
! # canonical_maps = dbm:!!PREFIX!!/etc/postfix/canonical
! # canonical_maps = hash:!!PREFIX!!/etc/postfix/canonical
! # canonical_maps = hash:!!PREFIX!!/etc/postfix/canonical, nis:canonical
! # canonical_maps = hash:!!PREFIX!!/etc/postfix/canonical, netinfo:/canonical
canonical_maps =
***************
*** 32,34 ****
#
! # recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
recipient_canonical_maps =
--- 32,34 ----
#
! # recipient_canonical_maps = hash:!!PREFIX!!/etc/postfix/recipient_canonical
recipient_canonical_maps =
***************
*** 46,48 ****
#
! # sender_canonical_maps = hash:/etc/postfix/sender_canonical
sender_canonical_maps =
--- 46,48 ----
#
! # sender_canonical_maps = hash:!!PREFIX!!/etc/postfix/sender_canonical
sender_canonical_maps =

View File

@ -0,0 +1,18 @@
*** ./conf/sample-filter.cf.orig Mon May 29 11:30:44 2000
--- ./conf/sample-filter.cf Thu Jun 1 22:07:58 2000
***************
*** 15,17 ****
#
! header_checks = regexp:/etc/postfix/header_checks
--- 15,17 ----
#
! header_checks = regexp:!!PREFIX!!/etc/postfix/header_checks
***************
*** 26,27 ****
#
! body_checks = regexp:/etc/postfix/body_checks
--- 26,27 ----
#
! body_checks = regexp:!!PREFIX!!/etc/postfix/body_checks

View File

@ -0,0 +1,24 @@
*** ./conf/sample-misc.cf.orig Thu Sep 23 14:10:52 1999
--- ./conf/sample-misc.cf Thu Jun 1 22:09:39 2000
***************
*** 220,222 ****
#
! program_directory = /usr/libexec/postfix
--- 220,222 ----
#
! program_directory = !!PREFIX!!/usr/libexec/postfix
***************
*** 263,267 ****
# Specify the types and names of databases to use. After change,
! # run "postmap /etc/postfix/relocated", then "postfix reload".
#
! # relocated_maps = hash:/etc/postfix/relocated
relocated_maps =
--- 263,267 ----
# Specify the types and names of databases to use. After change,
! # run "postmap !!PREFIX!!/etc/postfix/relocated", then "postfix reload".
#
! # relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated
relocated_maps =

View File

@ -0,0 +1,26 @@
*** ./conf/sample-relocated.cf.orig Thu Sep 23 14:11:17 1999
--- ./conf/sample-relocated.cf Thu Jun 1 22:10:43 2000
***************
*** 12,14 ****
#
! # If you use this feature, run "postmap /etc/postfix/relocated" to
# build the necessary DBM or DB file after change, then "postfix
--- 12,14 ----
#
! # If you use this feature, run "postmap !!PREFIX!!/etc/postfix/relocated" to
# build the necessary DBM or DB file after change, then "postfix
***************
*** 16,21 ****
#
! # relocated_maps = dbm:/etc/postfix/relocated
! # relocated_maps = hash:/etc/postfix/relocated
! # relocated_maps = hash:/etc/postfix/relocated, nis:virtual
! # relocated_maps = hash:/etc/postfix/relocated, netinfo:/relocated
relocated_maps =
--- 16,21 ----
#
! # relocated_maps = dbm:!!PREFIX!!/etc/postfix/relocated
! # relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated
! # relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated, nis:virtual
! # relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated, netinfo:/relocated
relocated_maps =

View File

@ -0,0 +1,11 @@
*** ./conf/sample-smtpd.cf.orig Mon Dec 27 19:41:37 1999
--- ./conf/sample-smtpd.cf Thu Jun 1 22:11:22 2000
***************
*** 183,185 ****
# smtpd_sender_restrictions = reject_unknown_sender_domain
! # smtpd_sender_restrictions = reject_unknown_sender_domain, hash:/etc/postfix/access
smtpd_sender_restrictions =
--- 183,185 ----
# smtpd_sender_restrictions = reject_unknown_sender_domain
! # smtpd_sender_restrictions = reject_unknown_sender_domain, hash:!!PREFIX!!/etc/postfix/access
smtpd_sender_restrictions =

View File

@ -0,0 +1,23 @@
*** ./conf/sample-transport.cf.orig Thu Dec 23 10:50:00 1999
--- ./conf/sample-transport.cf Thu Jun 1 22:13:09 2000
***************
*** 10,18 ****
# By default, this feature is disabled. Specify the types of databases
! # to use. If you use this feature, run "postmap /etc/postfix/transport"
# after change, then "postfix reload".
#
! # transport_maps = dbm:/etc/postfix/transport
! # transport_maps = hash:/etc/postfix/transport
! # transport_maps = hash:/etc/postfix/transport, nis:transport
! # transport_maps = hash:/etc/postfix/transport, netinfo:/transport
transport_maps =
--- 10,18 ----
# By default, this feature is disabled. Specify the types of databases
! # to use. If you use this feature, run "postmap !!PREFIX!!/etc/postfix/transport"
# after change, then "postfix reload".
#
! # transport_maps = dbm:!!PREFIX!!/etc/postfix/transport
! # transport_maps = hash:!!PREFIX!!/etc/postfix/transport
! # transport_maps = hash:!!PREFIX!!/etc/postfix/transport, nis:transport
! # transport_maps = hash:!!PREFIX!!/etc/postfix/transport, netinfo:/transport
transport_maps =

View File

@ -0,0 +1,26 @@
*** ./conf/sample-virtual.cf.orig Mon Dec 20 21:00:42 1999
--- ./conf/sample-virtual.cf Thu Jun 1 22:13:32 2000
***************
*** 12,14 ****
#
! # If you use this feature, run "postmap /etc/postfix/virtual" to
# build the necessary DBM or DB file after change.
--- 12,14 ----
#
! # If you use this feature, run "postmap !!PREFIX!!/etc/postfix/virtual" to
# build the necessary DBM or DB file after change.
***************
*** 18,23 ****
#
! # virtual_maps = dbm:/etc/postfix/virtual
! # virtual_maps = hash:/etc/postfix/virtual
! # virtual_maps = hash:/etc/postfix/virtual, nis:virtual
! # virtual_maps = hash:/etc/postfix/virtual, netinfo:/virtual
virtual_maps =
--- 18,23 ----
#
! # virtual_maps = dbm:!!PREFIX!!/etc/postfix/virtual
! # virtual_maps = hash:!!PREFIX!!/etc/postfix/virtual
! # virtual_maps = hash:!!PREFIX!!/etc/postfix/virtual, nis:virtual
! # virtual_maps = hash:!!PREFIX!!/etc/postfix/virtual, netinfo:/virtual
virtual_maps =

View File

@ -0,0 +1,11 @@
--- conf/transport.orig Fri Dec 31 20:54:11 1999
+++ conf/transport Tue Nov 7 22:46:59 2000
@@ -4,7 +4,7 @@
# SUMMARY
# format of Postfix transport table
# SYNOPSIS
-# \fBpostmap /etc/postfix/transport\fR
+# \fBpostmap !!PREFIX!!/etc/postfix/transport\fR
# DESCRIPTION
# The optional \fBtransport\fR file specifies a mapping from domain
# hierarchies to message delivery transports and/or relay hosts. The

View File

@ -0,0 +1,11 @@
--- conf/virtual.orig Tue Dec 21 03:00:13 1999
+++ conf/virtual Tue Nov 7 22:48:18 2000
@@ -4,7 +4,7 @@
# SUMMARY
# format of Postfix virtual table
# SYNOPSIS
-# \fBpostmap /etc/postfix/virtual\fR
+# \fBpostmap !!PREFIX!!/etc/postfix/virtual\fR
# DESCRIPTION
# The optional \fBvirtual\fR table specifies redirections for local
# and non-local recipients or domains. The redirections are used by

View File

@ -1,19 +1,20 @@
*** man/man1/postdrop.1.orig Mon Mar 29 22:35:14 1999
--- man/man1/postdrop.1 Mon Mar 29 22:35:25 1999
*** ./html/mailq.1.html.orig Sat Apr 22 20:28:36 2000
--- ./html/mailq.1.html Thu Jun 1 22:19:24 2000
***************
*** 51,57 ****
.na
.nf
/var/spool/postfix, mail queue
! /etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS
.na
.nf
--- 51,57 ----
.na
.nf
/var/spool/postfix, mail queue
! !!PREFIX!!/etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS
.na
.nf
*** 83,85 ****
The path name of the <b>sendmail.cf</b> file. Postfix con-
! figuration files are kept in <b>/etc/postfix</b>.
--- 83,85 ----
The path name of the <b>sendmail.cf</b> file. Postfix con-
! figuration files are kept in <b>!!PREFIX!!/etc/postfix</b>.
***************
*** 231,233 ****
/var/spool/postfix, mail queue
! /etc/postfix, configuration files
--- 231,233 ----
/var/spool/postfix, mail queue
! !!PREFIX!!/etc/postfix, configuration files

View File

@ -1,36 +1,11 @@
*** man/man1/sendmail.1.orig Mon Mar 29 22:35:30 1999
--- man/man1/sendmail.1 Mon Mar 29 22:35:44 1999
***************
*** 60,66 ****
\fBjust-send-eight\fR.
.IP "\fB-C \fIconfig_file\fR (ignored :-)"
The path name of the \fBsendmail.cf\fR file. Postfix configuration
! files are kept in \fB/etc/postfix\fR.
.IP "\fB-F \fIfull_name\fR
Set the sender full name. This is used only with messages that
have no \fBFrom:\fR message header.
--- 60,66 ----
\fBjust-send-eight\fR.
.IP "\fB-C \fIconfig_file\fR (ignored :-)"
The path name of the \fBsendmail.cf\fR file. Postfix configuration
! files are kept in \fB!!PREFIX!!/etc/postfix\fR.
.IP "\fB-F \fIfull_name\fR
Set the sender full name. This is used only with messages that
have no \fBFrom:\fR message header.
***************
*** 164,170 ****
.na
.nf
/var/spool/postfix, mail queue
! /etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS
.na
.nf
--- 164,170 ----
.na
.nf
/var/spool/postfix, mail queue
! !!PREFIX!!/etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS
.na
.nf
--- html/access.5.html.orig Fri Dec 11 19:55:49 1998
+++ html/access.5.html Tue Nov 7 22:48:47 2000
@@ -9,7 +9,7 @@
access - format of Postfix access table
<b>SYNOPSIS</b>
- <b>postmap</b> <b>/etc/postfix/access</b>
+ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/access</b>
<b>DESCRIPTION</b>
The optional <b>access</b> table directs the Postfix SMTP server

View File

@ -1,19 +1,11 @@
*** man/man5/access.5.orig Mon Mar 29 22:35:58 1999
--- man/man5/access.5 Mon Mar 29 22:36:13 1999
***************
*** 8,14 ****
.SH SYNOPSIS
.na
.nf
! \fBpostmap /etc/postfix/access\fR
.SH DESCRIPTION
.ad
.fi
--- 8,14 ----
.SH SYNOPSIS
.na
.nf
! \fBpostmap !!PREFIX!!/etc/postfix/access\fR
.SH DESCRIPTION
.ad
.fi
--- html/canonical.5.html.orig Mon Sep 6 05:13:54 1999
+++ html/canonical.5.html Tue Nov 7 22:51:05 2000
@@ -9,7 +9,7 @@
canonical - format of Postfix canonical table
<b>SYNOPSIS</b>
- <b>postmap</b> <b>/etc/postfix/canonical</b>
+ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/canonical</b>
<b>DESCRIPTION</b>
The optional <b>canonical</b> file specifies an address mapping

View File

@ -1,19 +1,11 @@
*** man/man5/canonical.5.orig Mon Mar 29 22:36:25 1999
--- man/man5/canonical.5 Mon Mar 29 22:36:32 1999
*** ./html/local.8.html.orig Thu Feb 3 21:15:02 2000
--- ./html/local.8.html Thu Jun 1 22:22:30 2000
***************
*** 8,14 ****
.SH SYNOPSIS
.na
.nf
! \fBpostmap /etc/postfix/canonical\fR
.SH DESCRIPTION
.ad
.fi
--- 8,14 ----
.SH SYNOPSIS
.na
.nf
! \fBpostmap !!PREFIX!!/etc/postfix/canonical\fR
.SH DESCRIPTION
.ad
.fi
*** 99,101 ****
The default per-user mailbox is a file in the UNIX mail
! spool directory (<b>/var/mail/</b><i>user</i> or <b>/var/spool/mail/</b><i>user</i>);
the location can be specified with the <b>mail</b><i>_</i><b>spool</b><i>_</i><b>direc-</b>
--- 99,101 ----
The default per-user mailbox is a file in the UNIX mail
! spool directory (<b>/var/mail/</b><i>user</i>);
the location can be specified with the <b>mail</b><i>_</i><b>spool</b><i>_</i><b>direc-</b>

View File

@ -1,19 +1,10 @@
*** man/man5/relocated.5.orig Mon Mar 29 22:36:36 1999
--- man/man5/relocated.5 Mon Mar 29 22:36:47 1999
***************
*** 8,14 ****
.SH SYNOPSIS
.na
.nf
! \fBpostmap /etc/postfix/relocated\fR
.SH DESCRIPTION
.ad
.fi
--- 8,14 ----
.SH SYNOPSIS
.na
.nf
! \fBpostmap !!PREFIX!!/etc/postfix/relocated\fR
.SH DESCRIPTION
.ad
.fi
--- ./html/faq.html.orig Sat Oct 28 23:34:51 2000
+++ ./html/faq.html Sat Oct 28 23:36:04 2000
@@ -2572,7 +2572,7 @@
Answer: instead of using <b>/usr/include/ndbm.h</b>, you're building
Postfix with some incompatible third-party file, typically
-<b>/usr/local/include/ndbm.h</b>.
+<b>!!PREFIX!!/include/ndbm.h</b>.
<p>

View File

@ -1,19 +1,13 @@
*** man/man5/virtual.5.orig Mon Mar 29 22:36:55 1999
--- man/man5/virtual.5 Mon Mar 29 22:37:02 1999
*** ./html/cleanup.8.html.orig Sun May 28 21:58:41 2000
--- ./html/cleanup.8.html Thu Jun 1 22:29:04 2000
***************
*** 8,14 ****
.SH SYNOPSIS
.na
.nf
! \fBpostmap /etc/postfix/virtual\fR
.SH DESCRIPTION
.ad
.fi
--- 8,14 ----
.SH SYNOPSIS
.na
.nf
! \fBpostmap !!PREFIX!!/etc/postfix/virtual\fR
.SH DESCRIPTION
.ad
.fi
*** 174,177 ****
<b>FILES</b>
! /etc/postfix/canonical*, canonical mapping table
! /etc/postfix/virtual*, virtual mapping table
--- 174,177 ----
<b>FILES</b>
! !!PREFIX!!/etc/postfix/canonical*, canonical mapping table
! !!PREFIX!!/etc/postfix/virtual*, virtual mapping table

View File

@ -1,19 +1,13 @@
*** man/man8/local.8.orig Mon Mar 29 22:37:14 1999
--- man/man8/local.8 Mon Mar 29 22:37:44 1999
*** ./html/master.8.html.orig Tue Mar 7 10:48:56 2000
--- ./html/master.8.html Thu Jun 1 22:29:24 2000
***************
*** 75,81 ****
.ad
.fi
The default per-user mailbox is a file in the UNIX mail spool
! directory (\fB/var/mail/\fIuser\fR or \fB/var/spool/mail/\fIuser\fR);
the location can be specified with the \fBmail_spool_directory\fR
configuration parameter.
--- 75,81 ----
.ad
.fi
The default per-user mailbox is a file in the UNIX mail spool
! directory (\fB/var/mail/\fIuser\fR);
the location can be specified with the \fBmail_spool_directory\fR
configuration parameter.
*** 148,151 ****
<b>FILES</b>
! /etc/postfix/main.cf: global configuration file.
! /etc/postfix/master.cf: master process configuration file.
/var/spool/postfix/pid/master.pid: master lock file.
--- 148,151 ----
<b>FILES</b>
! !!PREFIX!!/etc/postfix/main.cf: global configuration file.
! !!PREFIX!!/etc/postfix/master.cf: master process configuration file.
/var/spool/postfix/pid/master.pid: master lock file.

View File

@ -1,21 +1,11 @@
*** man/man8/cleanup.8.orig Mon Mar 29 22:37:59 1999
--- man/man8/cleanup.8 Mon Mar 29 22:38:13 1999
*** ./html/goals.html.orig Sun May 9 15:44:18 1999
--- ./html/goals.html Thu Jun 1 22:30:14 2000
***************
*** 118,125 ****
.SH FILES
.na
.nf
! /etc/postfix/canonical*, canonical mapping table
! /etc/postfix/virtual*, virtual mapping table
.SH LICENSE
.na
.nf
--- 118,125 ----
.SH FILES
.na
.nf
! !!PREFIX!!/etc/postfix/canonical*, canonical mapping table
! !!PREFIX!!/etc/postfix/virtual*, virtual mapping table
.SH LICENSE
.na
.nf
*** 45,47 ****
<li>Compatibility. Postfix is designed to be sendmail-compatible
! to make migration easy. Postfix supports <b>/var[/spool]/mail</b>,
<b>/etc/aliases</b>, <b>NIS</b>, and <b>~/.forward</b> files.
--- 45,47 ----
<li>Compatibility. Postfix is designed to be sendmail-compatible
! to make migration easy. Postfix supports <b>/var/mail</b>,
<b>/etc/aliases</b>, <b>NIS</b>, and <b>~/.forward</b> files.

View File

@ -1,21 +1,11 @@
*** man/man8/master.8.orig Mon Mar 29 22:38:17 1999
--- man/man8/master.8 Mon Mar 29 22:38:46 1999
*** ./html/postdrop.1.html.orig Mon May 3 15:05:12 1999
--- ./html/postdrop.1.html Thu Jun 1 22:30:47 2000
***************
*** 116,123 ****
.SH FILES
.na
.nf
! /etc/postfix/main.cf: global configuration file.
! /etc/postfix/master.cf: master process configuration file.
/var/spool/postfix/pid/master.pid: master lock file.
.SH SEE ALSO
.na
--- 116,123 ----
.SH FILES
.na
.nf
! !!PREFIX!!/etc/postfix/main.cf: global configuration file.
! !!PREFIX!!/etc/postfix/master.cf: master process configuration file.
/var/spool/postfix/pid/master.pid: master lock file.
.SH SEE ALSO
.na
*** 48,50 ****
/var/spool/postfix, mail queue
! /etc/postfix, configuration files
--- 48,50 ----
/var/spool/postfix, mail queue
! !!PREFIX!!/etc/postfix, configuration files

View File

@ -1,20 +1,42 @@
--- makedefs.orig Sun Jan 23 03:04:27 2000
+++ makedefs Mon Apr 3 08:59:17 2000
@@ -89,6 +89,8 @@
;;
FreeBSD.4*) SYSTYPE=FREEBSD4
;;
+ FreeBSD.5*) SYSTYPE=FREEBSD5
+ ;;
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
NetBSD.1*) SYSTYPE=NETBSD1
@@ -244,7 +246,7 @@
*) : ${OPT='-O'};;
esac
-: ${CC='gcc $(WARN)'} ${OPT='-O'} ${DEBUG='-g'} ${AWK=awk}
+: ${CC='gcc $(WARN)'} ${OPT='-O'} ${AWK=awk}
export SYSTYPE AR ARFL RANLIB SYSLIBS CC OPT DEBUG AWK OPTS
*** ./html/uce.html.orig Fri Dec 31 15:06:07 1999
--- ./html/uce.html Thu Jun 1 22:31:37 2000
***************
*** 126,130 ****
! <dd> <b>header_checks = regexp:/etc/postfix/header_checks</b>
! <dd> <b>header_checks = pcre:/etc/postfix/header_checks</b>
--- 126,130 ----
! <dd> <b>header_checks = regexp:!!PREFIX!!/etc/postfix/header_checks</b>
! <dd> <b>header_checks = pcre:!!PREFIX!!/etc/postfix/header_checks</b>
***************
*** 169,171 ****
! <dd> <b>smtpd_client_restrictions = hash:/etc/postfix/access,
reject_maps_rbl</b>
--- 169,171 ----
! <dd> <b>smtpd_client_restrictions = hash:!!PREFIX!!/etc/postfix/access,
reject_maps_rbl</b>
***************
*** 474,476 ****
! <dd> <b>smtpd_sender_restrictions = hash:/etc/postfix/access,
reject_unknown_sender_domain</b>
--- 474,476 ----
! <dd> <b>smtpd_sender_restrictions = hash:!!PREFIX!!/etc/postfix/access,
reject_unknown_sender_domain</b>
***************
*** 856,858 ****
<dd> <b>smtpd_etrn_restrictions = permit_mynetworks,
! hash:/etc/postfix/etrn_access, reject</b>
--- 856,858 ----
<dd> <b>smtpd_etrn_restrictions = permit_mynetworks,
! hash:!!PREFIX!!/etc/postfix/etrn_access, reject</b>

View File

@ -1,10 +1,29 @@
--- util/sys_defs.h.orig Sat Jan 22 16:03:31 2000
+++ util/sys_defs.h Sat Mar 25 09:19:31 2000
@@ -20,6 +20,7 @@
* makedefs script, and adding a section below for the new system.
*/
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
+ || defined(FREEBSD5) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(NETBSD1) || defined(RHAPSODY5)
#define SUPPORTED
*** ./html/rate.html.orig Wed Mar 17 17:55:22 1999
--- ./html/rate.html Thu Jun 1 22:32:19 2000
***************
*** 224,226 ****
! <dt>/etc/postfix/main.cf:
--- 224,226 ----
! <dt>!!PREFIX!!/etc/postfix/main.cf:
***************
*** 237,239 ****
! <dt>/etc/postfix/<a href="transport.5.html">transport</a>:
--- 237,239 ----
! <dt>!!PREFIX!!/etc/postfix/<a href="transport.5.html">transport</a>:
***************
*** 253,255 ****
! <dt>/etc/postfix/master.cf:
--- 253,255 ----
! <dt>!!PREFIX!!/etc/postfix/master.cf:

View File

@ -0,0 +1,11 @@
--- html/relocated.5.html.orig Mon Sep 6 05:13:55 1999
+++ html/relocated.5.html Tue Nov 7 22:52:46 2000
@@ -9,7 +9,7 @@
relocated - format of Postfix relocated table
<b>SYNOPSIS</b>
- <b>postmap</b> <b>/etc/postfix/relocated</b>
+ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/relocated</b>
<b>DESCRIPTION</b>
The optional <b>relocated</b> file provides the information that

View File

@ -0,0 +1,56 @@
*** ./html/rewrite.html.orig Sat May 8 17:51:41 1999
--- ./html/rewrite.html Thu Jun 1 22:34:21 2000
***************
*** 194,196 ****
! <dd><b>canonical_maps = hash:/etc/postfix/canonical</b>
--- 194,196 ----
! <dd><b>canonical_maps = hash:!!PREFIX!!/etc/postfix/canonical</b>
***************
*** 207,209 ****
! <dd><b>sender_canonical_maps = hash:/etc/postfix/sender_canonical</b>
--- 207,209 ----
! <dd><b>sender_canonical_maps = hash:!!PREFIX!!/etc/postfix/sender_canonical</b>
***************
*** 211,213 ****
! <dd><b>recipient_canonical_maps = hash:/etc/postfix/recipient_canonical</b>
--- 211,213 ----
! <dd><b>recipient_canonical_maps = hash:!!PREFIX!!/etc/postfix/recipient_canonical</b>
***************
*** 295,297 ****
! <dd><b>virtual_maps = hash:/etc/postfix/virtual</b>
--- 295,297 ----
! <dd><b>virtual_maps = hash:!!PREFIX!!/etc/postfix/virtual</b>
***************
*** 323,325 ****
! <dd><b>relocated_maps = hash:/etc/postfix/relocated</b>
--- 323,325 ----
! <dd><b>relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated</b>
***************
*** 348,350 ****
! <dd><b>transport_maps = hash:/etc/postfix/transport</b>
--- 348,350 ----
! <dd><b>transport_maps = hash:!!PREFIX!!/etc/postfix/transport</b>

View File

@ -0,0 +1,11 @@
--- html/transport.5.html.orig Fri Dec 31 20:54:56 1999
+++ html/transport.5.html Tue Nov 7 22:53:50 2000
@@ -9,7 +9,7 @@
transport - format of Postfix transport table
<b>SYNOPSIS</b>
- <b>postmap</b> <b>/etc/postfix/transport</b>
+ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/transport</b>
<b>DESCRIPTION</b>
The optional <b>transport</b> file specifies a mapping from

View File

@ -0,0 +1,11 @@
--- html/virtual.5.html.orig Tue Dec 21 03:00:58 1999
+++ html/virtual.5.html Tue Nov 7 22:55:04 2000
@@ -9,7 +9,7 @@
virtual - format of Postfix virtual table
<b>SYNOPSIS</b>
- <b>postmap</b> <b>/etc/postfix/virtual</b>
+ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/virtual</b>
<b>DESCRIPTION</b>
The optional <b>virtual</b> table specifies redirections for

View File

@ -0,0 +1,11 @@
*** ./man/man1/postdrop.1.orig Mon May 3 15:03:29 1999
--- ./man/man1/postdrop.1 Thu Jun 1 22:38:54 2000
***************
*** 53,55 ****
/var/spool/postfix, mail queue
! /etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS
--- 53,55 ----
/var/spool/postfix, mail queue
! !!PREFIX!!/etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS

View File

@ -0,0 +1,20 @@
*** ./man/man1/sendmail.1.orig Thu Mar 30 14:05:28 2000
--- ./man/man1/sendmail.1 Thu Jun 1 22:39:16 2000
***************
*** 63,65 ****
The path name of the \fBsendmail.cf\fR file. Postfix configuration
! files are kept in \fB/etc/postfix\fR.
.IP "\fB-F \fIfull_name\fR
--- 63,65 ----
The path name of the \fBsendmail.cf\fR file. Postfix configuration
! files are kept in \fB!!PREFIX!!/etc/postfix\fR.
.IP "\fB-F \fIfull_name\fR
***************
*** 173,175 ****
/var/spool/postfix, mail queue
! /etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS
--- 173,175 ----
/var/spool/postfix, mail queue
! !!PREFIX!!/etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS

View File

@ -0,0 +1,11 @@
--- man/man5/access.5.orig Fri Dec 11 19:55:52 1998
+++ man/man5/access.5 Tue Nov 7 22:56:25 2000
@@ -8,7 +8,7 @@
.SH SYNOPSIS
.na
.nf
-\fBpostmap /etc/postfix/access\fR
+\fBpostmap !!PREFIX!!/etc/postfix/access\fR
.SH DESCRIPTION
.ad
.fi

View File

@ -0,0 +1,11 @@
--- man/man5/canonical.5.orig Mon Sep 6 05:13:32 1999
+++ man/man5/canonical.5 Tue Nov 7 22:57:40 2000
@@ -8,7 +8,7 @@
.SH SYNOPSIS
.na
.nf
-\fBpostmap /etc/postfix/canonical\fR
+\fBpostmap !!PREFIX!!/etc/postfix/canonical\fR
.SH DESCRIPTION
.ad
.fi

View File

@ -0,0 +1,11 @@
--- man/man5/relocated.5.orig Mon Sep 6 05:13:33 1999
+++ man/man5/relocated.5 Tue Nov 7 22:59:11 2000
@@ -8,7 +8,7 @@
.SH SYNOPSIS
.na
.nf
-\fBpostmap /etc/postfix/relocated\fR
+\fBpostmap !!PREFIX!!/etc/postfix/relocated\fR
.SH DESCRIPTION
.ad
.fi

View File

@ -0,0 +1,11 @@
--- man/man5/transport.5.orig Fri Dec 31 20:54:51 1999
+++ man/man5/transport.5 Tue Nov 7 22:59:57 2000
@@ -8,7 +8,7 @@
.SH SYNOPSIS
.na
.nf
-\fBpostmap /etc/postfix/transport\fR
+\fBpostmap !!PREFIX!!/etc/postfix/transport\fR
.SH DESCRIPTION
.ad
.fi

View File

@ -0,0 +1,11 @@
--- man/man5/virtual.5.orig Tue Dec 21 03:00:51 1999
+++ man/man5/virtual.5 Tue Nov 7 23:00:32 2000
@@ -8,7 +8,7 @@
.SH SYNOPSIS
.na
.nf
-\fBpostmap /etc/postfix/virtual\fR
+\fBpostmap !!PREFIX!!/etc/postfix/virtual\fR
.SH DESCRIPTION
.ad
.fi

View File

@ -0,0 +1,13 @@
*** ./man/man8/cleanup.8.orig Sun May 28 21:58:32 2000
--- ./man/man8/cleanup.8 Thu Jun 1 22:42:21 2000
***************
*** 136,139 ****
.nf
! /etc/postfix/canonical*, canonical mapping table
! /etc/postfix/virtual*, virtual mapping table
.SH LICENSE
--- 136,139 ----
.nf
! !!PREFIX!!/etc/postfix/canonical*, canonical mapping table
! !!PREFIX!!/etc/postfix/virtual*, virtual mapping table
.SH LICENSE

View File

@ -0,0 +1,11 @@
*** ./man/man8/local.8.orig Thu Feb 3 21:14:53 2000
--- ./man/man8/local.8 Thu Jun 1 22:42:43 2000
***************
*** 96,98 ****
The default per-user mailbox is a file in the UNIX mail spool
! directory (\fB/var/mail/\fIuser\fR or \fB/var/spool/mail/\fIuser\fR);
the location can be specified with the \fBmail_spool_directory\fR
--- 96,98 ----
The default per-user mailbox is a file in the UNIX mail spool
! directory (\fB/var/mail/\fIuser\fR);
the location can be specified with the \fBmail_spool_directory\fR

View File

@ -0,0 +1,13 @@
*** ./man/man8/master.8.orig Tue Mar 7 10:48:19 2000
--- ./man/man8/master.8 Thu Jun 1 22:43:02 2000
***************
*** 120,123 ****
.nf
! /etc/postfix/main.cf: global configuration file.
! /etc/postfix/master.cf: master process configuration file.
/var/spool/postfix/pid/master.pid: master lock file.
--- 120,123 ----
.nf
! !!PREFIX!!/etc/postfix/main.cf: global configuration file.
! !!PREFIX!!/etc/postfix/master.cf: master process configuration file.
/var/spool/postfix/pid/master.pid: master lock file.

View File

@ -0,0 +1,13 @@
*** ./cleanup/cleanup.c.orig Sun May 28 18:33:41 2000
--- ./cleanup/cleanup.c Thu Jun 1 21:52:22 2000
***************
*** 118,121 ****
/* FILES
! /* /etc/postfix/canonical*, canonical mapping table
! /* /etc/postfix/virtual*, virtual mapping table
/* LICENSE
--- 118,121 ----
/* FILES
! /* !!PREFIX!!/etc/postfix/canonical*, canonical mapping table
! /* !!PREFIX!!/etc/postfix/virtual*, virtual mapping table
/* LICENSE

View File

@ -0,0 +1,11 @@
*** ./global/mail_conf.c.orig Sun May 7 18:51:16 2000
--- ./global/mail_conf.c Thu Jun 1 22:16:29 2000
***************
*** 53,55 ****
/* FILES
! /* /etc/postfix: default Postfix configuration directory.
/* ENVIRONMENT
--- 53,55 ----
/* FILES
! /* !!PREFIX!!/etc/postfix: default Postfix configuration directory.
/* ENVIRONMENT

View File

@ -0,0 +1,20 @@
*** ./global/mail_params.h.orig Wed May 31 19:18:31 2000
--- ./global/mail_params.h Thu Jun 1 22:17:10 2000
***************
*** 155,157 ****
#ifndef DEF_PROGRAM_DIR
! #define DEF_PROGRAM_DIR "/usr/libexec/postfix"
#endif
--- 155,157 ----
#ifndef DEF_PROGRAM_DIR
! #define DEF_PROGRAM_DIR "!!PREFIX!!/usr/libexec/postfix"
#endif
***************
*** 189,191 ****
#ifndef DEF_CONFIG_DIR
! #define DEF_CONFIG_DIR "/etc/postfix"
#endif
--- 189,191 ----
#ifndef DEF_CONFIG_DIR
! #define DEF_CONFIG_DIR "!!PREFIX!!/etc/postfix"
#endif

View File

@ -0,0 +1,11 @@
*** ./local/mailbox.c.orig Fri Apr 28 16:55:53 2000
--- ./local/mailbox.c Thu Jun 1 22:37:48 2000
***************
*** 15,17 ****
/* suppression. The default is direct mailbox delivery to
! /* /var/[spool/]mail/\fIuser\fR; when a \fIhome_mailbox\fR
/* has been configured, mail is delivered to ~/$\fIhome_mailbox\fR;
--- 15,17 ----
/* suppression. The default is direct mailbox delivery to
! /* /var/mail/\fIuser\fR; when a \fIhome_mailbox\fR
/* has been configured, mail is delivered to ~/$\fIhome_mailbox\fR;

View File

@ -0,0 +1,13 @@
*** ./master/master.c.orig Tue Mar 7 10:25:07 2000
--- ./master/master.c Thu Jun 1 22:43:50 2000
***************
*** 104,107 ****
/* FILES
! /* /etc/postfix/main.cf: global configuration file.
! /* /etc/postfix/master.cf: master process configuration file.
/* /var/spool/postfix/pid/master.pid: master lock file.
--- 104,107 ----
/* FILES
! /* !!PREFIX!!/etc/postfix/main.cf: global configuration file.
! /* !!PREFIX!!/etc/postfix/master.cf: master process configuration file.
/* /var/spool/postfix/pid/master.pid: master lock file.

View File

@ -0,0 +1,11 @@
*** ./postdrop/postdrop.c.orig Sun Apr 25 18:05:43 1999
--- ./postdrop/postdrop.c Thu Jun 1 22:44:22 2000
***************
*** 39,41 ****
/* /var/spool/postfix, mail queue
! /* /etc/postfix, configuration files
/* CONFIGURATION PARAMETERS
--- 39,41 ----
/* /var/spool/postfix, mail queue
! /* !!PREFIX!!/etc/postfix, configuration files
/* CONFIGURATION PARAMETERS

View File

@ -0,0 +1,20 @@
*** ./sendmail/sendmail.c.orig Tue Mar 14 10:42:06 2000
--- ./sendmail/sendmail.c Thu Jun 1 22:47:24 2000
***************
*** 57,59 ****
/* The path name of the \fBsendmail.cf\fR file. Postfix configuration
! /* files are kept in \fB/etc/postfix\fR.
/* .IP "\fB-F \fIfull_name\fR
--- 57,59 ----
/* The path name of the \fBsendmail.cf\fR file. Postfix configuration
! /* files are kept in \fB!!PREFIX!!/etc/postfix\fR.
/* .IP "\fB-F \fIfull_name\fR
***************
*** 159,161 ****
/* /var/spool/postfix, mail queue
! /* /etc/postfix, configuration files
/* CONFIGURATION PARAMETERS
--- 159,161 ----
/* /var/spool/postfix, mail queue
! /* !!PREFIX!!/etc/postfix, configuration files
/* CONFIGURATION PARAMETERS

View File

@ -0,0 +1,11 @@
*** ./trivial-rewrite/transport.c.orig Tue Nov 16 19:15:41 1999
--- ./trivial-rewrite/transport.c Thu Jun 1 22:47:49 2000
***************
*** 32,34 ****
/* FILES
! /* /etc/postfix/transport*
/* CONFIGURATION PARAMETERS
--- 32,34 ----
/* FILES
! /* !!PREFIX!!/etc/postfix/transport*
/* CONFIGURATION PARAMETERS

View File

@ -0,0 +1,12 @@
--- makedefs.orig Sun Jan 23 03:04:27 2000
+++ makedefs Mon Apr 3 08:59:17 2000
@@ -89,6 +89,8 @@
;;
FreeBSD.4*) SYSTYPE=FREEBSD4
;;
+ FreeBSD.5*) SYSTYPE=FREEBSD5
+ ;;
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
NetBSD.1*) SYSTYPE=NETBSD1

View File

@ -0,0 +1,10 @@
--- util/sys_defs.h.orig Sat Jan 22 16:03:31 2000
+++ util/sys_defs.h Sat Mar 25 09:19:31 2000
@@ -20,6 +20,7 @@
* makedefs script, and adding a section below for the new system.
*/
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
+ || defined(FREEBSD5) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(NETBSD1) || defined(RHAPSODY5)
#define SUPPORTED

View File

@ -0,0 +1,11 @@
*** MYSQL_README.orig Fri Aug 4 02:40:21 2000
--- MYSQL_README Fri Aug 4 02:40:04 2000
***************
*** 1,3 ****
--- 1,6 ----
+ *** Note for FreeBSD users: this feature must be specifically enabled with the
+ *** "-DWITH_MYSQL" option at compile time ("make -DWITH_MYSQL").
+
[Code contributed by Scott Cotton and Joshua Marcus, IC Group, Inc.]
We've written code to add a mysql map type. It utilizes the mysql

View File

@ -0,0 +1,11 @@
*** LDAP_README.orig Fri Aug 4 02:40:27 2000
--- LDAP_README Fri Aug 4 02:40:05 2000
***************
*** 1,3 ****
--- 1,6 ----
+ *** Note for FreeBSD users: this feature must be specifically enabled with the
+ *** "-DWITH_LDAP" option at compile time ("make -DWITH_LDAP").
+
BUILDING WITH LDAP SUPPORT
==========================

View File

@ -1 +1 @@
Good alternative to sendmail
Alternative Mail Transfer Agent (MTA)

View File

@ -1,6 +1,8 @@
Postfix aims to be an alternative to the widely-used sendmail
program. Sendmail is responsible for 70% of all e-mail delivered
on the Internet. With an estimated 100 million users, that's an
estimated 10 billion (10^10) messages daily. A stunning number.
Postfix attempts to be fast, easy to administer, and secure, while at
the same time being sendmail-compatible enough to not upset existing
users.
WWW: http://www.postfix.org/
- Omachonu Ogali
oogali@intranova.net

View File

@ -85,6 +85,7 @@ if [ x"$2" = xPOST-INSTALL ]; then
cp -p ${PKG_PREFIX}/etc/postfix/sample-master.cf \
${PKG_PREFIX}/etc/postfix/master.cf
fi
chown root:maildrop ${PKG_PREFIX}/sbin/postdrop
chmod 2755 ${PKG_PREFIX}/sbin/postdrop
/usr/sbin/chown root:maildrop ${PKG_PREFIX}/sbin/postdrop
/bin/chmod 2555 ${PKG_PREFIX}/sbin/postdrop
${PKG_PREFIX}/sbin/postfix check
fi

View File

@ -1,22 +1,31 @@
@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/sample-main.cf; then rm -f %D/etc/postfix/main.cf; fi
@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/sample-master.cf; then rm -f %D/etc/postfix/master.cf; fi
etc/postfix/LICENSE
etc/postfix/postfix-script
etc/postfix/sample-access
etc/postfix/sample-aliases
etc/postfix/sample-aliases.cf
etc/postfix/sample-canonical
etc/postfix/sample-canonical.cf
etc/postfix/sample-debug.cf
etc/postfix/sample-ldap.cf
etc/postfix/sample-filter.cf
%%WITH_LDAP%%etc/postfix/sample-ldap.cf
etc/postfix/sample-local.cf
etc/postfix/sample-main.cf
etc/postfix/sample-master.cf
etc/postfix/sample-misc.cf
etc/postfix/sample-pcre.cf
%%WITH_PCRE%%etc/postfix/sample-pcre.cf
etc/postfix/sample-rate.cf
etc/postfix/sample-regexp.cf
etc/postfix/sample-relocated
etc/postfix/sample-relocated.cf
etc/postfix/sample-resource.cf
etc/postfix/sample-rewrite.cf
etc/postfix/sample-smtp.cf
etc/postfix/sample-smtpd.cf
etc/postfix/sample-transport
etc/postfix/sample-transport.cf
etc/postfix/sample-virtual
etc/postfix/sample-virtual.cf
libexec/postfix/bounce
libexec/postfix/cleanup
@ -41,62 +50,62 @@ sbin/postlog
sbin/postmap
sbin/postsuper
sbin/sendmail
sbin/smtp-sink
sbin/smtp-source
share/doc/postfix/access.5.html
share/doc/postfix/aliases.5.html
share/doc/postfix/architecture.html
share/doc/postfix/backstage.html
share/doc/postfix/basic.html
share/doc/postfix/big-picture.gif
share/doc/postfix/big-picture.html
share/doc/postfix/bounce.8.html
share/doc/postfix/canonical.5.html
share/doc/postfix/cleanup.8.html
share/doc/postfix/commands.html
share/doc/postfix/defer.8.html
share/doc/postfix/delivering.html
share/doc/postfix/error.8.html
share/doc/postfix/faq.html
share/doc/postfix/goals.html
share/doc/postfix/inbound.gif
share/doc/postfix/index.html
share/doc/postfix/local.8.html
share/doc/postfix/mailq.1.html
share/doc/postfix/master.8.html
share/doc/postfix/motivation.html
share/doc/postfix/newaliases.1.html
share/doc/postfix/outbound.gif
share/doc/postfix/pickup.8.html
share/doc/postfix/pipe.8.html
share/doc/postfix/postalias.1.html
share/doc/postfix/postcat.1.html
share/doc/postfix/postconf.1.html
share/doc/postfix/postdrop.1.html
share/doc/postfix/postfix.1.html
share/doc/postfix/postkick.1.html
share/doc/postfix/postlock.1.html
share/doc/postfix/postlog.1.html
share/doc/postfix/postmap.1.html
share/doc/postfix/postsuper.1.html
share/doc/postfix/qmgr.8.html
share/doc/postfix/queuing.html
share/doc/postfix/rate.html
share/doc/postfix/receiving.html
share/doc/postfix/relocated.5.html
share/doc/postfix/resource.html
share/doc/postfix/rewrite.html
share/doc/postfix/security.html
share/doc/postfix/sendmail.1.html
share/doc/postfix/showq.8.html
share/doc/postfix/small-picture.gif
share/doc/postfix/smtp.8.html
share/doc/postfix/smtpd.8.html
share/doc/postfix/transport.5.html
share/doc/postfix/trivial-rewrite.8.html
share/doc/postfix/uce.html
share/doc/postfix/virtual.5.html
@exec mkdir -p -m 0755 /var/spool/postfix
@exec chown root:wheel /var/spool/postfix
share/doc/postfix/LDAP_README
share/doc/postfix/MYSQL_README
share/doc/postfix/html/access.5.html
share/doc/postfix/html/aliases.5.html
share/doc/postfix/html/architecture.html
share/doc/postfix/html/backstage.html
share/doc/postfix/html/basic.html
share/doc/postfix/html/big-picture.gif
share/doc/postfix/html/big-picture.html
share/doc/postfix/html/bounce.8.html
share/doc/postfix/html/canonical.5.html
share/doc/postfix/html/cleanup.8.html
share/doc/postfix/html/commands.html
share/doc/postfix/html/defer.8.html
share/doc/postfix/html/delivering.html
share/doc/postfix/html/error.8.html
share/doc/postfix/html/faq.html
share/doc/postfix/html/goals.html
share/doc/postfix/html/inbound.gif
share/doc/postfix/html/index.html
share/doc/postfix/html/local.8.html
share/doc/postfix/html/mailq.1.html
share/doc/postfix/html/master.8.html
share/doc/postfix/html/motivation.html
share/doc/postfix/html/newaliases.1.html
share/doc/postfix/html/outbound.gif
share/doc/postfix/html/pickup.8.html
share/doc/postfix/html/pipe.8.html
share/doc/postfix/html/postalias.1.html
share/doc/postfix/html/postcat.1.html
share/doc/postfix/html/postconf.1.html
share/doc/postfix/html/postdrop.1.html
share/doc/postfix/html/postfix.1.html
share/doc/postfix/html/postkick.1.html
share/doc/postfix/html/postlock.1.html
share/doc/postfix/html/postlog.1.html
share/doc/postfix/html/postmap.1.html
share/doc/postfix/html/postsuper.1.html
share/doc/postfix/html/qmgr.8.html
share/doc/postfix/html/queuing.html
share/doc/postfix/html/rate.html
share/doc/postfix/html/receiving.html
share/doc/postfix/html/relocated.5.html
share/doc/postfix/html/resource.html
share/doc/postfix/html/rewrite.html
share/doc/postfix/html/security.html
share/doc/postfix/html/sendmail.1.html
share/doc/postfix/html/showq.8.html
share/doc/postfix/html/small-picture.gif
share/doc/postfix/html/smtp.8.html
share/doc/postfix/html/smtpd.8.html
share/doc/postfix/html/transport.5.html
share/doc/postfix/html/trivial-rewrite.8.html
share/doc/postfix/html/uce.html
share/doc/postfix/html/virtual.5.html
@dirrm etc/postfix
@dirrm libexec/postfix
@unexec rmdir %D/etc/postfix 2>/dev/null || true
@dirrm share/doc/postfix/html
@dirrm share/doc/postfix

View File

@ -2,25 +2,24 @@
#
# $FreeBSD$
mv ${WRKSRC}/global/mail_params.h ${WRKSRC}/global/mail_params.h.bak
sed <${WRKSRC}/global/mail_params.h.bak >${WRKSRC}/global/mail_params.h s+!!PREFIX!!+$PREFIX+g
mv ${WRKSRC}/conf/main.cf ${WRKSRC}/conf/main.cf.bak
sed s+!!PREFIX!!+$PREFIX+g <${WRKSRC}/conf/main.cf.bak >${WRKSRC}/conf/main.cf
cd ${WRKSRC}/man
for f in ${MAN1} ; do
mv man1/$f man1/$f.bak && \
sed s+!!PREFIX!!+$PREFIX+g <man1/$f.bak | soelim >man1/$f
soelim man1/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >man1/$f
done
for f in ${MAN5} ; do
mv man5/$f man5/$f.bak && \
sed s+!!PREFIX!!+$PREFIX+g <man5/$f.bak | soelim >man5/$f
soelim man5/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >man5/$f
done
for f in ${MAN8} ; do
mv man8/$f man8/$f.bak && \
sed s+!!PREFIX!!+$PREFIX+g <man8/$f.bak | soelim >man8/$f
soelim man8/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >man8/$f
done
for f in `grep -r "\!\!PREFIX\!\!" ${WRKSRC} | cut -f 1 -d ':' | uniq` ; do \
mv $f $f.orig && sed s+!!PREFIX!!+$PREFIX+g < $f.orig > $f && \
rm $f.orig
done

View File

@ -6,109 +6,157 @@
#
PORTNAME= postfix
PORTVERSION= 19991231.08
PORTVERSION= 19991231.10
CATEGORIES= mail
MASTER_SITES= ftp://ftp.merit.edu/postfix/official/ \
ftp://ftp.snoopy.net/pub/mirrors/postfix/official/ \
ftp://ftp.reverse.net/pub/postfix/official/ \
ftp://postfix.eu.org/pub/postfix/official/ \
ftp://ftp.sunet.se/pub/unix/mail/postfix/official/ \
ftp://ftp.tux.org/pub/net/postfix/official/ \
ftp://ftp.utoronto.ca/mirror/packages/postfix/official/ \
ftp://ftp.samurai.com/pub/postfix/official/ \
ftp://ftp.nl.uu.net/pub/unix/mail/postfix/official/ \
ftp://ftp.cs.tu-berlin.de/pub/net/mail/postfix/official/ \
ftp://ftp.postfix.oaktree.co.uk/pub/postfix/official/
DISTNAME= ${PORTNAME}-19991231-pl08
ftp://ftp.mira.net/pub/unix/mail/postfix/official/ \
ftp://coda.nctu.edu.tw/network/mail/postfix/official/
DISTNAME= ${PORTNAME}-19991231-pl10
MAINTAINER= blaz@amis.net
# WARNING: this is based on a patch submitted by a user and has not been
# tested. Use it at your own risk !
.if !defined(DEBUG)
MAKEFILEFLAGS+= DEBUG=
.endif
.if defined(CC)
MAKEFILEFLAGS+= CC="${CC}"
.endif
MAKEFILEFLAGS+= OPT="${CFLAGS}"
SCRIPTS_ENV+= MAN1="${MAN1}" MAN5="${MAN5}" MAN8="${MAN8}"
MAN1= mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \
postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postsuper.1 \
sendmail.1
MAN5= access.5 aliases.5 canonical.5 relocated.5 transport.5 virtual.5
MAN8= bounce.8 cleanup.8 defer.8 error.8 local.8 master.8 pickup.8 \
pipe.8 qmgr.8 showq.8 smtp.8 smtpd.8 trivial-rewrite.8
CONF1= access aliases canonical main.cf master.cf \
relocated transport virtual
CONF2= sample-aliases.cf sample-canonical.cf sample-debug.cf \
sample-filter.cf sample-local.cf sample-misc.cf \
sample-rate.cf sample-regexp.cf sample-relocated.cf \
sample-resource.cf sample-rewrite.cf sample-smtp.cf \
sample-smtpd.cf sample-transport.cf sample-virtual.cf
BIN1= bounce cleanup error local master pickup \
pipe qmgr showq smtp smtpd trivial-rewrite
BIN2= postalias postcat postconf postdrop postfix \
postkick postlock postlog postmap postsuper sendmail
.if defined(WITH_MYSQL)
BUILD_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql322-client
POSTFIX_CCARGS+= -DHAS_MYSQL -I${LOCALBASE}/include/mysql
POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a -lm
.endif
# WARNING: this is based on a patch submitted by a user and has not been
# tested. Use it at your own risk !
.if defined(WITH_LDAP)
CONF2+= sample-ldap.cf
BUILD_DEPENDS+= ${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap
POSTFIX_CCARGS+= -DHAS_LDAP -I${LOCALBASE}/include
POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/libldap.a ${PREFIX}/lib/liblber.a
PLIST_SUB+= WITH_LDAP=""
.else
PLIST_SUB+= WITH_LDAP="@comment "
.endif
ALL_TARGET= CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}"
.if defined(WITH_PCRE)
CONF2+= sample-pcre.cf
BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcre.a:${PORTSDIR}/devel/pcre
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/libpcre.a
PLIST_SUB+= WITH_PCRE=""
.else
PLIST_SUB+= WITH_PCRE="@comment "
.endif
SCRIPTS_ENV+= MAN1="${MAN1}" MAN5="${MAN5}" MAN8="${MAN8}"
MAKE_ENV+= "OPT=${CFLAGS}"
MAN1= mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \
postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postsuper.1 \
sendmail.1
MAN5= access.5 aliases.5 canonical.5 relocated.5 transport.5 virtual.5
MAN8= bounce.8 cleanup.8 defer.8 local.8 master.8 pickup.8 pipe.8 qmgr.8 \
showq.8 smtp.8 smtpd.8 trivial-rewrite.8 error.8
SHAREMODE= 0444
PDOC= ${PREFIX}/share/doc/postfix
do-install:
@${MKDIR} -m 755 ${PREFIX}/etc/postfix
@${CHOWN} root:wheel ${PREFIX}/etc/postfix
@${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/conf/LICENSE \
${PREFIX}/etc/postfix/LICENSE
@for f in access main.cf master.cf ; do \
${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/conf/$$f \
${PREFIX}/etc/postfix/sample-$$f ; \
done
@for f in sample-aliases.cf sample-canonical.cf sample-debug.cf \
sample-ldap.cf sample-local.cf sample-misc.cf sample-pcre.cf \
sample-rate.cf sample-relocated.cf sample-resource.cf \
sample-rewrite.cf sample-smtp.cf sample-smtpd.cf \
sample-transport.cf sample-virtual.cf ; do \
${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/conf/$$f \
${PREFIX}/etc/postfix/$$f ;\
done
@${INSTALL} -C -o root -g wheel -m 755 ${WRKSRC}/conf/postfix-script-sgid \
${PREFIX}/etc/postfix/postfix-script
@${MKDIR} -m 0755 ${PREFIX}/libexec/postfix
@for f in bounce cleanup error local master pickup pipe qmgr \
showq smtp smtpd trivial-rewrite ; do \
${INSTALL} -C -o root -g wheel -m 0755 -s \
${WRKSRC}/libexec/$$f ${PREFIX}/libexec/postfix/$$f ;\
done
@for f in postalias postcat postconf postfix postkick postlock postlog\
postmap postsuper sendmail smtp-sink smtp-source ; do \
${INSTALL} -C -o root -g wheel -m 0755 -s ${WRKSRC}/bin/$$f \
${PREFIX}/sbin/$$f ;\
done
@${INSTALL} -C -o root -g maildrop -m 2755 -s ${WRKSRC}/bin/postdrop \
${PREFIX}/sbin/postdrop
@for f in ${MAN1} ; do \
${INSTALL} -C -o root -g wheel -m 0755 ${WRKSRC}/man/man1/$$f \
${PREFIX}/man/man1/$$f ;\
done
@for f in ${MAN5} ; do \
${INSTALL} -C -o root -g wheel -m 0755 ${WRKSRC}/man/man5/$$f \
${PREFIX}/man/man5/$$f ;\
done
@for f in ${MAN8} ; do \
${INSTALL} -C -o root -g wheel -m 0755 ${WRKSRC}/man/man8/$$f \
${PREFIX}/man/man8/$$f ;\
done
@${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${PDOC}
@cd ${WRKSRC} && ${INSTALL_DATA} \
html/*.html html/*.gif ${PDOC} && \
${ECHO_MSG} "Installed HTML documentation in ${PDOC}"
@${MKDIR} -m 0755 /var/spool/postfix
@${ECHO_MSG} "--------------------------------------------------"
@${ECHO_MSG} "- To replace your existing sendmail with postfix -"
@${ECHO_MSG} "- type \"make replace\" -"
@${ECHO_MSG} "--------------------------------------------------"
post-patch:
(cd ${WRKSRC} && make -f Makefile.init makefiles ${MAKEFILEFLAGS} \
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
${ECHO} "all: default" >> Makefile)
pre-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
do-install:
@${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 0755 \
${PREFIX}/etc/postfix \
${PREFIX}/libexec/postfix \
/var/spool/postfix
@${INSTALL_DATA} ${WRKSRC}/conf/LICENSE ${PREFIX}/etc/postfix
.for file in ${CONF1}
@${INSTALL_DATA} \
${WRKSRC}/conf/${file} \
${PREFIX}/etc/postfix/sample-${file}
.endfor
.for file in ${CONF2}
@${INSTALL_DATA} \
${WRKSRC}/conf/${file} \
${PREFIX}/etc/postfix
.endfor
@${INSTALL_SCRIPT} \
${WRKSRC}/conf/postfix-script-sgid \
${PREFIX}/etc/postfix/postfix-script
.for file in ${BIN1}
@${INSTALL_PROGRAM} \
${WRKSRC}/libexec/${file} \
${PREFIX}/libexec/postfix
.endfor
.for file in ${BIN2}
@${INSTALL_PROGRAM} \
${WRKSRC}/${file}/${file} \
${PREFIX}/sbin
.endfor
.for file in ${MAN1}
@${INSTALL_MAN} \
${WRKSRC}/man/man1/${file} \
${PREFIX}/man/man1
.endfor
.for file in ${MAN5}
@${INSTALL_MAN} \
${WRKSRC}/man/man5/${file} \
${PREFIX}/man/man5
.endfor
.for file in ${MAN8}
@${INSTALL_MAN} \
${WRKSRC}/man/man8/${file} \
${PREFIX}/man/man8
.endfor
.if !defined(NOPORTDOCS)
@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${PREFIX}/share/doc/postfix
@cd ${WRKSRC} && ${INSTALL_DATA} LDAP_README MYSQL_README ${PREFIX}/share/doc/postfix
@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${PREFIX}/share/doc/postfix/html
@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${PREFIX}/share/doc/postfix/html && \
${ECHO_MSG} "Installed documentation in ${PREFIX}/share/doc/postfix"
.endif
@${ECHO_MSG} '--------------------------------------------------'
@${ECHO_MSG} '- To replace your existing sendmail with postfix -'
@${ECHO_MSG} '- type "make replace" -'
@${ECHO_MSG} '--------------------------------------------------'
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.pre.mk>
@ -116,32 +164,41 @@ replace:
.if ${OSVERSION} >= 400014
@${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf"
${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak
${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf
${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf
${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf
${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf
${ECHO} "#" > /etc/mail/mailer.conf
${ECHO} -n "# Execute the Postfix sendmail program" >> /etc/mail/mailer.conf
${ECHO} ", named ${PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
${ECHO} "#" >> /etc/mail/mailer.conf
${ECHO} "sendmail ${PREFIX}/sbin/sendmail" >>/etc/mail/mailer.conf
${ECHO} "send-mail ${PREFIX}/sbin/sendmail" >>/etc/mail/mailer.conf
${ECHO} "mailq ${PREFIX}/sbin/sendmail" >>/etc/mail/mailer.conf
${ECHO} "newaliases ${PREFIX}/sbin/sendmail" >>/etc/mail/mailer.conf
.else
@${ECHO_MSG} "===> Replacing sendmail"
@if [ -e /usr/sbin/sendmail ]; then \
${MV} -f /usr/sbin/sendmail /usr/sbin/sendmail.OFF; \
${CHMOD} 0 /usr/sbin/sendmail.OFF; \
fi
@if [ -e ${PREFIX}/sbin/sendmail ]; then \
${LN} -s ${PREFIX}/sbin/sendmail /usr/sbin/sendmail; \
fi
@${ECHO_MSG} "===> Replacing mailq"
@if [ -e /usr/bin/mailq ]; then \
${MV} -f /usr/bin/mailq /usr/bin/mailq.OFF; \
${CHMOD} 0 /usr/bin/mailq.OFF; \
fi
@if [ -e ${PREFIX}/sbin/sendmail ]; then \
${LN} -s ${PREFIX}/sbin/sendmail /usr/bin/mailq; \
fi
@${ECHO_MSG} "===> Replacing newaliases"
@if [ -e /usr/bin/newaliases ]; then \
${MV} -f /usr/bin/newaliases /usr/bin/newaliases.OFF; \
${CHMOD} 0 /usr/bin/newaliases.OFF; \
fi
@if [ -e ${PREFIX}/sbin/sendmail ]; then \
${LN} -s ${PREFIX}/sbin/sendmail /usr/bin/newaliases; \
fi

View File

@ -1 +1 @@
MD5 (postfix-19991231-pl08.tar.gz) = 0461524d91c87b03c80cc640ec953a63
MD5 (postfix-19991231-pl10.tar.gz) = 0ff9c13e83ea5123852603904d4f1978

View File

@ -1,36 +1,69 @@
*** global/mail_params.h.orig Sat Mar 20 15:09:46 1999
--- global/mail_params.h Sat Mar 20 15:10:46 1999
*** ./conf/main.cf.orig Fri Jan 28 09:44:47 2000
--- ./conf/main.cf Thu Jun 1 22:01:21 2000
***************
*** 127,133 ****
*/
#define VAR_PROGRAM_DIR "program_directory"
#ifndef DEF_PROGRAM_DIR
! #define DEF_PROGRAM_DIR "/usr/libexec/postfix"
#endif
*** 19,21 ****
#
! command_directory = /usr/sbin
#define VAR_DAEMON_DIR "daemon_directory"
--- 127,133 ----
*/
#define VAR_PROGRAM_DIR "program_directory"
#ifndef DEF_PROGRAM_DIR
! #define DEF_PROGRAM_DIR "!!PREFIX!!/libexec/postfix"
#endif
--- 19,21 ----
#
! command_directory = !!PREFIX!!/sbin
#define VAR_DAEMON_DIR "daemon_directory"
***************
*** 161,167 ****
*/
#define VAR_CONFIG_DIR "config_directory"
#ifndef DEF_CONFIG_DIR
! #define DEF_CONFIG_DIR "/etc/postfix"
#endif
extern char *var_config_dir;
*** 26,28 ****
#
! daemon_directory = /usr/libexec/postfix
--- 161,167 ----
*/
#define VAR_CONFIG_DIR "config_directory"
#ifndef DEF_CONFIG_DIR
! #define DEF_CONFIG_DIR "!!PREFIX!!/etc/postfix"
#endif
extern char *var_config_dir;
--- 26,28 ----
#
! daemon_directory = !!PREFIX!!/libexec/postfix
***************
*** 43,45 ****
#
! #default_privs = nobody
--- 43,45 ----
#
! default_privs = nobody
***************
*** 180,182 ****
#alias_database = dbm:/etc/aliases
! #alias_database = dbm:/etc/mail/aliases
#alias_database = hash:/etc/aliases
--- 180,182 ----
#alias_database = dbm:/etc/aliases
! #alias_database = dbm:/etc/aliases
#alias_database = hash:/etc/aliases
***************
*** 199,202 ****
# mailbox file relative to a user's home directory. The default
! # mailbox file is /var/spool/mail/user or /var/mail/user. Specify
! # "Maildir/" for qmail-style delivery (the / is required).
#
--- 199,202 ----
# mailbox file relative to a user's home directory. The default
! # mailbox file is /var/mail/user. Specify "Maildir/" for
! # qmail-style delivery (the / is required).
#
***************
*** 209,211 ****
#
! # mail_spool_directory = /var/mail
# mail_spool_directory = /var/spool/mail
--- 209,211 ----
#
! mail_spool_directory = /var/mail
# mail_spool_directory = /var/spool/mail
***************
*** 274,277 ****
#
! #header_checks = regexp:/etc/postfix/filename
! #header_checks = pcre:/etc/postfix/filename
--- 274,277 ----
#
! #header_checks = regexp:!!PREFIX!!/etc/postfix/filename
! #header_checks = pcre:!!PREFIX!!/etc/postfix/filename

View File

@ -1,28 +1,11 @@
--- conf/main.cf.orig Tue Dec 28 05:03:38 1999
+++ conf/main.cf Sun Jan 2 21:31:24 2000
@@ -17,14 +17,14 @@
# The command_directory parameter specifies the location of all
# postXXX commands. The default value is $program_directory.
#
-command_directory = /usr/sbin
+command_directory = !!PREFIX!!/sbin
# The daemon_directory parameter specifies the location of all Postfix
# daemon programs (i.e. programs listed in the master.cf file). The
# default value is $program_directory. This directory must be owned
# by root.
#
-daemon_directory = /usr/libexec/postfix
+daemon_directory = !!PREFIX!!/libexec/postfix
# QUEUE AND PROCESS OWNERSHIP
#
@@ -41,7 +41,7 @@
# These rights are used in the absence of a recipient user context.
# DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER.
#
-#default_privs = nobody
+default_privs = nobody
# INTERNET HOST AND DOMAIN NAMES
#
--- conf/canonical.orig Sun Sep 5 23:47:01 1999
+++ conf/canonical Tue Nov 7 22:24:42 2000
@@ -4,7 +4,7 @@
# SUMMARY
# format of Postfix canonical table
# SYNOPSIS
-# \fBpostmap /etc/postfix/canonical\fR
+# \fBpostmap !!PREFIX!!/etc/postfix/canonical\fR
# DESCRIPTION
# The optional \fBcanonical\fR file specifies an address mapping for
# local and non-local addresses. The mapping is used by the

View File

@ -0,0 +1,11 @@
--- conf/access.orig Fri Dec 11 19:55:48 1998
+++ conf/access Tue Nov 7 22:25:54 2000
@@ -4,7 +4,7 @@
# SUMMARY
# format of Postfix access table
# SYNOPSIS
-# \fBpostmap /etc/postfix/access\fR
+# \fBpostmap !!PREFIX!!/etc/postfix/access\fR
# DESCRIPTION
# The optional \fBaccess\fR table directs the Postfix SMTP server
# to selectively reject or accept mail from or to specific hosts,

View File

@ -0,0 +1,11 @@
--- conf/relocated.orig Sun Sep 5 23:47:01 1999
+++ conf/relocated Tue Nov 7 22:28:27 2000
@@ -4,7 +4,7 @@
# SUMMARY
# format of Postfix relocated table
# SYNOPSIS
-# \fBpostmap /etc/postfix/relocated\fR
+# \fBpostmap !!PREFIX!!/etc/postfix/relocated\fR
# DESCRIPTION
# The optional \fBrelocated\fR file provides the information that is
# used in "user has moved to \fInew_location\fR" bounce messages.

View File

@ -0,0 +1,44 @@
*** ./conf/sample-canonical.cf.orig Thu Sep 23 14:10:38 1999
--- ./conf/sample-canonical.cf Thu Jun 1 22:07:23 2000
***************
*** 14,16 ****
#
! # If you use this feature, run "postmap /etc/postfix/canonical" to
# build the necessary DBM or DB file after every change. The changes
--- 14,16 ----
#
! # If you use this feature, run "postmap !!PREFIX!!/etc/postfix/canonical" to
# build the necessary DBM or DB file after every change. The changes
***************
*** 19,24 ****
#
! # canonical_maps = dbm:/etc/postfix/canonical
! # canonical_maps = hash:/etc/postfix/canonical
! # canonical_maps = hash:/etc/postfix/canonical, nis:canonical
! # canonical_maps = hash:/etc/postfix/canonical, netinfo:/canonical
canonical_maps =
--- 19,24 ----
#
! # canonical_maps = dbm:!!PREFIX!!/etc/postfix/canonical
! # canonical_maps = hash:!!PREFIX!!/etc/postfix/canonical
! # canonical_maps = hash:!!PREFIX!!/etc/postfix/canonical, nis:canonical
! # canonical_maps = hash:!!PREFIX!!/etc/postfix/canonical, netinfo:/canonical
canonical_maps =
***************
*** 32,34 ****
#
! # recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
recipient_canonical_maps =
--- 32,34 ----
#
! # recipient_canonical_maps = hash:!!PREFIX!!/etc/postfix/recipient_canonical
recipient_canonical_maps =
***************
*** 46,48 ****
#
! # sender_canonical_maps = hash:/etc/postfix/sender_canonical
sender_canonical_maps =
--- 46,48 ----
#
! # sender_canonical_maps = hash:!!PREFIX!!/etc/postfix/sender_canonical
sender_canonical_maps =

View File

@ -0,0 +1,18 @@
*** ./conf/sample-filter.cf.orig Mon May 29 11:30:44 2000
--- ./conf/sample-filter.cf Thu Jun 1 22:07:58 2000
***************
*** 15,17 ****
#
! header_checks = regexp:/etc/postfix/header_checks
--- 15,17 ----
#
! header_checks = regexp:!!PREFIX!!/etc/postfix/header_checks
***************
*** 26,27 ****
#
! body_checks = regexp:/etc/postfix/body_checks
--- 26,27 ----
#
! body_checks = regexp:!!PREFIX!!/etc/postfix/body_checks

View File

@ -0,0 +1,24 @@
*** ./conf/sample-misc.cf.orig Thu Sep 23 14:10:52 1999
--- ./conf/sample-misc.cf Thu Jun 1 22:09:39 2000
***************
*** 220,222 ****
#
! program_directory = /usr/libexec/postfix
--- 220,222 ----
#
! program_directory = !!PREFIX!!/usr/libexec/postfix
***************
*** 263,267 ****
# Specify the types and names of databases to use. After change,
! # run "postmap /etc/postfix/relocated", then "postfix reload".
#
! # relocated_maps = hash:/etc/postfix/relocated
relocated_maps =
--- 263,267 ----
# Specify the types and names of databases to use. After change,
! # run "postmap !!PREFIX!!/etc/postfix/relocated", then "postfix reload".
#
! # relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated
relocated_maps =

View File

@ -0,0 +1,26 @@
*** ./conf/sample-relocated.cf.orig Thu Sep 23 14:11:17 1999
--- ./conf/sample-relocated.cf Thu Jun 1 22:10:43 2000
***************
*** 12,14 ****
#
! # If you use this feature, run "postmap /etc/postfix/relocated" to
# build the necessary DBM or DB file after change, then "postfix
--- 12,14 ----
#
! # If you use this feature, run "postmap !!PREFIX!!/etc/postfix/relocated" to
# build the necessary DBM or DB file after change, then "postfix
***************
*** 16,21 ****
#
! # relocated_maps = dbm:/etc/postfix/relocated
! # relocated_maps = hash:/etc/postfix/relocated
! # relocated_maps = hash:/etc/postfix/relocated, nis:virtual
! # relocated_maps = hash:/etc/postfix/relocated, netinfo:/relocated
relocated_maps =
--- 16,21 ----
#
! # relocated_maps = dbm:!!PREFIX!!/etc/postfix/relocated
! # relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated
! # relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated, nis:virtual
! # relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated, netinfo:/relocated
relocated_maps =

View File

@ -0,0 +1,11 @@
*** ./conf/sample-smtpd.cf.orig Mon Dec 27 19:41:37 1999
--- ./conf/sample-smtpd.cf Thu Jun 1 22:11:22 2000
***************
*** 183,185 ****
# smtpd_sender_restrictions = reject_unknown_sender_domain
! # smtpd_sender_restrictions = reject_unknown_sender_domain, hash:/etc/postfix/access
smtpd_sender_restrictions =
--- 183,185 ----
# smtpd_sender_restrictions = reject_unknown_sender_domain
! # smtpd_sender_restrictions = reject_unknown_sender_domain, hash:!!PREFIX!!/etc/postfix/access
smtpd_sender_restrictions =

View File

@ -0,0 +1,23 @@
*** ./conf/sample-transport.cf.orig Thu Dec 23 10:50:00 1999
--- ./conf/sample-transport.cf Thu Jun 1 22:13:09 2000
***************
*** 10,18 ****
# By default, this feature is disabled. Specify the types of databases
! # to use. If you use this feature, run "postmap /etc/postfix/transport"
# after change, then "postfix reload".
#
! # transport_maps = dbm:/etc/postfix/transport
! # transport_maps = hash:/etc/postfix/transport
! # transport_maps = hash:/etc/postfix/transport, nis:transport
! # transport_maps = hash:/etc/postfix/transport, netinfo:/transport
transport_maps =
--- 10,18 ----
# By default, this feature is disabled. Specify the types of databases
! # to use. If you use this feature, run "postmap !!PREFIX!!/etc/postfix/transport"
# after change, then "postfix reload".
#
! # transport_maps = dbm:!!PREFIX!!/etc/postfix/transport
! # transport_maps = hash:!!PREFIX!!/etc/postfix/transport
! # transport_maps = hash:!!PREFIX!!/etc/postfix/transport, nis:transport
! # transport_maps = hash:!!PREFIX!!/etc/postfix/transport, netinfo:/transport
transport_maps =

View File

@ -0,0 +1,26 @@
*** ./conf/sample-virtual.cf.orig Mon Dec 20 21:00:42 1999
--- ./conf/sample-virtual.cf Thu Jun 1 22:13:32 2000
***************
*** 12,14 ****
#
! # If you use this feature, run "postmap /etc/postfix/virtual" to
# build the necessary DBM or DB file after change.
--- 12,14 ----
#
! # If you use this feature, run "postmap !!PREFIX!!/etc/postfix/virtual" to
# build the necessary DBM or DB file after change.
***************
*** 18,23 ****
#
! # virtual_maps = dbm:/etc/postfix/virtual
! # virtual_maps = hash:/etc/postfix/virtual
! # virtual_maps = hash:/etc/postfix/virtual, nis:virtual
! # virtual_maps = hash:/etc/postfix/virtual, netinfo:/virtual
virtual_maps =
--- 18,23 ----
#
! # virtual_maps = dbm:!!PREFIX!!/etc/postfix/virtual
! # virtual_maps = hash:!!PREFIX!!/etc/postfix/virtual
! # virtual_maps = hash:!!PREFIX!!/etc/postfix/virtual, nis:virtual
! # virtual_maps = hash:!!PREFIX!!/etc/postfix/virtual, netinfo:/virtual
virtual_maps =

View File

@ -0,0 +1,11 @@
--- conf/transport.orig Fri Dec 31 20:54:11 1999
+++ conf/transport Tue Nov 7 22:46:59 2000
@@ -4,7 +4,7 @@
# SUMMARY
# format of Postfix transport table
# SYNOPSIS
-# \fBpostmap /etc/postfix/transport\fR
+# \fBpostmap !!PREFIX!!/etc/postfix/transport\fR
# DESCRIPTION
# The optional \fBtransport\fR file specifies a mapping from domain
# hierarchies to message delivery transports and/or relay hosts. The

View File

@ -0,0 +1,11 @@
--- conf/virtual.orig Tue Dec 21 03:00:13 1999
+++ conf/virtual Tue Nov 7 22:48:18 2000
@@ -4,7 +4,7 @@
# SUMMARY
# format of Postfix virtual table
# SYNOPSIS
-# \fBpostmap /etc/postfix/virtual\fR
+# \fBpostmap !!PREFIX!!/etc/postfix/virtual\fR
# DESCRIPTION
# The optional \fBvirtual\fR table specifies redirections for local
# and non-local recipients or domains. The redirections are used by

View File

@ -1,19 +1,20 @@
*** man/man1/postdrop.1.orig Mon Mar 29 22:35:14 1999
--- man/man1/postdrop.1 Mon Mar 29 22:35:25 1999
*** ./html/mailq.1.html.orig Sat Apr 22 20:28:36 2000
--- ./html/mailq.1.html Thu Jun 1 22:19:24 2000
***************
*** 51,57 ****
.na
.nf
/var/spool/postfix, mail queue
! /etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS
.na
.nf
--- 51,57 ----
.na
.nf
/var/spool/postfix, mail queue
! !!PREFIX!!/etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS
.na
.nf
*** 83,85 ****
The path name of the <b>sendmail.cf</b> file. Postfix con-
! figuration files are kept in <b>/etc/postfix</b>.
--- 83,85 ----
The path name of the <b>sendmail.cf</b> file. Postfix con-
! figuration files are kept in <b>!!PREFIX!!/etc/postfix</b>.
***************
*** 231,233 ****
/var/spool/postfix, mail queue
! /etc/postfix, configuration files
--- 231,233 ----
/var/spool/postfix, mail queue
! !!PREFIX!!/etc/postfix, configuration files

View File

@ -1,36 +1,11 @@
*** man/man1/sendmail.1.orig Mon Mar 29 22:35:30 1999
--- man/man1/sendmail.1 Mon Mar 29 22:35:44 1999
***************
*** 60,66 ****
\fBjust-send-eight\fR.
.IP "\fB-C \fIconfig_file\fR (ignored :-)"
The path name of the \fBsendmail.cf\fR file. Postfix configuration
! files are kept in \fB/etc/postfix\fR.
.IP "\fB-F \fIfull_name\fR
Set the sender full name. This is used only with messages that
have no \fBFrom:\fR message header.
--- 60,66 ----
\fBjust-send-eight\fR.
.IP "\fB-C \fIconfig_file\fR (ignored :-)"
The path name of the \fBsendmail.cf\fR file. Postfix configuration
! files are kept in \fB!!PREFIX!!/etc/postfix\fR.
.IP "\fB-F \fIfull_name\fR
Set the sender full name. This is used only with messages that
have no \fBFrom:\fR message header.
***************
*** 164,170 ****
.na
.nf
/var/spool/postfix, mail queue
! /etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS
.na
.nf
--- 164,170 ----
.na
.nf
/var/spool/postfix, mail queue
! !!PREFIX!!/etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS
.na
.nf
--- html/access.5.html.orig Fri Dec 11 19:55:49 1998
+++ html/access.5.html Tue Nov 7 22:48:47 2000
@@ -9,7 +9,7 @@
access - format of Postfix access table
<b>SYNOPSIS</b>
- <b>postmap</b> <b>/etc/postfix/access</b>
+ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/access</b>
<b>DESCRIPTION</b>
The optional <b>access</b> table directs the Postfix SMTP server

View File

@ -1,19 +1,11 @@
*** man/man5/access.5.orig Mon Mar 29 22:35:58 1999
--- man/man5/access.5 Mon Mar 29 22:36:13 1999
***************
*** 8,14 ****
.SH SYNOPSIS
.na
.nf
! \fBpostmap /etc/postfix/access\fR
.SH DESCRIPTION
.ad
.fi
--- 8,14 ----
.SH SYNOPSIS
.na
.nf
! \fBpostmap !!PREFIX!!/etc/postfix/access\fR
.SH DESCRIPTION
.ad
.fi
--- html/canonical.5.html.orig Mon Sep 6 05:13:54 1999
+++ html/canonical.5.html Tue Nov 7 22:51:05 2000
@@ -9,7 +9,7 @@
canonical - format of Postfix canonical table
<b>SYNOPSIS</b>
- <b>postmap</b> <b>/etc/postfix/canonical</b>
+ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/canonical</b>
<b>DESCRIPTION</b>
The optional <b>canonical</b> file specifies an address mapping

View File

@ -1,19 +1,11 @@
*** man/man5/canonical.5.orig Mon Mar 29 22:36:25 1999
--- man/man5/canonical.5 Mon Mar 29 22:36:32 1999
*** ./html/local.8.html.orig Thu Feb 3 21:15:02 2000
--- ./html/local.8.html Thu Jun 1 22:22:30 2000
***************
*** 8,14 ****
.SH SYNOPSIS
.na
.nf
! \fBpostmap /etc/postfix/canonical\fR
.SH DESCRIPTION
.ad
.fi
--- 8,14 ----
.SH SYNOPSIS
.na
.nf
! \fBpostmap !!PREFIX!!/etc/postfix/canonical\fR
.SH DESCRIPTION
.ad
.fi
*** 99,101 ****
The default per-user mailbox is a file in the UNIX mail
! spool directory (<b>/var/mail/</b><i>user</i> or <b>/var/spool/mail/</b><i>user</i>);
the location can be specified with the <b>mail</b><i>_</i><b>spool</b><i>_</i><b>direc-</b>
--- 99,101 ----
The default per-user mailbox is a file in the UNIX mail
! spool directory (<b>/var/mail/</b><i>user</i>);
the location can be specified with the <b>mail</b><i>_</i><b>spool</b><i>_</i><b>direc-</b>

View File

@ -1,19 +1,10 @@
*** man/man5/relocated.5.orig Mon Mar 29 22:36:36 1999
--- man/man5/relocated.5 Mon Mar 29 22:36:47 1999
***************
*** 8,14 ****
.SH SYNOPSIS
.na
.nf
! \fBpostmap /etc/postfix/relocated\fR
.SH DESCRIPTION
.ad
.fi
--- 8,14 ----
.SH SYNOPSIS
.na
.nf
! \fBpostmap !!PREFIX!!/etc/postfix/relocated\fR
.SH DESCRIPTION
.ad
.fi
--- ./html/faq.html.orig Sat Oct 28 23:34:51 2000
+++ ./html/faq.html Sat Oct 28 23:36:04 2000
@@ -2572,7 +2572,7 @@
Answer: instead of using <b>/usr/include/ndbm.h</b>, you're building
Postfix with some incompatible third-party file, typically
-<b>/usr/local/include/ndbm.h</b>.
+<b>!!PREFIX!!/include/ndbm.h</b>.
<p>

View File

@ -1,19 +1,13 @@
*** man/man5/virtual.5.orig Mon Mar 29 22:36:55 1999
--- man/man5/virtual.5 Mon Mar 29 22:37:02 1999
*** ./html/cleanup.8.html.orig Sun May 28 21:58:41 2000
--- ./html/cleanup.8.html Thu Jun 1 22:29:04 2000
***************
*** 8,14 ****
.SH SYNOPSIS
.na
.nf
! \fBpostmap /etc/postfix/virtual\fR
.SH DESCRIPTION
.ad
.fi
--- 8,14 ----
.SH SYNOPSIS
.na
.nf
! \fBpostmap !!PREFIX!!/etc/postfix/virtual\fR
.SH DESCRIPTION
.ad
.fi
*** 174,177 ****
<b>FILES</b>
! /etc/postfix/canonical*, canonical mapping table
! /etc/postfix/virtual*, virtual mapping table
--- 174,177 ----
<b>FILES</b>
! !!PREFIX!!/etc/postfix/canonical*, canonical mapping table
! !!PREFIX!!/etc/postfix/virtual*, virtual mapping table

View File

@ -1,19 +1,13 @@
*** man/man8/local.8.orig Mon Mar 29 22:37:14 1999
--- man/man8/local.8 Mon Mar 29 22:37:44 1999
*** ./html/master.8.html.orig Tue Mar 7 10:48:56 2000
--- ./html/master.8.html Thu Jun 1 22:29:24 2000
***************
*** 75,81 ****
.ad
.fi
The default per-user mailbox is a file in the UNIX mail spool
! directory (\fB/var/mail/\fIuser\fR or \fB/var/spool/mail/\fIuser\fR);
the location can be specified with the \fBmail_spool_directory\fR
configuration parameter.
--- 75,81 ----
.ad
.fi
The default per-user mailbox is a file in the UNIX mail spool
! directory (\fB/var/mail/\fIuser\fR);
the location can be specified with the \fBmail_spool_directory\fR
configuration parameter.
*** 148,151 ****
<b>FILES</b>
! /etc/postfix/main.cf: global configuration file.
! /etc/postfix/master.cf: master process configuration file.
/var/spool/postfix/pid/master.pid: master lock file.
--- 148,151 ----
<b>FILES</b>
! !!PREFIX!!/etc/postfix/main.cf: global configuration file.
! !!PREFIX!!/etc/postfix/master.cf: master process configuration file.
/var/spool/postfix/pid/master.pid: master lock file.

View File

@ -1,21 +1,11 @@
*** man/man8/cleanup.8.orig Mon Mar 29 22:37:59 1999
--- man/man8/cleanup.8 Mon Mar 29 22:38:13 1999
*** ./html/goals.html.orig Sun May 9 15:44:18 1999
--- ./html/goals.html Thu Jun 1 22:30:14 2000
***************
*** 118,125 ****
.SH FILES
.na
.nf
! /etc/postfix/canonical*, canonical mapping table
! /etc/postfix/virtual*, virtual mapping table
.SH LICENSE
.na
.nf
--- 118,125 ----
.SH FILES
.na
.nf
! !!PREFIX!!/etc/postfix/canonical*, canonical mapping table
! !!PREFIX!!/etc/postfix/virtual*, virtual mapping table
.SH LICENSE
.na
.nf
*** 45,47 ****
<li>Compatibility. Postfix is designed to be sendmail-compatible
! to make migration easy. Postfix supports <b>/var[/spool]/mail</b>,
<b>/etc/aliases</b>, <b>NIS</b>, and <b>~/.forward</b> files.
--- 45,47 ----
<li>Compatibility. Postfix is designed to be sendmail-compatible
! to make migration easy. Postfix supports <b>/var/mail</b>,
<b>/etc/aliases</b>, <b>NIS</b>, and <b>~/.forward</b> files.

View File

@ -1,21 +1,11 @@
*** man/man8/master.8.orig Mon Mar 29 22:38:17 1999
--- man/man8/master.8 Mon Mar 29 22:38:46 1999
*** ./html/postdrop.1.html.orig Mon May 3 15:05:12 1999
--- ./html/postdrop.1.html Thu Jun 1 22:30:47 2000
***************
*** 116,123 ****
.SH FILES
.na
.nf
! /etc/postfix/main.cf: global configuration file.
! /etc/postfix/master.cf: master process configuration file.
/var/spool/postfix/pid/master.pid: master lock file.
.SH SEE ALSO
.na
--- 116,123 ----
.SH FILES
.na
.nf
! !!PREFIX!!/etc/postfix/main.cf: global configuration file.
! !!PREFIX!!/etc/postfix/master.cf: master process configuration file.
/var/spool/postfix/pid/master.pid: master lock file.
.SH SEE ALSO
.na
*** 48,50 ****
/var/spool/postfix, mail queue
! /etc/postfix, configuration files
--- 48,50 ----
/var/spool/postfix, mail queue
! !!PREFIX!!/etc/postfix, configuration files

View File

@ -1,20 +1,42 @@
--- makedefs.orig Sun Jan 23 03:04:27 2000
+++ makedefs Mon Apr 3 08:59:17 2000
@@ -89,6 +89,8 @@
;;
FreeBSD.4*) SYSTYPE=FREEBSD4
;;
+ FreeBSD.5*) SYSTYPE=FREEBSD5
+ ;;
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
NetBSD.1*) SYSTYPE=NETBSD1
@@ -244,7 +246,7 @@
*) : ${OPT='-O'};;
esac
-: ${CC='gcc $(WARN)'} ${OPT='-O'} ${DEBUG='-g'} ${AWK=awk}
+: ${CC='gcc $(WARN)'} ${OPT='-O'} ${AWK=awk}
export SYSTYPE AR ARFL RANLIB SYSLIBS CC OPT DEBUG AWK OPTS
*** ./html/uce.html.orig Fri Dec 31 15:06:07 1999
--- ./html/uce.html Thu Jun 1 22:31:37 2000
***************
*** 126,130 ****
! <dd> <b>header_checks = regexp:/etc/postfix/header_checks</b>
! <dd> <b>header_checks = pcre:/etc/postfix/header_checks</b>
--- 126,130 ----
! <dd> <b>header_checks = regexp:!!PREFIX!!/etc/postfix/header_checks</b>
! <dd> <b>header_checks = pcre:!!PREFIX!!/etc/postfix/header_checks</b>
***************
*** 169,171 ****
! <dd> <b>smtpd_client_restrictions = hash:/etc/postfix/access,
reject_maps_rbl</b>
--- 169,171 ----
! <dd> <b>smtpd_client_restrictions = hash:!!PREFIX!!/etc/postfix/access,
reject_maps_rbl</b>
***************
*** 474,476 ****
! <dd> <b>smtpd_sender_restrictions = hash:/etc/postfix/access,
reject_unknown_sender_domain</b>
--- 474,476 ----
! <dd> <b>smtpd_sender_restrictions = hash:!!PREFIX!!/etc/postfix/access,
reject_unknown_sender_domain</b>
***************
*** 856,858 ****
<dd> <b>smtpd_etrn_restrictions = permit_mynetworks,
! hash:/etc/postfix/etrn_access, reject</b>
--- 856,858 ----
<dd> <b>smtpd_etrn_restrictions = permit_mynetworks,
! hash:!!PREFIX!!/etc/postfix/etrn_access, reject</b>

View File

@ -1,10 +1,29 @@
--- util/sys_defs.h.orig Sat Jan 22 16:03:31 2000
+++ util/sys_defs.h Sat Mar 25 09:19:31 2000
@@ -20,6 +20,7 @@
* makedefs script, and adding a section below for the new system.
*/
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
+ || defined(FREEBSD5) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(NETBSD1) || defined(RHAPSODY5)
#define SUPPORTED
*** ./html/rate.html.orig Wed Mar 17 17:55:22 1999
--- ./html/rate.html Thu Jun 1 22:32:19 2000
***************
*** 224,226 ****
! <dt>/etc/postfix/main.cf:
--- 224,226 ----
! <dt>!!PREFIX!!/etc/postfix/main.cf:
***************
*** 237,239 ****
! <dt>/etc/postfix/<a href="transport.5.html">transport</a>:
--- 237,239 ----
! <dt>!!PREFIX!!/etc/postfix/<a href="transport.5.html">transport</a>:
***************
*** 253,255 ****
! <dt>/etc/postfix/master.cf:
--- 253,255 ----
! <dt>!!PREFIX!!/etc/postfix/master.cf:

View File

@ -0,0 +1,11 @@
--- html/relocated.5.html.orig Mon Sep 6 05:13:55 1999
+++ html/relocated.5.html Tue Nov 7 22:52:46 2000
@@ -9,7 +9,7 @@
relocated - format of Postfix relocated table
<b>SYNOPSIS</b>
- <b>postmap</b> <b>/etc/postfix/relocated</b>
+ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/relocated</b>
<b>DESCRIPTION</b>
The optional <b>relocated</b> file provides the information that

View File

@ -0,0 +1,56 @@
*** ./html/rewrite.html.orig Sat May 8 17:51:41 1999
--- ./html/rewrite.html Thu Jun 1 22:34:21 2000
***************
*** 194,196 ****
! <dd><b>canonical_maps = hash:/etc/postfix/canonical</b>
--- 194,196 ----
! <dd><b>canonical_maps = hash:!!PREFIX!!/etc/postfix/canonical</b>
***************
*** 207,209 ****
! <dd><b>sender_canonical_maps = hash:/etc/postfix/sender_canonical</b>
--- 207,209 ----
! <dd><b>sender_canonical_maps = hash:!!PREFIX!!/etc/postfix/sender_canonical</b>
***************
*** 211,213 ****
! <dd><b>recipient_canonical_maps = hash:/etc/postfix/recipient_canonical</b>
--- 211,213 ----
! <dd><b>recipient_canonical_maps = hash:!!PREFIX!!/etc/postfix/recipient_canonical</b>
***************
*** 295,297 ****
! <dd><b>virtual_maps = hash:/etc/postfix/virtual</b>
--- 295,297 ----
! <dd><b>virtual_maps = hash:!!PREFIX!!/etc/postfix/virtual</b>
***************
*** 323,325 ****
! <dd><b>relocated_maps = hash:/etc/postfix/relocated</b>
--- 323,325 ----
! <dd><b>relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated</b>
***************
*** 348,350 ****
! <dd><b>transport_maps = hash:/etc/postfix/transport</b>
--- 348,350 ----
! <dd><b>transport_maps = hash:!!PREFIX!!/etc/postfix/transport</b>

View File

@ -0,0 +1,11 @@
--- html/transport.5.html.orig Fri Dec 31 20:54:56 1999
+++ html/transport.5.html Tue Nov 7 22:53:50 2000
@@ -9,7 +9,7 @@
transport - format of Postfix transport table
<b>SYNOPSIS</b>
- <b>postmap</b> <b>/etc/postfix/transport</b>
+ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/transport</b>
<b>DESCRIPTION</b>
The optional <b>transport</b> file specifies a mapping from

View File

@ -0,0 +1,11 @@
--- html/virtual.5.html.orig Tue Dec 21 03:00:58 1999
+++ html/virtual.5.html Tue Nov 7 22:55:04 2000
@@ -9,7 +9,7 @@
virtual - format of Postfix virtual table
<b>SYNOPSIS</b>
- <b>postmap</b> <b>/etc/postfix/virtual</b>
+ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/virtual</b>
<b>DESCRIPTION</b>
The optional <b>virtual</b> table specifies redirections for

View File

@ -0,0 +1,11 @@
*** ./man/man1/postdrop.1.orig Mon May 3 15:03:29 1999
--- ./man/man1/postdrop.1 Thu Jun 1 22:38:54 2000
***************
*** 53,55 ****
/var/spool/postfix, mail queue
! /etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS
--- 53,55 ----
/var/spool/postfix, mail queue
! !!PREFIX!!/etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS

View File

@ -0,0 +1,20 @@
*** ./man/man1/sendmail.1.orig Thu Mar 30 14:05:28 2000
--- ./man/man1/sendmail.1 Thu Jun 1 22:39:16 2000
***************
*** 63,65 ****
The path name of the \fBsendmail.cf\fR file. Postfix configuration
! files are kept in \fB/etc/postfix\fR.
.IP "\fB-F \fIfull_name\fR
--- 63,65 ----
The path name of the \fBsendmail.cf\fR file. Postfix configuration
! files are kept in \fB!!PREFIX!!/etc/postfix\fR.
.IP "\fB-F \fIfull_name\fR
***************
*** 173,175 ****
/var/spool/postfix, mail queue
! /etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS
--- 173,175 ----
/var/spool/postfix, mail queue
! !!PREFIX!!/etc/postfix, configuration files
.SH CONFIGURATION PARAMETERS

View File

@ -0,0 +1,11 @@
--- man/man5/access.5.orig Fri Dec 11 19:55:52 1998
+++ man/man5/access.5 Tue Nov 7 22:56:25 2000
@@ -8,7 +8,7 @@
.SH SYNOPSIS
.na
.nf
-\fBpostmap /etc/postfix/access\fR
+\fBpostmap !!PREFIX!!/etc/postfix/access\fR
.SH DESCRIPTION
.ad
.fi

View File

@ -0,0 +1,11 @@
--- man/man5/canonical.5.orig Mon Sep 6 05:13:32 1999
+++ man/man5/canonical.5 Tue Nov 7 22:57:40 2000
@@ -8,7 +8,7 @@
.SH SYNOPSIS
.na
.nf
-\fBpostmap /etc/postfix/canonical\fR
+\fBpostmap !!PREFIX!!/etc/postfix/canonical\fR
.SH DESCRIPTION
.ad
.fi

View File

@ -0,0 +1,11 @@
--- man/man5/relocated.5.orig Mon Sep 6 05:13:33 1999
+++ man/man5/relocated.5 Tue Nov 7 22:59:11 2000
@@ -8,7 +8,7 @@
.SH SYNOPSIS
.na
.nf
-\fBpostmap /etc/postfix/relocated\fR
+\fBpostmap !!PREFIX!!/etc/postfix/relocated\fR
.SH DESCRIPTION
.ad
.fi

View File

@ -0,0 +1,11 @@
--- man/man5/transport.5.orig Fri Dec 31 20:54:51 1999
+++ man/man5/transport.5 Tue Nov 7 22:59:57 2000
@@ -8,7 +8,7 @@
.SH SYNOPSIS
.na
.nf
-\fBpostmap /etc/postfix/transport\fR
+\fBpostmap !!PREFIX!!/etc/postfix/transport\fR
.SH DESCRIPTION
.ad
.fi

View File

@ -0,0 +1,11 @@
--- man/man5/virtual.5.orig Tue Dec 21 03:00:51 1999
+++ man/man5/virtual.5 Tue Nov 7 23:00:32 2000
@@ -8,7 +8,7 @@
.SH SYNOPSIS
.na
.nf
-\fBpostmap /etc/postfix/virtual\fR
+\fBpostmap !!PREFIX!!/etc/postfix/virtual\fR
.SH DESCRIPTION
.ad
.fi

View File

@ -0,0 +1,13 @@
*** ./man/man8/cleanup.8.orig Sun May 28 21:58:32 2000
--- ./man/man8/cleanup.8 Thu Jun 1 22:42:21 2000
***************
*** 136,139 ****
.nf
! /etc/postfix/canonical*, canonical mapping table
! /etc/postfix/virtual*, virtual mapping table
.SH LICENSE
--- 136,139 ----
.nf
! !!PREFIX!!/etc/postfix/canonical*, canonical mapping table
! !!PREFIX!!/etc/postfix/virtual*, virtual mapping table
.SH LICENSE

View File

@ -0,0 +1,11 @@
*** ./man/man8/local.8.orig Thu Feb 3 21:14:53 2000
--- ./man/man8/local.8 Thu Jun 1 22:42:43 2000
***************
*** 96,98 ****
The default per-user mailbox is a file in the UNIX mail spool
! directory (\fB/var/mail/\fIuser\fR or \fB/var/spool/mail/\fIuser\fR);
the location can be specified with the \fBmail_spool_directory\fR
--- 96,98 ----
The default per-user mailbox is a file in the UNIX mail spool
! directory (\fB/var/mail/\fIuser\fR);
the location can be specified with the \fBmail_spool_directory\fR

View File

@ -0,0 +1,13 @@
*** ./man/man8/master.8.orig Tue Mar 7 10:48:19 2000
--- ./man/man8/master.8 Thu Jun 1 22:43:02 2000
***************
*** 120,123 ****
.nf
! /etc/postfix/main.cf: global configuration file.
! /etc/postfix/master.cf: master process configuration file.
/var/spool/postfix/pid/master.pid: master lock file.
--- 120,123 ----
.nf
! !!PREFIX!!/etc/postfix/main.cf: global configuration file.
! !!PREFIX!!/etc/postfix/master.cf: master process configuration file.
/var/spool/postfix/pid/master.pid: master lock file.

View File

@ -0,0 +1,13 @@
*** ./cleanup/cleanup.c.orig Sun May 28 18:33:41 2000
--- ./cleanup/cleanup.c Thu Jun 1 21:52:22 2000
***************
*** 118,121 ****
/* FILES
! /* /etc/postfix/canonical*, canonical mapping table
! /* /etc/postfix/virtual*, virtual mapping table
/* LICENSE
--- 118,121 ----
/* FILES
! /* !!PREFIX!!/etc/postfix/canonical*, canonical mapping table
! /* !!PREFIX!!/etc/postfix/virtual*, virtual mapping table
/* LICENSE

View File

@ -0,0 +1,11 @@
*** ./global/mail_conf.c.orig Sun May 7 18:51:16 2000
--- ./global/mail_conf.c Thu Jun 1 22:16:29 2000
***************
*** 53,55 ****
/* FILES
! /* /etc/postfix: default Postfix configuration directory.
/* ENVIRONMENT
--- 53,55 ----
/* FILES
! /* !!PREFIX!!/etc/postfix: default Postfix configuration directory.
/* ENVIRONMENT

View File

@ -0,0 +1,20 @@
*** ./global/mail_params.h.orig Wed May 31 19:18:31 2000
--- ./global/mail_params.h Thu Jun 1 22:17:10 2000
***************
*** 155,157 ****
#ifndef DEF_PROGRAM_DIR
! #define DEF_PROGRAM_DIR "/usr/libexec/postfix"
#endif
--- 155,157 ----
#ifndef DEF_PROGRAM_DIR
! #define DEF_PROGRAM_DIR "!!PREFIX!!/usr/libexec/postfix"
#endif
***************
*** 189,191 ****
#ifndef DEF_CONFIG_DIR
! #define DEF_CONFIG_DIR "/etc/postfix"
#endif
--- 189,191 ----
#ifndef DEF_CONFIG_DIR
! #define DEF_CONFIG_DIR "!!PREFIX!!/etc/postfix"
#endif

Some files were not shown because too many files have changed in this diff Show More