Date: Mon, 22 Sep 2003 14:01:34 +1200 (NZST) From: Jonathan Chen <jonc@chen.org.nz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/57074: mail/postfix pkg-message needs additional rc.conf entry. Message-ID: <20030922020134.169D31364C@chen.org.nz> Resent-Message-ID: <200309220210.h8M2AFd7098359@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57074 >Category: ports >Synopsis: mail/postfix pkg-message needs additional rc.conf entry. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 21 19:10:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Jonathan Chen >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: >Environment: System: FreeBSD grimoire.chen.org.nz 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Thu Sep 18 20:42:35 NZST 2003 root@grimoire.chen.org.nz:/usr/obj/usr/src/sys/GRIMOIRE i386 >Description: The pkg-message for mail/postfix port is missing the pid-file specification for the rc.conf setup. Without this, we can't use: # sh /etc/rc.sendmail stop >How-To-Repeat: With the recommended lines from pkg-message in /etc/rc.conf: sendmail_enable="YES" sendmail_flags="-bd" sendmail_outbound_enable="NO" sendmail_submit_enable="NO" sendmail_msp_queue_enable="NO" As root: # sh /etc/rc.sendmail start # sh /etc/rc.sendmail stop A "ps ax" will reveal that the postfix procecess are still running. >Fix: Add the following line to /etc/rc.conf: sendmail_pidfile="/var/spool/postfix/pid/master.pid" This needs to be added to the pkg-message file. --- pkg-message Mon Sep 22 13:54:26 2003 +++ pkg-message.orig Mon Sep 22 13:54:07 2003 @@ -4,7 +4,6 @@ sendmail_enable="YES" sendmail_flags="-bd" -sendmail_pidfile="/var/spool/postfix/pid/master.pid" sendmail_outbound_enable="NO" sendmail_submit_enable="NO" sendmail_msp_queue_enable="NO" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030922020134.169D31364C>