Results 1 to 4 of 4

Thread: Which email server and how?

  1. #1
    Join Date
    Nov 2007
    Beans
    10

    Question Which email server and how?

    Hi, I'm hosting simple websites (and DNS) for a long list of domains.

    I want to allow a user to configure email forwarding for their domain from a custom PHP web page. E.g.

    *@blah.com -> blah@gmail.com

    It would be very easy to program if I could have this all in one config file that the email server used:

    *@blah.com -> blah@gmail.com
    *@foo.org -> foo@hotmail.com
    *@bar.net -> bar.net@fastmail.fm
    (everything else -> trash)

    I won't host any IMAP/POP/SMTP for email clients. It's forwarding only, and no local users.

    Each website has a email distribution list, but this isn't related.

    What is the simplest possible setup you would recommend? Postfix and exim4 seemed like overkill.

    Am I missing something?

    Mike

  2. #2
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    7,807

    Re: Which email server and how?

    There is nothing simpler than this:
    http://untroubled.org/nullmailer/

  3. #3
    Join Date
    Nov 2008
    Beans
    91
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Which email server and how?

    +1 for nullmailer

  4. #4

    Re: Which email server and how?

    Hello,

    Configuring Postfix with a MySQL back-end is a fairly easy task. With may actually be your best options, especially when automation is considered. You will need to configure Postfix to look at a MySQL DB for the transport map (which again is pretty easy). Documentation for this type of setup is widely available.

    This will allow you to add/edit/delete your transport records through basic PHP/MySQL scripts.

    mysql_table - Postfix MySQL client configuration
    http://www.postfix.org/mysql_table.5.html

    Postfix and Courier Installation using MySQL
    http://linux.justinhartman.com/Postf...on_using_MySQL

    Just my 2 cents

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •