1

Topic: Migrating Sieve files into iRedMail structure - sievec compiled?

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====- iRedMail version 0.9.4
- Debian 7
- Store mail accounts in MySQL
- Web server is Apache
- Manage mail accounts with iRedAdmin-Pro? yes
- Roundcube installed

I need to migrate some sieve files into the iRedMail structure.  On the old mail server (not iRedMail) these would normally be created manually and then compiled with sievec.

The iRedmail structure creates sieve files using roundcube under /storage/vmail/.......username.date/sieve

I created a couple of sieve entries via roundcube on a test environment and it created:

lrwxrwxrwx 1 vmail vmail   17 Feb  5 13:26 dovecot.sieve -> managesieve.sieve
-rw------- 1 vmail vmail 6593 Feb  8 15:34 dovecot.svbin
-rw------- 1 vmail vmail 6983 Feb  5 14:57 managesieve.sieve
drwx------ 2 vmail vmail 4096 Feb  9 10:16 tmp

The tmp direcory is empty.

I can copy in the existing sieve text file to managesieve.sieve, create the symbolic link and the tmp directory, but how do I create the dovecot.svbin file?

Is the dovecot.svbin a sievec compiled file?

Do I need any options to sievec?

Thanks

Paul

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Migrating Sieve files into iRedMail structure - sievec compiled?

The good news is, you don't need to create "dovecot.svbin" file. Dovecot will compile "dovecot.sive" (either plain text file or a symbol link to other file) automatically (when it delivers email).

3

Re: Migrating Sieve files into iRedMail structure - sievec compiled?

Thanks - all ready for the migration now.