mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 08:45:54 +03:00
[GH-ISSUE #116] Homedir seems to be corrupted in database #93
Labels
No labels
bug
feature
feature
improvement
improvement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ViMbAdmin-opensolutions#93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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