Page 1 of 50 12311 ... LastLast
Results 1 to 10 of 499

Thread: Howto: set up a mail server in Ubuntu

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

    Post Howto: set up a mail server in Ubuntu

    A how to for a complete step by step guide to install, configure and run
    a mail server on a GNU / Linux system

    The server includes theses programs:
    Ubuntu + Postfix + Courier IMAP + MySQL + Amavisd-new + SpamAssassin + ClamAV + SASL + TLS + SquirrelMail + Postgrey

    flurdy.com/docs/postfix

    The how to is now beeing upgraded to support dapper since it was released today.
    It is extensive and widely used.

    You can use it as extension or alternative to the guides on the wiki, E.g.
    https://wiki.ubuntu.com/Postfix
    https://wiki.ubuntu.com/PostfixBasicSetupHowto
    https://wiki.ubuntu.com/PostfixVirtu...xClamSmtpHowto
    https://wiki.ubuntu.com/PostfixCompl...ailSystemHowto

    Please discuss in this thread any issues or comments regarding this, the 5th edition for dapper.

    Staff note: The following links are very old; please note that they may not apply to recent versions of Ubuntu.
    For other version please use these threadsL
    Breezy howto thread.
    Hoary howto thread.
    Last edited by jpeddicord; March 2nd, 2010 at 06:57 PM. Reason: added note
    Cheers,
    Ivar (flurdy.com)

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

    Re: Howto: set up a mail server in Ubuntu

    Forgot to include the url!
    first post edited to include it.

    http://flurdy.com/docs/postfix
    Cheers,
    Ivar (flurdy.com)

  3. #3
    Join Date
    Mar 2005
    Beans
    16

    Re: Howto: set up a mail server in Ubuntu

    FYI, its TLS (Transport Layer Security), not TSL

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

    Re: Howto: set up a mail server in Ubuntu

    Thanks. cant spell in any language
    Cheers,
    Ivar (flurdy.com)

  5. #5
    Join Date
    Apr 2006
    Location
    Belgium
    Beans
    49
    Distro
    Ubuntu 6.06

    Re: Howto: set up a mail server in Ubuntu

    woooah! can't wait to try this myself! Im on a laptop with dapper but my server at home, well server is a big word...call it a download pc is still running win2k but after the exams im planning to put dapper on it! looking forward to play around with the mail server thingy!

    thnx for the howto

  6. #6
    Join Date
    Jun 2006
    Beans
    1

    Re: Howto: set up a mail server in Ubuntu

    Hi,

    After following the guidelines set out in http://flurdy.com/docs/postfix I get an error saying "Invalid Zone Type: Local"

    Can anyone help me out as I can't seem to find the solution to the problem anywhere online?

    Cheers

  7. #7
    Join Date
    Apr 2006
    Beans
    1

    Re: Howto: set up a mail server in Ubuntu

    I am pretty far along in the guide, at the testing stage and i am having undeliverable mail. I am using postfix to smtp relay to an exchange server, i telnet into the device and am able to ehlo, mail from, rcpt to, and data, just fine and it queues up my mail message. But at the point watching the exchange server the email never nor does my system connect to the server with the email. i put my exchange server under relayhost in the main.cf and also changed 127.0.0.1 for mynetworks to my external ip's network.

    Any idea whats wrong or how to debug the postfix step by step.

  8. #8
    Join Date
    Jan 2006
    Beans
    18
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Howto: set up a mail server in Ubuntu

    can i use postfixadmin (http://high5.net/postfixadmin/) to manage my posfix if i use your howto?

  9. #9
    Join Date
    May 2006
    Beans
    3

    Re: Howto: set up a mail server in Ubuntu

    Can´t get to http://flurdy.com/docs/postfix .
    The page it is not viewable.

    Any other place to get this howto?

    THX

  10. #10
    Join Date
    Jun 2006
    Beans
    22

    Re: Howto: set up a mail server in Ubuntu

    SOLVED: I had an error in authmysqlrc .. now I just need to figure out how I can send mail to the outsideworld. If I send mail to an address in my domain it works fine.. but If I try and send mail to say my gmail account the server denies the relay request.

    sorry for teh double posting... didn't realize there was a dapper thread

    anways..

    ---
    I am running into a small problem. Whenever I try to auth to check mail the login fails. I have verified that the password that is being send and the password stored in the mysql database match, so I can't figure out why it is failing.

    However I have noticed the following in my logs
    Code:
    Jun 30 07:24:52 zues imaplogin: Connection, ip=[::ffff:xxx.xxx.xxx.xxx]
    Jun 30 07:24:52 zues imaplogin: LOGIN: DEBUG: ip=[::ffff:xxx.xxx.xxx.xxx], command=CAPABILITY
    Jun 30 07:24:53 zues imaplogin: LOGIN: DEBUG: ip=[::ffff:xxx.xxx.xxx.xxx], command=LOGIN
    Jun 30 07:24:53 zues imaplogin: LOGIN: DEBUG: ip=[::ffff:xxx.xxx.xxx.xxx], username=user@domain
    Jun 30 07:24:53 zues imaplogin: LOGIN: DEBUG: ip=[::ffff:xxx.xxx.xxx.xxx], password=cleartextpass
    Jun 30 07:24:53 zues imaplogin: authdaemon: starting client module
    Jun 30 07:24:53 zues imaplogin: authdaemon: TEMPFAIL - no more modules will be tried
    Jun 30 07:24:58 zues imaplogin: LOGIN FAILED, ip=[::ffff:xxx.xxx.xxx.xxx]
    stripped IP's and acutal domains/passwords/users.. any ideas what is wrong with my setup?
    Last edited by RShadow; June 30th, 2006 at 02:28 PM.

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