PROBLEM
I am trying to set up some accounts such as billing and support that can be accessed by other people via IMAP folders
ENVIRONMENT
- On-Premise Server + WebMail Installations: Version 6.0 > Current Version
- Webmail Only Installations: Version 6.0 > Current Version
CAUSE
Sharing users mail directory (maildir)
RESOLUTION
On the server-mode of Atmail you can share a users maildir directory with other users on the system.
As an example, this will allow you to setup the support@domain.com to be viewed as a folder on other users accounts, e.g james@domain.com
To enable you need to create a symbolic link , e.g
root # cd /usr/local/atmail/users/j/a/james@domain.com root # ln -s /usr/local/atmail/users/s/u/support@domain.com/ .Support |
You can repeat the process for another number of user-accounts to share a folder.
This will create the Support mailbox as a folder under the james@domain.com email-account. Via WebMail or an IMAP client, the user can view all messages in the support@domain.com mailbox.
Alternatively you can mask a single account to point to another maildir directory. This is useful if you want the james@domain.com account, to be masked directly to the support@domain.com mailbox ( without a symbolic link or alias )
To enable use the SQL query:
mysql> update Users set MailDir= '/usr/local/atmail/users/s/u/support@domain.com' where Account= 'james@domain.com' ; |
If the james@domain.com user logs in via WebMail, POP3 or IMAP, they will have direct access to the mailbox of support@domain.com
Comments