[Dovecot] "Reapplying" sieve rules
I did a mistake (shame on me).
While migrating accounts on a new server, I didn't pay attention to a detail: sieve_max_actions, that I set to a low value for my testings, but then forgot to raise before the migration.
As a result, several redirect-only accounts have now their inbox filled with messages that should have been redirected to "real people", then discarded.
Would there be a nice way to "reapply" the sieve scripts, so that the messages of those mailboxes are redirected to their final recipients, the way they should have been upon arrival?
Many thanks in advance, Axel
Axel Luttgens schreef op 22-4-2014 8:37:
I did a mistake (shame on me).
While migrating accounts on a new server, I didn't pay attention to a detail: sieve_max_actions, that I set to a low value for my testings, but then forgot to raise before the migration.
As a result, several redirect-only accounts have now their inbox filled with messages that should have been redirected to "real people", then discarded.
Would there be a nice way to "reapply" the sieve scripts, so that the messages of those mailboxes are redirected to their final recipients, the way they should have been upon arrival?
Normally, I would say: use the sieve-filter tool. But, unfortunately, it doesn't currently allow sending e-mail anywhere to prevent serious mishaps.
So, currently, with Sieve the answer is no. :/
Perhaps you can hack something with doveadm...
Regards,
Stephan.
Le 22 avr. 2014 à 10:25, Stephan Bosch a écrit :
[...] Normally, I would say: use the sieve-filter tool. But, unfortunately, it doesn't currently allow sending e-mail anywhere to prevent serious mishaps.
So, currently, with Sieve the answer is no. :/
Perhaps you can hack something with doveadm...
[...]
Le 22 avr. 2014 à 10:39, Robert Schetterer a écrit :
[...] perhaps use ideas from
http://wiki2.dovecot.org/HowTo/RefilterMail
[...]
Hello,
Many thanks to both of you.
Fortunately, my problem has been far less widespread than initially feared. As a result, the good old manual way, yet with quite a bunch of patience and care, did the trick.
But it is always nice to have some alternatives at hand; they are in my tool bag now. ;-)
Regards, Axel
Am 22.04.2014 08:37, schrieb Axel Luttgens:
I did a mistake (shame on me).
While migrating accounts on a new server, I didn't pay attention to a detail: sieve_max_actions, that I set to a low value for my testings, but then forgot to raise before the migration.
As a result, several redirect-only accounts have now their inbox filled with messages that should have been redirected to "real people", then discarded.
Would there be a nice way to "reapply" the sieve scripts, so that the messages of those mailboxes are redirected to their final recipients, the way they should have been upon arrival?
Many thanks in advance, Axel
perhaps use ideas from
http://wiki2.dovecot.org/HowTo/RefilterMail
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
participants (3)
-
Axel Luttgens
-
Robert Schetterer
-
Stephan Bosch