Thiago Henrique
2011-Jun-09 20:20 UTC
[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 at server.com): Fatal: execv(/usr/sbin/sendmail) failed: Permission denied Jun 9 18:49:37 box7 dovecot: lmtp(10734, user at server.com): Error: Sendmail process terminated abnormally, exit status 84 Jun 9 18:49:37 box7 dovecot: lmtp(10734, user at server.com): Error: At35JIgC8U3uKQAAndgVeA: sieve: msgid=<20110609184850.0FAB8200A41C at domain.com>: failed to redirect message to <user-destination at server.com> (refer to server log for more information) ######################################################################################## In sieve.log I see: ######################################################################################## error: msgid=<2011060919.0200A375 at domain.com>: failed to redirect message to <user at 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
Duane Hill
2011-Jun-10 09:22 UTC
[Dovecot] Dovecot sieve redirect: failed to redirect message to user@domain.com
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 at server.com): Fatal: > execv(/usr/sbin/sendmail) failed: Permission denied > Jun 9 18:49:37 box7 dovecot: lmtp(10734, user at server.com): Error: > Sendmail process terminated abnormally, exit status 84 > Jun 9 18:49:37 box7 dovecot: lmtp(10734, user at server.com): Error: > At35JIgC8U3uKQAAndgVeA: sieve: > msgid=<20110609184850.0FAB8200A41C at domain.com>: failed to redirect > message to <user-destination at server.com> (refer to server log for more > information) > ########################################################################################> In sieve.log I see:> ######################################################################################## > error: msgid=<2011060919.0200A375 at domain.com>: failed to redirect > message to <user at 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 HenriqueCan'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 at duanemail.org
Timo Sirainen
2011-Jun-13 13:24 UTC
[Dovecot] Dovecot sieve redirect: failed to redirect message to user@domain.com
On Thu, 2011-06-09 at 17:20 -0300, Thiago Henrique wrote:> > Jun 9 18:49:37 box7 dovecot: lmtp(10734, user at server.com): Fatal: > execv(/usr/sbin/sendmail) failed: Permission deniedSELinux maybe preventing this? An alternative would be to use the new submission_host parameter.