mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 00:36:00 +03:00
[GH-ISSUE #163] Seperate Mail and Web Server #129
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#129
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 @maugsburger on GitHub (Jan 30, 2016).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/163
It seems that ViMbAdmin currently needs the mail and web server to run on the same host, otherwhise setttings like
would make no sense.
In my setup, the web- and mail- and database-server are seperate hosts, so it is not possible to access the virtual mail directories from the web-server.
I know that this is currently needed for quotas, but is there any other reason why this would not work? Or should I just set home- and maildir to any (empty) folder and it should work fine?
@barryo commented on GitHub (Jan 30, 2016):
No, these can all be on different servers. But it does require some advanced experience of mail servers.
These settings are used only to populate their respective database columns in the mailbox table.
It's not needed for quotes. The LDA/IMAP daemon will take the quota value from the database and use it (store it) in the maildir in a way that's appropriate to each LDA/IMAP daemon. E.g. the
maildirsizefile often seen in the root of the maildir. The key here is that the LDA/IMAP daemons are configured correctly to slurp this info from the database.These can most definitely not be empty. They tell the LDA where to store email messages and IMAP (or POP3) where to find them. Let's use Dovecot as the example here as it's probably the better daemon these days. You'll see in this Dovecot configuration file how it is configured to fetch this information.
ViMbAdmin is really just a front end to the database. The SMTP, IMAP/POP3, SIEVE, LDA, etc daemons are configured independently to talk to the database, not ViMbAdmin.
Some (hopefully obvious) caveats:
@maugsburger commented on GitHub (Jan 30, 2016):
Okay, then I made the wrong conclusion. My setup is running like described, I just wanted to move from the dead openmailadmin to some more modern solution.
I probably got confused because currently I'm using a concat in the query, so the path is nowhere in the database.
Thanks for your quick reply anyway! Although, I still need to write some queries to migrate from the old to the new database layout and adjust exim/dovecot config.