Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Need help setting up a email server.

  1. #1
    Join Date
    Nov 2007
    Location
    Coldwater, OH
    Beans
    551
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Need help setting up a email server (solved)

    Hi Guys
    I am just wondering if anybody could help me setup a email server. what I am looking to do is use webmail with mysql with virtual hosted domain name.
    Last edited by kustomjs; May 9th, 2009 at 07:07 AM. Reason: needed to put solved.

  2. #2
    Join Date
    May 2007
    Location
    Phoenix, Arizona USA
    Beans
    2,909
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Need help setting up a email server.

    Well if it were me, I would use something like Zimbra or Citadel instead of building your mail server from scratch. To build a full mail server, you would need at least postfix, dovecot or Courier Imap, maybe MySQL for the back end, Spamassassin, ClamAV, etc. These packages have all that stuff already integrated in one package.

    Here are some useful links:

    http://wiki.zimbra.com/index.php?tit..._Install_Guide

    http://www.howtoforge.com/installing...uite_on_ubuntu

    http://postfixmail.com/blog/?p=345

    http://www.citadel.org/doku.php/installation:start

    -Tim
    www.pcchopshop.net

    Hard to find and obsolete PC and server parts. "If we can't find it, it probably doesn't exist"

  3. #3

    Re: Need help setting up a email server.

    Here is a great article to get you started with Postfix and Courier with a MySQL backend

    http://www.howtoforge.com/virtual-us...ail-ubuntu8.10


    I've been running a similar setup for a number of years without any problems. Its a lot less resource hungry than Zimbra too, not that Zimbra isn't a great product.

    Running through this tutorial would be an excellent learning experience. If you poke around the HowtoForge site, you'll come across a plethora of additional articles detailing Postfix virtual hosting with various combinations of Courier, Dovecot, LDAP, MySQL, SpamAssassin, ClamAV, Squirrel, Horde, Roundcube and DKIM/DK-Milter.

    Have fun! Let me know if you have any problems or questions.

  4. #4
    Join Date
    May 2009
    Location
    Glendora, CA
    Beans
    3
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Need help setting up a email server.

    I have ran through the process of setting up virtual mailboxes with Postfix/Dovecot

    https://help.ubuntu.com/community/Po...xClamSmtpHowto

    and it worked like a charm. However I needed some help refining a shell script I made that incorporates the commands to add users and restarting dovecot.

    Here's my shell:
    HTML Code:
    #!/bin/bash
    clear
    echo "enter email address:"
    read fname
    adddovecotuser $fname;
    echo "enter email password:"
    read upass
    mkdovecotpasswd $fname $upass;
    /etc/init.d/dovecot restart;
    chmod 755 -R /home/vmail;
    chown -R vmail:vmail /home/vmail;
    exit
    The problem I have is that when users are added the accounts are not readable by default so the above shell makes them readable so they can be used.

    What I would like is to make this script process a command and halt if there is an error. Currently it just keeps going until the script has ran it's course. Can anyone help?

    Thanks again

  5. #5
    Join Date
    Nov 2007
    Location
    Coldwater, OH
    Beans
    551
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Need help setting up a email server.

    I tried to setup citadel and I cant even login to the web gui to it.


    Quote Originally Posted by windependence View Post
    Well if it were me, I would use something like Zimbra or Citadel instead of building your mail server from scratch. To build a full mail server, you would need at least postfix, dovecot or Courier Imap, maybe MySQL for the back end, Spamassassin, ClamAV, etc. These packages have all that stuff already integrated in one package.

    Here are some useful links:

    http://wiki.zimbra.com/index.php?tit..._Install_Guide

    http://www.howtoforge.com/installing...uite_on_ubuntu

    http://postfixmail.com/blog/?p=345

    http://www.citadel.org/doku.php/installation:start

    -Tim

  6. #6
    Join Date
    May 2007
    Location
    Phoenix, Arizona USA
    Beans
    2,909
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Need help setting up a email server.

    What address are you using to access it? Are you trying to access it locally or remotely?

    -Tim
    www.pcchopshop.net

    Hard to find and obsolete PC and server parts. "If we can't find it, it probably doesn't exist"

  7. #7
    Join Date
    Nov 2007
    Location
    Coldwater, OH
    Beans
    551
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Need help setting up a email server.

    well I am trying to access it by my internal ip address.

  8. #8
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,790

    Re: Need help setting up a email server.

    Well, since you are use virtualization already, just download the Citadel VM and be on your way in a few minutes. It is pre-installed with everything including RBLs, SpamAssassin and ClamAV:
    http://www.citadel.org/doku.php/installation:appliance

  9. #9
    Join Date
    Nov 2007
    Location
    Coldwater, OH
    Beans
    551
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Need help setting up a email server.

    I dont have a virtual server on my server I am using virtual hosting. what I am going to do is im going try that how to guide on howtoforge. then Citadel will be my last option.

  10. #10
    Join Date
    Aug 2005
    Location
    Herts, UK
    Beans
    55
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Need help setting up a email server.

    See here if you're running 9.04:

    http://packages.ubuntu.com/uk/jaunty/dovecot-postfix

Page 1 of 2 12 LastLast

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
  •