[Dovecot] dovecot + sieve redirect failed

Stephan Bosch stephan at rename-it.nl
Fri Nov 22 19:17:56 EET 2013


On 11/22/2013 11:52 AM, Tibor Korocz wrote:
> Hi Guys,
>
> I have a strange problem and I couldn't find any solution, I hope somebody
> could help me.
> I'm using postfix+dovecot+sieve combination and I tried to set up redirect.
>
> .sieve:
> require ["fileinto", "regex", "date", "relational", "vacation"];
> redirect "xxxx at gmail.com";
> keep;
>
> But I get some error in the mail.log:
>
> sieve: msgid=<1562626302.336239.1385116787283>: failed to redirect message
> to <xxxxx at gmail.com> (refer to server log for more information)
> Nov 22 11:39:50 server dovecot: lda(xxx at xxxx): sieve:
> msgid=<1562626302.336239.1385116787283>: stored mail into mailbox 'INBOX'
> Nov 22 11:39:50 server dovecot: lda(xxx at xxxx): Error: sieve: execution of
> script /var/vmail/xxxx/.sieve failed, but implicit keep was successful
> (user logfile /var/vmail/xxxx/.sieve.log may reveal additional details)
>
> .sieve.log:
>
> error: msgid=<1562626302.336239.1385116787283>: failed to redirect message
> to <xxxx at gmail.com> (refer to server log for more information).
>
> I couldn't find any other details in the logs.
> Any idea what is the problem and what is the solution?

I would expect something in the MTA logs. By default Dovecot uses local
sendmail binary to submit messages. You can try to run that and see if
it works. If you've configured Dovecot to talk to an SMTP server
directly, you can dump the protocol exchange.

I do find it strange that Dovecot and Pigeonhole don't log any specifics
about the failure. I don't see how that could happen.

What is your configuration (output from `dovecot -n`)

Regards,

Stephan.


More information about the dovecot mailing list