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

Andrés Yacopino ayacopino at acasalud.com.ar
Fri Aug 14 23:17:15 EEST 2009


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,

-- 

Andrés Fernando Yacopino


More information about the dovecot mailing list