Hi there,

    I changed postfix to pass email to spamassassin, and then deliver to
dovecot LDA.  It fails to deliver. 

The current entry in master.cf now reads:
dovecot   unix  -       n       n       -       -       pipe
    flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d
${recipient}

smtp      inet  n       -       -       -       -       smtpd
  -o content_filter=spamassassin

spamassassin unix -     n       n       -       -       pipe
  user=nobody argv=/usr/bin/spamc -f -e
  /usr/sbin/sendmail -oi -f ${sender} ${recipient}

This is the same as I had to afore I factored in spamassassin.

The error message is this:-
Jan 18 16:30:44 logout postfix/pipe[28952]: 56AE58230A:
to=<[email protected]>, relay=dovecot, delay=0.01, delays=0/0/0/0.01,
dsn=5.3.0, status=bounced (command line usage error. Command output:
Fatal: Unknown argument: flags=DRhu Usage: deliver [-c <config file>]
[-a <address>] [-d <username>] [-p <path>]                [-f <envelope
sender>] [-m <mailbox>] [-n] [-s] [-e] [-k] )

Does anyone know which options I should have added to dovecot deliver?



Reply via email to