[Dovecot] sieve multiple redirects

Anil replicase at gmail.com
Tue Aug 5 02:47:27 EEST 2008


I got a sieve script like this:
redirect "user at gmail.com";
redirect "someuser at hotmail.com";
keep;

It seems to redirect the mail to the 1st user but not the 2nd. Any
idea? From what I can tell, that is a valid sieve script.
I am using an earlier RC version of dovecot - 1.1.rc4, going to be
upgrading soon.
There are also a few errors. I assume /home/orders is not needed?

Also, does Dovecot go through Global Sieve script and then per-user
script? It appears that the global script is not even used if the
per-user script exists - anyway to change that so both are parsed in
order?

Aug  4 16:36:48 the.testing.net deliver(orders at domain.com): [ID 223526
mail.info] cmusieve: Using sieve path:
/apps/mail/domain.com/orders/.dovecot.sieve
Aug  4 16:36:48 the.testing.net deliver(orders at domain.com): [ID 507699
mail.info] cmusieve: Executing script
/apps/mail/domain.com/orders/.dovecot.sievec
Aug  4 16:36:48 the.testing.net deliver(orders at domain.com): [ID 698705
mail.error] file_dotlock_create(/home/orders/.dovecot.lda-dupes)
failed: No such file or directory
Aug  4 16:36:48 the.testing.net deliver(orders at domain.com): [ID 104220
mail.info] Sending a forward to <user at gmail.com> with return path
<<user at testing.net>>

Aug  4 16:36:49 the.testing.net sendmail[20139]: [ID 801593 mail.info]
m74NamS4020139: from=<user at testing.net>, size=1119, class=0, nrcpts=1,
msgid=<4897927F.5010104 at testing.net>, proto=ESMTP, daemon=MTA-v4,
relay=localhost [127.0.0.1]
Aug  4 16:36:49 the.testing.net sendmail[20138]: [ID 801593 mail.info]
m74Namh1020138: to=user at gmail.com, ctladdr=<user at testing.net>
(1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30850,
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m74NamS4020139
Message accepted for delivery)

Aug  4 16:36:49 the.testing.net deliver(orders at domain.com): [ID 260232
mail.error] Sendmail process terminated abnormally, exit status 70
Aug  4 16:36:49 the.testing.net deliver(orders at domain.com): [ID 344163
mail.info] sieve runtime error: Redirect: Error sending mail
Aug  4 16:36:49 the.testing.net deliver(orders at domain.com): [ID 368532
mail.error] sieve_execute_bytecode(/apps/mail/domain.com/orders/.dovecot.sievec)
failed
Aug  4 16:36:49 the.testing.net deliver(orders at domain.com): [ID 702911
mail.info] msgid=<4897927F.5010104 at testing.net>: saved mail to INBOX


More information about the dovecot mailing list