CentOS 5 Virtual Mail Toaster Howto

Posted on November 29th, 2007 in General,Linux System Administration,Mail by Brandon

I have recently configured several CentOS virtual mail servers.  It took me quite a while to figure it out the first time or two, but has gotten significantly easier since then. Initially, I pieced information together from a half-dozen or so various other howto’s that were either designed for a different distro, or were outdated (or both).

So when I put together another server last night, I made careful notes when installing it and generated a howto document.   It walks a user all the way from a clean CentOS 5 install, through to a functioning virtual mail server.  It uses postfixadmin as a web interface for managing the domains and accounts.  All domain and user information is stored in a MySQL database.   Postfix is installed for the MTA, and Dovecot for the POP3/IMAP server.    It doesn’t require system accounts for any of the users.  All mail services are accessible over encrypted SSL/TLS protocols.

2 Responses to 'CentOS 5 Virtual Mail Toaster Howto'

Subscribe to comments with RSS or TrackBack to 'CentOS 5 Virtual Mail Toaster Howto'.

  1. Christoph said,

    on September 24th, 2008 at 4:15 pm

    Helllo,
    i like this solution because there must not so much default settings be changed. Also the spamassassin integration doesn’t require a special configuration. But until now I found no solution to drop a as spam marked mail to /dev/null. (I think procmail is not used and creating a procmailrc does not change anything) Is there a way?
    Greetings Chris

  2. Brandon said,

    on September 25th, 2008 at 9:57 am

    @Chris:

    Procmail should work for that, but you would have to change postfix to use procmail for delivery instead of delivering it directly to the inbox itself. I’ve not done that before, so not sure what all is involved in setting it up. Check out HowToForge which usually has pretty good resources.

Post a comment

Please copy the string wCdtWW to the field below: