Aug 14 21:40:23 acamail postfix/smtpd[11036]: 8849C6FEE9: client=acamail.acasalud.com.ar[127.0.0.1] Aug 14 21:40:23 acamail postfix/cleanup[11038]: 8849C6FEE9: message-id=<[email protected]> Aug 14 21:40:23 acamail postfix/qmgr[10830]: 8849C6FEE9: from=<[email protected]>, size=1011, nrcpt=1 (queue active) Aug 14 21:40:23 acamail postfix/smtpd[11036]: disconnect from acamail.acasalud.com.ar[127.0.0.1] Aug 14 21:40:23 acamail dovecot: imap-login: Login: user=<sender_user>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Aug 14 21:40:23 acamail dovecot: deliver([email protected]): sieve: msgid=<[email protected]>: stored mail into mailbox 'INBOX' Aug 14 21:40:23 acamail postfix/pickup[10831]: A9DA56FEED: uid=40 from=<[email protected]> Aug 14 21:40:23 acamail postfix/cleanup[11038]: A9DA56FEED: message-id=<[email protected]> Aug 14 21:40:23 acamail dovecot: deliver([email protected]): sieve: msgid=<[email protected]>: forwarded to <[email protected]> Aug 14 21:40:23 acamail postfix/pipe[11039]: 8849C6FEE9: to=<[email protected]>, relay=dovecot, delay=0.15, delays=0.07/0.03/0/0.06, dsn=2.0.0, status=sent (delivered via dovecot service)Aug 14 21:40:23 acamail postfix/qmgr[10830]: 8849C6FEE9: removedAug 14 21:40:23 acamail postfix/qmgr[10830]: A9DA56FEED: from=<[email protected]>, size=1198, nrcpt=1 (queue active) Aug 14 21:40:23 acamail dovecot: IMAP(sender_user): Disconnected: Logged out bytes=887/438 Aug 14 21:40:23 acamail dovecot: imap-login: Login: user=<sender_user>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Aug 14 21:40:24 acamail dovecot: deliver([email protected]): sieve: msgid=<[email protected]>: stored mail into mailbox 'INBOX' Aug 14 21:40:24 acamail dovecot: IMAP(sender_user): Disconnected: Logged out bytes=139/1580 Aug 14 21:40:24 acamail dovecot: deliver([email protected]): sieve: msgid=<[email protected]>: forwarded to <[email protected]> Aug 14 21:40:24 acamail postfix/pipe[11039]: A9DA56FEED: to=<[email protected]>, relay=dovecot, delay=0.44, delays=0.03/0.03/0/0.39, dsn=2.0.0, status=sent (delivered via dovecot service)Aug 14 21:40:24 acamail postfix/qmgr[10830]: A9DA56FEED: removedAug 14 21:40:24 acamail postfix/pickup[10831]: 2064C6FEEC: uid=40 from=<[email protected]> Aug 14 21:40:24 acamail postfix/cleanup[11038]: 2064C6FEEC: message-id=<[email protected]> Aug 14 21:40:24 acamail postfix/qmgr[10830]: 2064C6FEEC: from=<[email protected]>, size=1354, nrcpt=1 (queue active) Aug 14 21:40:24 acamail postfix/pipe[11039]: 2064C6FEEC: to=<[email protected]>, relay=dovecot, delay=0.07, delays=0.06/0/0/0.01, dsn=5.4.6, status=bounced (mail forwarding loop for [email protected]) Aug 14 21:40:24 acamail postfix/cleanup[11038]: 262F06FEED: message-id=<[email protected]> Aug 14 21:40:24 acamail postfix/qmgr[10830]: 262F06FEED: from=<>, size=3282, nrcpt=1 (queue active) Aug 14 21:40:24 acamail postfix/bounce[11050]: 2064C6FEEC: sender non-delivery notification: 262F06FEEDAug 14 21:40:24 acamail postfix/qmgr[10830]: 2064C6FEEC: removedAug 14 21:40:24 acamail dovecot: deliver([email protected]): sieve: msgid=<[email protected]>: stored mail into mailbox 'INBOX' Aug 14 21:40:24 acamail postfix/pipe[11039]: 262F06FEED: to=<[email protected]>, relay=dovecot, delay=0.04, delays=0.01/0/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)Aug 14 21:40:24 acamail postfix/qmgr[10830]: 262F06FEED: removed Andrés Fernando Yacopino Infraestructura - Dpto Sistemas AcaSalud Cooperativa de Prestaciones Médico Asistenciales Limitada Tel: 0341-4208726 [email protected] Mauricio Tavares escribió: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"] "[email protected]" { keep; redirect "[email protected]"; }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<[email protected] <http://10.11.0.21/webmail/src/compose.php?send_to=ayacopino%40acasalud.com.ar>>: mail forwarding loop for [email protected] <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?
Well i delete the antispam and antivirus to make a more easy reading
logfile:
- [Dovecot] Redirecting mail gives 'mail forwarding loop' t... Andrés Yacopino
- Re: [Dovecot] Redirecting mail gives 'mail forwardin... Mauricio Tavares
- Re: [Dovecot] Redirecting mail gives 'mail forwa... Andrés Yacopino
- Re: [Dovecot] Redirecting mail gives 'mail forwa... Andrés Yacopino
- Re: [Dovecot] Redirecting mail gives 'mail f... Andrés Yacopino
- Re: [Dovecot] Redirecting mail gives 'mail f... Charles Marcus
- Re: [Dovecot] Redirecting mail gives 'mail forwardin... Timo Sirainen
- Re: [Dovecot] Redirecting mail gives 'mail forwa... Andrés Yacopino
- Re: [Dovecot] Redirecting mail gives 'mail f... Timo Sirainen
- Re: [Dovecot] Redirecting mail gives 'ma... Stephan Bosch
- Re: [Dovecot] Redirecting mail gives 'mail forwardin... Andrés Yacopino
