aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-11-30 19:24:31 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-11-30 19:24:31 +0000
commit53b1476f4b2ec2051f49d5e33199e46fda053a99 (patch)
tree6a8fa1ff2dd4af88e0df06ca73fbc9a49d36f75a /mail
parentb34e15ed1dbcb8c98de0eb4757ae35f52f3e4603 (diff)
downloadports-53b1476f4b2ec2051f49d5e33199e46fda053a99.tar.gz
ports-53b1476f4b2ec2051f49d5e33199e46fda053a99.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/postfix-current/Makefile3
-rw-r--r--mail/postfix-current/pkg-message19
2 files changed, 12 insertions, 10 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index 5a131eccc5d0..b9503b3797ba 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -335,7 +335,4 @@ post-install:
@${RM} -f ${PREFIX}/etc/postfix/postfix-files.bak
@${CAT} ${PKGMESSAGE}
-post-clean:
- @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
-
.include <bsd.port.post.mk>
diff --git a/mail/postfix-current/pkg-message b/mail/postfix-current/pkg-message
index 1c9fd6699bb9..f129b27a8375 100644
--- a/mail/postfix-current/pkg-message
+++ b/mail/postfix-current/pkg-message
@@ -4,33 +4,38 @@ please set these variables in your /etc/rc.conf file:
sendmail_enable="YES"
sendmail_flags="-bd"
+sendmail_pidfile="/var/spool/postfix/pid/master.pid"
+sendmail_procname="/usr/local/libexec/postfix/master"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
sendmail_msp_queue_enable="NO"
-This will disable Sendmail completely.
+This will disable Sendmail completely, and allow you to use /etc/rc.d/sendmail
+to start and stop postfix (FreeBSD 5.x and up). For FreeBSD 4.x, it will just
+cause the system boot scripts to start sendmail for you.
Alternatively to the above settings, you can enable postfix to start with
the other local services, for example, after your database server starts if
you need it to be running for postfix. To do this, set in your rc.conf file:
-sendmail_enable="NONE"
+sendmail_enable="NO"
+sendmail_submit_enable="NO"
+sendmail_outbound_enable="NO"
+sendmail_msp_queue_enable="NO"
Then make the following symbolic link:
cd /usr/local/etc/rc.d
ln -s /usr/local/sbin/postfix postfix.sh
-
-Also, you will want to disable some Sendmail-specific daily maintenance
-routines in your /etc/periodic.conf file:
+With either startup configuration, you will want to disable some
+Sendmail-specific daily maintenance routines in your /etc/periodic.conf file:
daily_clean_hoststat_enable="NO"
-daily_status_mail_rejects_enable="NO"
+daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"
-
If you are using SASL, you need to make sure that postfix has access to read
the sasldb file. This is accomplished by adding postfix to group mail and
making the /usr/local/etc/sasldb* file(s) readable by group mail (this should