mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 00:36:00 +03:00
[GH-ISSUE #13] Create the Maildir when adding new mail account #11
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#11
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 @dexterd on GitHub (Mar 16, 2012).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/13
Can ViMbAdmin be modified like PostfixAdmin (http://www.howtoforge.com/virtual_users_postfix_courier_mailscanner_clamav_centos_p5) to be able to work with Maildrop?
@barryo commented on GitHub (Mar 20, 2012):
You can certainly hack ViMbAdmin to do something like this in almost the same way by adding code to
application/controllers/MailboxController.phpin the functioneditAction()(which is also for adding mailboxes).However, you really shouldn't. This would require ViMbAdmin to be installed on the same server as your POP3/IMAP daemon and would affect scalability. I would argue that this isn't really the job or ViMbAdmin (or PostfixAdmin for that matter).
ViMbAdmin already has the database structure to support what you want to do I believe (see
homedir,uid,gid,quotaandmaildirin themailboxschema).After that, it's really up to the LDA (local delivery agent) to pull and use these values when creating the maildir for the first time.
Dovecot (probably the best POP3 / IMAP client around these days) has taken leaps and bounds with it's own LDA called deliver. See the following links:
The last should be easily followed for ViMbAdmin rather than PostfixAdmin.
I'm going to make it my business to write a complete Postfix / Dovecot / LDA / ViMbAdmin how to over the next week.
@dexterd commented on GitHub (Apr 4, 2012):
Thanks! I solved it using maildroprc scripting.