[Dovecot] Courier-mta with Dovecot LDA again

komodo komodo at uvt.cz
Tue Jan 4 12:59:48 EET 2011


On Tuesday 04 January 2011 11:46:41 Timo Sirainen wrote:
> On Tue, 2011-01-04 at 11:43 +0100, komodo wrote:
> > > > execve("/usr/sbin/sendmail", ["/usr/sbin/sendmail", "-i", "-f", "<>",
> > > > "--", "someuser at somedomain"], [/* 2 vars */]<unfinished ...>
> > 
> > Thanks for the answer, but this must be the problem, because when i run
> > sendmail from command line (exactly like in the strace output)
> > 
> > [root at OVZ.mail ~]# /usr/sbin/sendmail -i -f <>  -- komodo at domain.com
> 
> Note that you need to use '<>' here when running from command line.
> 
Ok, with this i get

[root at OVZ.mail ~]# /usr/sbin/sendmail -i -f '<>'  -- komodo at domain.com
517 Syntax error.
[root at OVZ.mail ~]# echo $?
67

So again 67 error.

> So I think your problem is that it sends a bounce instead of a vacation
> message. deliver should log what it's doing, probably "rejected:
> <reason>". What do you see in logs?

Here is the log

Jan  4 11:54:12 OVZ courierd: newmsg,id=0000000000220008.000000004D22FC54.00000F48: dns; acheron([::ffff:10.0.10.21])
Jan  4 11:54:12 OVZ courierd: started,id=0000000000220008.000000004D22FC54.00000F48,from=<komodo at domain.net>,module=local,host=komodo at domain.cz!!10162!
100!/home/komodo!!,addr=<komodo at domain.cz>
Jan  4 11:54:12 OVZ courierd: Waiting.  shutdown time=none, wakeup time=Tue Jan  4 11:58:09 2011, queuedelivering=2, inprogress=1
Jan  4 11:54:12 OVZ dovecot: lda(komodo at domain.cz): Error: Sendmail process terminated abnormally, exit status 67
Jan  4 11:54:12 OVZ dovecot: lda(komodo at domain.cz): Error: sieve: msgid=<201101041154.06487.komodo at domain.net>: failed to send vacation response to <komodo at domain.net> (refer to server 
log for more information)
Jan  4 11:54:12 OVZ dovecot: lda(komodo at domain.cz): sieve: msgid=<201101041154.06487.komodo at domain.net>: sent vacation response to <komodo at domain.net>
Jan  4 11:54:12 OVZ dovecot: lda(komodo at domain.cz): sieve: msgid=<201101041154.06487.komodo at domain.net>: stored mail into mailbox 'INBOX'
Jan  4 11:54:12 OVZ courierlocal: id=0000000000220008.000000004D22FC54.00000F48,from=<komodo at domain.net>,addr=<komodo at domain.cz>: 517 Syntax error.
Jan  4 11:54:12 OVZ courierlocal: id=0000000000220008.000000004D22FC54.00000F48,from=<komodo at domain.net>,addr=<komodo at domain.cz>,size=542,success: Message delivered.

So localy is delivered, but vacation not.

And there is no other log.


More information about the dovecot mailing list