On 24/03/2012 20:57, Paul Grenyer wrote:
Hi all
I want to create an email server so that I can send and receive email for a number of my domains. I've tried using postfix, but it's a pig to setup and it appears I need to have a user account on the server for every email address and I can't restrict one user to only one domain. e.g. if I create a user called paul and I have two domains, I get paul@domain1 and paul@domain2. Of course this could be my misunderstanding.
So, I would like recommendations for a mailserver to run on ubuntu. Ideally I'd like it to be:
- Easy to setup
- Not require a user to be created for each email address.
- Be able to create email addresses for individual domains
- Web interface
- Work with mailman
- Support pop/imap
- Support email forwarding.
Any suggestions?
Yes, for the MTA, I recommend postfix. It is a doddle to set-up, even easier to manage, and there's a ton of help out there if you care to look for it.
As previously suggested, virtual accounts in a mysql database are the way to go, easily managed by either of the postfix tools, or as we do here, phpmyadmin and bash scripts.
For the LTA and authentication, I recommend courier and IMAP (a requirement for webmail).
For web mail, I highly recommend roundcube which is immeasurably better than squirrelmail, and handles virtual domains very well, allowing one to use apache virtual hosting and per-domain branding to "hide" the back-end primary domain.
For auto-responders and forwarding, I recommend maildrop, which integrates with postfix and courier well, but postfix can manage that itself, and the mysql database back-end allows a great deal of flexibility as to where email goes.
If you need help, most of us here can do this stuff, and I work for beer vouchers!
Cheers, Laurie.