Page 1 of 7 123 ... LastLast
Results 1 to 10 of 155

Thread: Howto: set up a mail server in Ubuntu

Hybrid View

  1. #1
    Join Date
    Apr 2005
    Location
    Oslo
    Beans
    121

    Lightbulb Howto: set up a mail server in Ubuntu

    The how to set up a mail server on a GNU / Linux system guide has been upgraded to breezy from hoary.

    It is a complete step by step guide to install, configure and run these packages:
    Ubuntu + Postfix + Courier IMAP + MySQL + Amavisd-new + SpamAssassin + ClamAV + SASL + TLS + SquirrelMail+Postgrey

    Please discuss in this thread any issues or comments regarding this, the 4th edition.

    Specifically the SASL section might need testing, as some of the packages has changed since hoary.

    Edition 3, the hoary version, is discussed in this thread . Some issues might have already been discussed in that thread.
    Cheers,
    Ivar (flurdy.com)

  2. #2
    Join Date
    Aug 2005
    Location
    Burlington Ontario
    Beans
    60
    Distro
    Edubuntu 6.10 Edgy

    Cool Re: Howto: set up a mail server in Ubuntu



    Thanks I have my mail server running with breezy.

    php4-pear
    php4-cli

    Missing from document as required installs. I did go back to 3rd addition to locate them.

    Thanks

  3. #3
    Join Date
    Apr 2005
    Location
    Oslo
    Beans
    121

    Re: Howto: set up a mail server in Ubuntu

    Updated the SASL packages so it works perfectly in breezy
    Last edited by flurdy; December 13th, 2005 at 05:10 PM.
    Cheers,
    Ivar (flurdy.com)

  4. #4
    Join Date
    Jan 2005
    Location
    Karlsruhe
    Beans
    201
    Distro
    Ubuntu 6.06

    Re: Howto: set up a mail server in Ubuntu

    Great - as I am about to set up exactly this thing, I guess, it will save many hours of doc-reading and google.
    Thanx.

  5. #5
    Join Date
    Dec 2005
    Beans
    5
    Distro
    Ubuntu 6.10 Edgy

    Re: Howto: set up a mail server in Ubuntu

    flurdy, this all seems pretty cool and all, but I can't set up the shorewall, there's only a shorewall.conf inside the directory, I dunno if I missed something (can't start up the firewall because it says no zones are defined)

  6. #6
    Join Date
    Apr 2005
    Location
    Oslo
    Beans
    121

    Re: Howto: set up a mail server in Ubuntu

    see the os section of the configure bit
    Cheers,
    Ivar (flurdy.com)

  7. #7
    Join Date
    Dec 2005
    Location
    Milwaukee, Wisconsin
    Beans
    1
    Distro
    Ubuntu Breezy 5.10

    Re: Howto: set up a mail server in Ubuntu

    Great Howto!!!

    I have set this up on my server, however I had hit a small snag. Postfix as of 2.2 I believe, has TLS support built in. However according to Postfix's website, it is turned off by default. Therefore there is no Postfix-tls package in any of the breezy badger repositories. (This sent me for a loop untill I found out it's built in now)

  8. #8
    Join Date
    Dec 2005
    Beans
    4

    Re: Howto: set up a mail server in Ubuntu

    Flurdy, thanks for the great HOWTO.

    I started with a fresh Ubuntu install and worked my way through your setup from top to bottom but I've run into a small snag. While testing in a telnet session I get an access denied error in mysql.info immediately after closing the data field of the email. Postfix@localhost.localdomain is trying to connect instead of the mail user I setup in sql and in all of the postfix_*.conf files. This test is with all content filtering turned off. If I turn the filtering on, I get a different error (Can't connect to 127.0.0.1 port 10025, Connection refused at /usr/sbin/amavisd-new line 2912, <GEN9> line 34.) but in exactly the same spot.

    What have I buggered up?

  9. #9
    Join Date
    Apr 2005
    Location
    Oslo
    Beans
    121

    Re: Howto: set up a mail server in Ubuntu

    Quote Originally Posted by rabid
    Flurdy, thanks for the great HOWTO.

    I started with a fresh Ubuntu install and worked my way through your setup from top to bottom but I've run into a small snag. While testing in a telnet session I get an access denied error in mysql.info immediately after closing the data field of the email. Postfix@localhost.localdomain is trying to connect instead of the mail user I setup in sql and in all of the postfix_*.conf files. This test is with all content filtering turned off. If I turn the filtering on, I get a different error (Can't connect to 127.0.0.1 port 10025, Connection refused at /usr/sbin/amavisd-new line 2912, <GEN9> line 34.) but in exactly the same spot.

    What have I buggered up?
    by postfix_*.conf i presume you are using a different naming convention than from the howto. are there other lines in your set up that could be using mysql?

    could you post the relevant lines in main.conf and the mysql cf files (without the pw offcourse)?

    as for the amavis errors, have you specified it correctly in the master.cf?
    Cheers,
    Ivar (flurdy.com)

  10. #10
    Join Date
    Dec 2005
    Beans
    4

    Re: Howto: set up a mail server in Ubuntu

    My bad...had postfix on the brain. postfix_*.conf = mysql_*.cf. I did however get the original problem worked out. I had a spelling error in mysql_mailbox.cf. userr=mail. I'm gussing this caused it to default to postfix@localhost for a user. Still getting the Amavis error, but I'll keep troubleshooting that and post again if I can't get anywhere.

    Thanks for making me look at my .cf files one last time. I didn't notice the error until I was pasting it into this message.

    -rabid

Page 1 of 7 123 ... 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
  •