[Dovecot] dovecot + sieve redirect failed
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@gmail.com"; keep;
But I get some error in the mail.log:
sieve: msgid=<1562626302.336239.1385116787283>: failed to redirect message to xxxxx@gmail.com (refer to server log for more information) Nov 22 11:39:50 server dovecot: lda(xxx@xxxx): sieve: msgid=<1562626302.336239.1385116787283>: stored mail into mailbox 'INBOX' Nov 22 11:39:50 server dovecot: lda(xxx@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@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?
Thanks, Tibi
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@gmail.com"; keep;
But I get some error in the mail.log:
sieve: msgid=<1562626302.336239.1385116787283>: failed to redirect message to xxxxx@gmail.com (refer to server log for more information) Nov 22 11:39:50 server dovecot: lda(xxx@xxxx): sieve: msgid=<1562626302.336239.1385116787283>: stored mail into mailbox 'INBOX' Nov 22 11:39:50 server dovecot: lda(xxx@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@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.
participants (2)
-
Stephan Bosch
-
Tibor Korocz