postfix integration
| Project: | Hosting |
| Version: | 5.x-0.1-beta1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | markfoodyburton |
| Status: | active |
This is a first go at postfix integration.
It will be worked on, and is only here as proof of concept.
Dont install it, use it, or blame anybody for the terrible mess it causes ;-)
For me, I use this module by installing it under 'hosting' - enabling it, and then 'checking' the boxes on hosted sites for 'enabling email' and (if you wish) enabling a catch all (which sets things up to send all email to the site owner).
There are also files in here (*.cf) which need to be copied into /etc/postfix/... You should set up a mysql user with read permissions on your hostmaster sites database, and put the credentials into these files....
You should then enable them with command lines like:
postconf -e virtual_mailbox_domains=mysql:/etc/postfix/hosting_virtual_domains.cf
postconf -e virtual_alias_maps=mysql:/etc/postfix/hosting_virtual_alias_maps.cfToDo
Add virtual mailboxes, and the ability to set them up and control them from the hostmaster.
| Attachment | Size |
|---|---|
| postfix.tgz | 2.18 KB |

#1
The new version adds per user quota etc - and enables drupal users to have an email account.
However, you are advised not to let anybody add accounts!
right now, if a users email address matches on of those domains hosted, they will be given an account!
The INSTALL file has some hints, but you should install dovecot and postfix yourself.
This has been tested on a Fedora 9 machine
Good luck, and feedback welcome
Cheers
Mark.
#2
Found some (big) bugs, basically, only site aliases were working, not actual site names
#3
subscribing
#4
I've never used this, but there is the Mailfix module. Maybe you can reuse code or integrate that.