Florin Andrei
2012-Jul-09 20:28 UTC
[Dovecot] recover .sieve plaintext from .sievec binary file
Hi, I upgraded a server from an old Linux distribution to a much newer one. In the process, Dovecot got upgraded from v1 to v2. By mistake, I deleted the .sieve plaintext file with all the Sieve filters, but I still do have the .sievec compiled binary. Is there any way to dump the binary file back into plaintext format? Keep in mind, I'm running v2 now, and the binary was made on a v1 Dovecot server. Thanks. -- Florin Andrei http://florin.myip.org/
Pascal Volk
2012-Jul-09 20:46 UTC
[Dovecot] recover .sieve plaintext from .sievec binary file
On 07/09/2012 10:28 PM Florin Andrei wrote:> ? > By mistake, I deleted the .sieve plaintext file with all the Sieve > filters, but I still do have the .sievec compiled binary. Is there any > way to dump the binary file back into plaintext format? Keep in mind, > I'm running v2 now, and the binary was made on a v1 Dovecot server.You could try to recover your scripts using sieve-dump(1): http://pigeonhole.dovecot.org/doc/man1/sieve-dump.1.html Regards, Pascal -- The trapper recommends today: fabaceae.1219122 at localdomain.org