I'm having trouble starting Postfix on an Ubuntu 14.04 installation.

The full error message when running 'postfix check' is as follows...

/usr/sbin/postconf: fatal: invalid type field "flags=DRhu" in "??
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/dovecot-lda -f
${sender} -d ${recipient}"
postfix/postfix-script: fatal: cannot execute /usr/sbin/postconf!

I am (obviously) using Postfix with dovecot and that has started
properly and appears to be working although messages are 'deferred'
due to Postfix not working properly.

The last lines of master.cf look like this...

#
# Other external delivery methods.
#
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix  -       n       n       -       2       pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}
dovecot   unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/dovecot-lda -f
${sender} -d ${recipient}

The only line I have added from the 'default' file is the two lines at
the end. I have checked carefully and the second line seems properly
indented etc. and furthermore it is the same as another installation
on the same platform that works.

The mail.err log just has lines like this...

Mar  4 13:04:28 mailx postfix/postfix-script[16767]: fatal: cannot
execute /usr/sbin/postconf!

I've almost certainly done something stupid but I can't think how to proceed.

Thoughts much appreciated.

Reply via email to