[Dovecot] Redirecting mail gives 'mail forwarding loop' to the sender - calling for sieve help

Mauricio Tavares raubvogel at gmail.com
Fri Aug 14 23:32:20 EEST 2009


Andrés Yacopino wrote:
> Greetings, i am testing:
> 
> - dovecot-1.2-sieve-0.1.11
> - dovecot 1.2.3
> - dovecot-1.2-managesieve-0.11.8 (with patch)
> 
> I am trying to use sieve_after to execute some redirection of mails.
> 
> I have put in the after script:
> 
> require "include";
> require "fileinto";
> 
> if header :contains ["To","Cc"] "userA at acasalud.com.ar"
> {
>   keep;
>   redirect "userB at acasalud.com.ar";
> }
> 
> The redirection works but the sender user (userA) get the following error:
> 
> This is the mail system at host acamail.acasalud.com.ar.
> 
> I'm sorry to have to inform you that your message
> could not
> be delivered to one or more recipients. It's
> attached below.
> 
>                   The mail system
> 
> <userB at acasalud.com.ar 
> <http://10.11.0.21/webmail/src/compose.php?send_to=ayacopino%40acasalud.com.ar>>: 
> mail forwarding loop
> for userB at acasalud.com.ar 
> <http://10.11.0.21/webmail/src/compose.php?send_to=ayacopino%40acasalud.com.ar> 
> 
> 
> 
> 
> Could somebody can help me.
> 
> Thanks,
> 
	What does your log file says?

	Also, you could cheat and tell it to use copy instead of keep and 
redirect?


More information about the dovecot mailing list