[Dovecot] Dovecot sieve redirect: failed to redirect message to user@domain.com
Hello,
I'm running Dovecot 2.0.13 on my Ubuntu10.04. It's working very well but I faced a problem with Redirect and Vacation using Sieve. :-( In fact, after well configuring the system I dont't receive the redirect message, and in the log I found:
######################################################################################## Jun 9 18:49:37 box7 dovecot: lmtp(10734, user@server.com): Fatal: execv(/usr/sbin/sendmail) failed: Permission denied Jun 9 18:49:37 box7 dovecot: lmtp(10734, user@server.com): Error: Sendmail process terminated abnormally, exit status 84 Jun 9 18:49:37 box7 dovecot: lmtp(10734, user@server.com): Error: At35JIgC8U3uKQAAndgVeA: sieve: msgid=20110609184850.0FAB8200A41C@domain.com: failed to redirect message to user-destination@server.com (refer to server log for more information) ########################################################################################
In sieve.log I see:
######################################################################################## error: msgid=2011060919.0200A375@domain.com: failed to redirect message to user@domain.com (refer to server log for more information). ########################################################################################
Manually sendmail command works normally. Cron sends email normally. Any idea about the reason this happen and how to solve?
Thanks in advance, Thiago Henrique
Thursday, June 9, 2011, 3:20:34 PM, Thiago wrote:
Hello,
I'm running Dovecot 2.0.13 on my Ubuntu10.04. It's working very well but I faced a problem with Redirect and Vacation using Sieve. :-( In fact, after well configuring the system I dont't receive the redirect message, and in the log I found:
######################################################################################## Jun 9 18:49:37 box7 dovecot: lmtp(10734, user@server.com): Fatal: execv(/usr/sbin/sendmail) failed: Permission denied Jun 9 18:49:37 box7 dovecot: lmtp(10734, user@server.com): Error: Sendmail process terminated abnormally, exit status 84 Jun 9 18:49:37 box7 dovecot: lmtp(10734, user@server.com): Error: At35JIgC8U3uKQAAndgVeA: sieve: msgid=20110609184850.0FAB8200A41C@domain.com: failed to redirect message to user-destination@server.com (refer to server log for more information) ########################################################################################
In sieve.log I see:
######################################################################################## error: msgid=2011060919.0200A375@domain.com: failed to redirect message to user@domain.com (refer to server log for more information). ########################################################################################
Manually sendmail command works normally. Cron sends email normally. Any idea about the reason this happen and how to solve?
Thanks in advance, Thiago Henrique
Can't tell for sure why. Please post the results of the 'dovecot -n' command. Your logs appear to state there is some kind of permission issue.
-- Best regards, Duane mailto:duane@duanemail.org
On Thu, 2011-06-09 at 17:20 -0300, Thiago Henrique wrote:
Jun 9 18:49:37 box7 dovecot: lmtp(10734, user@server.com): Fatal: execv(/usr/sbin/sendmail) failed: Permission denied
SELinux maybe preventing this? An alternative would be to use the new submission_host parameter.
participants (3)
-
Duane Hill
-
Thiago Henrique
-
Timo Sirainen