Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  2 Apr 2005 12:51:41 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ck@cksoft.de
Subject:   ports/79447: postfix: mailer.conf change not working
Message-ID:  <20050402125141.6C5881538C@mail.int.zabbadoz.net>
Resent-Message-ID: <200504021300.j32D0GHj055163@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050402125141.6C5881538C>