Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2016 18:11:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209111] mail/postfix pkg install postfix -y still asks for input
Message-ID:  <bug-209111-13-T6tbuCNuYy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209111-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209111-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209111

Olli Hauer <ohauer@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ohauer@FreeBSD.org
             Status|New                         |Open
           Assignee|freebsd-ports-bugs@FreeBSD. |ohauer@FreeBSD.org
                   |org                         |
            Summary|pkg install postfix -y      |mail/postfix pkg install
                   |still asks for input        |postfix -y still asks for
                   |                            |input

--- Comment #1 from Olli Hauer <ohauer@FreeBSD.org> ---
(In reply to C. R. Oldham from comment #0)

ASSUME_ALWAYS_YES is for the pkg tool so it doesn't ask ...
 New packages to be installed:
   ....
Proceed with this action [y/N]:


The postfix install script should honor the environment var
"POSTFIX_DEFAULT_MTA=3Dyes" that is set per default to "no".

This sample command line should work=20
 # env POSTFIX_DEFAULT_MTA=3Dyes pkg install -y postfix

=3D> "-y" in "pkg install -y" stands for "ASSUME_ALWAYS_YES"
=3D> env POSTFIX_DEFAULT_MTA=3Dyes tells the postfix install script to acti=
vate
postfix without asking to replace the mailer.conf file

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209111-13-T6tbuCNuYy>