ports/79447: postfix: mailer.conf change not working
Bjoern A. Zeeb
bzeeb+freebsdports at zabbadoz.net
Sat Apr 2 13:00:19 UTC 2005
>Number: 79447
>Category: ports
>Synopsis: postfix: mailer.conf change not working
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 02 13:00:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Bjoern A. Zeeb
>Release: FreeBSD 5.2-CURRENT amd64
>Organization:
Zabbadoz.NeT
>Environment:
>Description:
mailer.conf not changed if told to.
...
Would you like to activate Postfix in /etc/mail/mailer.conf [n]? y
17077
17260
If you have postfix configured in your /etc/mail/mailer.conf (answered yes to
...
but no change happens.
>How-To-Repeat:
Install postfix on a freshly installed system with original mailer.conf,
say 'y' as given above and check the results.
>Fix:
Following fix found by Christian Kratzer <ck at cksoft dot de>
make things work again.
Index: pkg-install
===================================================================
RCS file: /local/mirror/FreeBSD/r/pcvs/ports/mail/postfix/pkg-install,v
retrieving revision 1.20
diff -u -p -r1.20 pkg-install
--- pkg-install 19 Mar 2005 23:17:54 -0000 1.20
+++ pkg-install 2 Apr 2005 12:34:48 -0000
@@ -29,7 +29,7 @@ ask() {
question=$1
default=$2
if [ -z "${PACKAGE_BUILDING}" -a x${BATCH} = xno ]; then
- /usr/bin/read -p "${question} [${default}]? " answer
+ read -p "${question} [${default}]? " answer
fi
if [ x${answer} = x ]; then
answer=${default}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list