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.
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
Re: Howto: set up a mail server in Ubuntu
FYI, its TLS (Transport Layer Security), not TSL :)
Re: Howto: set up a mail server in Ubuntu
Thanks. :) cant spell in any language
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
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
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.
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? :-k
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
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?