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@somedomain"], [/* 2 vars */]
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@OVZ.mail ~]# /usr/sbin/sendmail -i -f <> -- komodo@domain.com
Note that you need to use '<>' here when running from command line.
Ok, with this i get
[root@OVZ.mail ~]# /usr/sbin/sendmail -i -f '<>' -- komodo@domain.com 517 Syntax error. [root@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@domain.net,module=local,host=komodo@domain.cz!!10162! 100!/home/komodo!!,addr=komodo@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@domain.cz): Error: Sendmail process terminated abnormally, exit status 67 Jan 4 11:54:12 OVZ dovecot: lda(komodo@domain.cz): Error: sieve: msgid=201101041154.06487.komodo@domain.net: failed to send vacation response to komodo@domain.net (refer to server log for more information) Jan 4 11:54:12 OVZ dovecot: lda(komodo@domain.cz): sieve: msgid=201101041154.06487.komodo@domain.net: sent vacation response to komodo@domain.net Jan 4 11:54:12 OVZ dovecot: lda(komodo@domain.cz): sieve: msgid=201101041154.06487.komodo@domain.net: stored mail into mailbox 'INBOX' Jan 4 11:54:12 OVZ courierlocal: id=0000000000220008.000000004D22FC54.00000F48,from=komodo@domain.net,addr=komodo@domain.cz: 517 Syntax error. Jan 4 11:54:12 OVZ courierlocal: id=0000000000220008.000000004D22FC54.00000F48,from=komodo@domain.net,addr=komodo@domain.cz,size=542,success: Message delivered.
So localy is delivered, but vacation not.
And there is no other log.