[Bug 209111] mail/postfix pkg install postfix -y still asks for input

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 29 18:11:05 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209111

Olli Hauer <ohauer at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ohauer at FreeBSD.org
             Status|New                         |Open
           Assignee|freebsd-ports-bugs at FreeBSD. |ohauer at 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 at 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=yes" that is set per default to "no".

This sample command line should work 
 # env POSTFIX_DEFAULT_MTA=yes pkg install -y postfix

=> "-y" in "pkg install -y" stands for "ASSUME_ALWAYS_YES"
=> env POSTFIX_DEFAULT_MTA=yes tells the postfix install script to activate
postfix without asking to replace the mailer.conf file

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


More information about the freebsd-ports-bugs mailing list