J4
2011-Jan-18 15:38 UTC
[Dovecot] Dovecor 1.2 : 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] )
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=<test at test.info>, 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?
J4
2011-Jan-18 15:57 UTC
[Dovecot] Dovecor 1.2 : 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] )
Ignore this plea for help. The problem has been solved. It was a typo in the configuration. Regards,j On 01/18/2011 04:38 PM, J4 wrote:> 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=<test at test.info>, 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? > > > >
Robert Schetterer
2011-Jan-18 19:12 UTC
[Dovecot] Dovecor 1.2 : 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] )
Am 18.01.2011 16:38, schrieb J4:> 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=<test at test.info>, 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? > > > >you shouldnt use deliver, use lmtp with dovecot 2.09 -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria