Hi

On Sat, Apr 6, 2013, at 10:39 AM, Viktor Dukhovni wrote:
> On Sat, Apr 06, 2013 at 09:25:28AM -0700, ixlo...@sent.at wrote:
> 
> > "The non-interactive version ("make upgrade") needs the
> > /etc/postfix/main.cf file from a previous installation.
> 
> It works just fine without one.  If you don't want to build a package,
> but want non-interactive installation, that's what "make upgrade" does.
> 
> I am attaching a patch for "MacOSX", where a bare-metal "make
> upgrade" with no main.cf fails, because Apple defines "postfix" as
> a nickname for "_postfix" and "postdrop" as a nickname for "_postdrop",
> so with default compile-time settings the Postfix installer aborts
> because its uid appears to be shared.

I'm building on Linux.  Do I need to apply that patch to my source, even
though it's for MacOSX?

What I get  now is:

make upgrade
        ...
        make: Nothing to be done for `update'.
        /bin/sh postfix-install -non-interactive
        postfix-install: Error: "postdrop" needs an entry in the group
        file.
        Remember, "postdrop" needs a dedicated group id.
        make: *** [upgrade] Error 1


Since the distro already installed its version of postfix -- both
version and config are not what I want/need, so that's why I'm building
my own -- there exist users/groups for postfix

grep post /etc/group
        mail:x:12:postfix
        maildrop:!:59:postfix
        postfix:!:51:

grep post /etc/passwd
        postfix:x:51:51:Postfix Daemon:/var/spool/postfix:/bin/false

Is it the patch I need here, or do I still need to create a user/group
above & beyond what the distro had previously installed?

I THINK it's the latter, but don't want to start mucking around without
understanding this.

Thanks!

Reply via email to