[GH-ISSUE #116] Homedir seems to be corrupted in database #93

Closed
opened 2026-02-26 09:35:48 +03:00 by kerem · 0 comments
Owner

Originally created by @evasil on GitHub (Sep 9, 2014).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/116

I've found some problem in VimbAdmin. I've fixed it for myself, however other Vimbadmin users can still have problems with that.

Version: 2.2.4
OS: FreeBSD 10

I used installation via downloading archive from git, not by how-to instructions as it fails on my system (very slow speed when working with git)

The issue is related to vacation sieve rules in Dovecot+Postfix+VimbAdmin.

VimbAdmin functions create homedir exactly as indicated in applicaton.ini, not replacing variables by their values:

here is an example of my "mailbox" table:

mysql> select homedir,maildir from mailbox;
+-------------------+------------------------------------------------------------------+
| homedir | maildir |
+-------------------+------------------------------------------------------------------+
| /var/vmail/%d/%u/ | maildir:/var/vmail/my.domain.tld/username/mail:LAYOUT=fs |
+-------------------+------------------------------------------------------------------+

As you see: homedir is incorrectly placed with variables names, not values, while maildir is ok.

When people create vacation message using sieve (for example in Roundcube) they have an error when dovecot checks for lda dupes (to prevent sending vacation autoreply every time to the same sender):

Dovecot error looks like this:
Sep 8 17:32:22 hermes dovecot: lda(username@my.domain.tld): Error: file_dotlock_open(/var/vmail/%d/%u/.dovecot.lda-dupes) failed: No such file or directory

I've fixed this for myself by modifying Dovecot SQL template. But, once again, other users can face the problem still.

Thank you.

Elias Vasilenko

Originally created by @evasil on GitHub (Sep 9, 2014). Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/116 I've found some problem in VimbAdmin. I've fixed it for myself, however other Vimbadmin users can still have problems with that. Version: 2.2.4 OS: FreeBSD 10 I used installation via downloading archive from git, not by how-to instructions as it fails on my system (very slow speed when working with git) The issue is related to vacation sieve rules in Dovecot+Postfix+VimbAdmin. VimbAdmin functions create homedir exactly as indicated in applicaton.ini, not replacing variables by their values: here is an example of my "mailbox" table: mysql> select homedir,maildir from mailbox; +-------------------+------------------------------------------------------------------+ | homedir | maildir | +-------------------+------------------------------------------------------------------+ | /var/vmail/%d/%u/ | maildir:/var/vmail/my.domain.tld/username/mail:LAYOUT=fs | +-------------------+------------------------------------------------------------------+ As you see: homedir is incorrectly placed with variables names, not values, while maildir is ok. When people create vacation message using sieve (for example in Roundcube) they have an error when dovecot checks for lda dupes (to prevent sending vacation autoreply every time to the same sender): Dovecot error looks like this: Sep 8 17:32:22 hermes dovecot: lda(username@my.domain.tld): Error: file_dotlock_open(/var/vmail/%d/%u/.dovecot.lda-dupes) failed: No such file or directory I've fixed this for myself by modifying Dovecot SQL template. But, once again, other users can face the problem still. Thank you. Elias Vasilenko
kerem closed this issue 2026-02-26 09:35:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ViMbAdmin-opensolutions#93
No description provided.