1

Topic: iRedMail Roundcube accounts datas place

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version:  CentOS Linux release 7.3.1611 (Core)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi.
I'm migrating an old qmail system, into iredmail 0.9.6 with iredadmin pro 2.6.0.
Migrating domains/accounts/aliases are done. The last thing is to migrate roundcube preferences/informations.

The question is: where are the informations from Vacation and Filter options stored in iredmail roundcube?
I've check rc mysql database, but there is no such datas.

Can you help me?
Best regards.

----

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

2

Re: iRedMail Roundcube accounts datas place

lmatys wrote:

The question is: where are the informations from Vacation and Filter options stored in iredmail roundcube?

Vacation and filters are sieve rules. It's stored in file "dovecot.sieve" in directory like this:

/var/vmail/vmail1/<domain.com>/u/s/e/username-<timestamp>/sieve/dovecot.sieve

3

Re: iRedMail Roundcube accounts datas place

ZhangHuangbin wrote:
lmatys wrote:

The question is: where are the informations from Vacation and Filter options stored in iredmail roundcube?

Vacation and filters are sieve rules. It's stored in file "dovecot.sieve" in directory like this:

/var/vmail/vmail1/<domain.com>/u/s/e/username-<timestamp>/sieve/dovecot.sieve


Hi.
Is it the ONLY place the rules are stored in for particular user?

I'm asking to not ommit something.
Regards.

4

Re: iRedMail Roundcube accounts datas place

lmatys wrote:

Is it the ONLY place the rules are stored in for particular user?

YES.

5

Re: iRedMail Roundcube accounts datas place

ZhangHuangbin wrote:
lmatys wrote:

Is it the ONLY place the rules are stored in for particular user?

YES.

One more thing.
After enabling vacations, I can observe more files in the account directory, for example:

lrwxrwxrwx 1 vmail vmail  17 05-14 16:19 dovecot.sieve -> managesieve.sieve
-rw------- 1 vmail vmail 402 05-25 22:40 dovecot.svbin
-rw------- 1 vmail vmail 201 05-25 22:44 managesieve.sieve
drwx------ 2 vmail vmail   6 05-25 22:44 tmp

Do I have to create each of them to make it working, or the only dovecot.sieve is needed, and other files become created automatically while using this features?

Regards.

6

Re: iRedMail Roundcube accounts datas place

*) File (or symbol link) dovecot.sieve must exist.
*) Webmail or other MUA usually create their own sieve rules, then link to "dovecot.sieve".
*) "dovecot.svbin" will be generated by Dovecot automatically while compiling "dovecot.sieve".

7

Re: iRedMail Roundcube accounts datas place

ZhangHuangbin wrote:

*) File (or symbol link) dovecot.sieve must exist.
*) Webmail or other MUA usually create their own sieve rules, then link to "dovecot.sieve".
*) "dovecot.svbin" will be generated by Dovecot automatically while compiling "dovecot.sieve".

Hi.
What do you mean by 'compiling'?
What do I have to do, after putting needed files into directory? Do I have to run some process?
What about the 'tmp' file?

Regards.

8

Re: iRedMail Roundcube accounts datas place

lmatys wrote:

What do you mean by 'compiling'?
What do I have to do, after putting needed files into directory? Do I have to run some process?
What about the 'tmp' file?

"dovecot.sieve" will be compiled to 'dovecot.svbin' by Dovecot automatically.
You just copy the sieve file, and Dovecot will do the rest.

9

Re: iRedMail Roundcube accounts datas place

ZhangHuangbin wrote:
lmatys wrote:

What do you mean by 'compiling'?
What do I have to do, after putting needed files into directory? Do I have to run some process?
What about the 'tmp' file?

"dovecot.sieve" will be compiled to 'dovecot.svbin' by Dovecot automatically.
You just copy the sieve file, and Dovecot will do the rest.

Thanks!.
Regards.