| 1 |
MailServer
|
| 2 |
==========
|
| 3 |
|
| 4 |
MailServer is a Drupal module that automatically creates, updates and removes
|
| 5 |
e-mail accounts for users with an e-mail domain that the module is configured
|
| 6 |
to manage.
|
| 7 |
|
| 8 |
The e-mail accounts must be on a mail server with Postfix and MySQL
|
| 9 |
authentication as described in Christoph Haas' HOWTO: "ISP-style Email Server
|
| 10 |
with Debian-Etch and Postfix" at http://workaround.org/articles/ispmail-etch/.
|
| 11 |
The HOWTO is written for Debian Etch, but it can also be used for Ubuntu Gutsy
|
| 12 |
Gibbon.
|
| 13 |
|
| 14 |
IMPORTANT: On installation, the module creates the three tables mentioned in
|
| 15 |
the HOWTO. The tables are located in Drupal's database. You must therefore
|
| 16 |
replace 'mailserver' in the HOWTO with the name of your Drupal database. The
|
| 17 |
tables are also prefixed with the modules name, according to Drupal's naming
|
| 18 |
convention. You must therefore add the prefix 'mailserver_' to the table names
|
| 19 |
in the HOWTO:
|
| 20 |
|
| 21 |
HOWTO table name -> Drupal database table name
|
| 22 |
----------------------------------------------
|
| 23 |
virtual_domains -> mailserver_virtual_domains
|
| 24 |
virtual_users -> mailserver_virtual_users
|
| 25 |
virtual_aliases -> mailserver_virtual_aliases
|
| 26 |
|
| 27 |
|
| 28 |
Technical explanation of the module
|
| 29 |
-----------------------------------
|
| 30 |
|
| 31 |
For those who have read the HOWTO, here is a technical explanation of what the
|
| 32 |
module does in relation to the three tables.
|
| 33 |
|
| 34 |
The module allows privileged users to add and remove domains to the
|
| 35 |
mailserver_virtual_domains table from within Drupal. When adding or removing a
|
| 36 |
domain from the list of the domains managed by the module, all users with that
|
| 37 |
domain in their e-mail address, are inserted or deleted, respectively, from the
|
| 38 |
mailserver_virtual_users table. When a user is added or deleted in Drupal, or a
|
| 39 |
user changes his password, the module updates the mailserver_virtual_users
|
| 40 |
table accordingly. All this is done completely transparent to the user; and the
|
| 41 |
only configuration needed is to list the domains to be managed.
|
| 42 |
|
| 43 |
|
| 44 |
Plans
|
| 45 |
-----
|
| 46 |
|
| 47 |
Currently, the module doesn't support e-mail aliases, but that will come in a
|
| 48 |
future version, as well as other e-mail related options. The plan is to make
|
| 49 |
this module to a complete mail server control panel within Drupal.
|
| 50 |
|
| 51 |
|
| 52 |
Author
|
| 53 |
------
|
| 54 |
|
| 55 |
The module was developed by Thomas Barregren <http://drupal.org/user/16678>.
|
| 56 |
The author can be contacted for paid customizations of this module as well as
|
| 57 |
Drupal consulting, installation, development, and customizations.
|
| 58 |
|
| 59 |
|
| 60 |
Sponsors
|
| 61 |
--------
|
| 62 |
|
| 63 |
The development of this module has been sponsored by
|
| 64 |
|
| 65 |
* Norrlandsflyg <http://www.norrlandsflyg.se/>
|
| 66 |
* Webbredaktören <http://www.webbredaktoren.se/>
|
| 67 |
|
| 68 |
|
| 69 |
License
|
| 70 |
-------
|
| 71 |
|
| 72 |
MailServer. Copyright © 2008 Thomas Barregren.
|
| 73 |
|
| 74 |
RelatedContent is free software; you can redistribute it and/or modify it under
|
| 75 |
the terms of the GNU General Public License as published by the Free Software
|
| 76 |
Foundation; either version 2 of the License, or (at your option) any later
|
| 77 |
version.
|
| 78 |
|
| 79 |
RelatedContent is distributed in the hope that it will be useful, but WITHOUT
|
| 80 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
| 81 |
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
| 82 |
|
| 83 |
You should have received a copy of the GNU General Public License along with
|
| 84 |
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
|
| 85 |
Street, Fifth Floor, Boston, MA 02110-1301, USA.
|