| Linode Forum https://forum.linode.com/ |
|
| Setting up a mailserver - where to start & problems https://forum.linode.com/viewtopic.php?f=11&t=9650 |
Page 1 of 1 |
| Author: | pannix [ Sat Dec 22, 2012 3:06 pm ] |
| Post subject: | Setting up a mailserver - where to start & problems |
I have a LEMP running for over a year without many problems, but I seem to be unable to install a mailserver. I have a 2nd Linode 512, I installed Ubuntu 12.10, I used the getting started guide on Linode, ssh is set up, the status of the firewall (ufw)is: Code: To Action From First I used the documentation on Linode: http://library.linode.com/email/postfix/dovecot-mysql-ubuntu-10.04-lucid, but this guide is apparently outdated. Can't remember which variables exactly, but some of them were no longer in use. Tried to replace them, but ended up with FUBAR situation. Second howto I tried was this one http://www.pixelinx.com/2010/10/creating-a-mail-server-on-ubuntu-using-postfix-courier-ssltls-spamassassin-clamav-and-amavis/. Followed the manual, but in the end it didn't work. I tried with telnet, restarting services, ... Nada. And no logs. Nothing in mysql.log, mail.log, ... Third howto I tried was this one: http://flurdy.com/docs/postfix/. Everytime I started from scratch with new server. After the basic mailserver setup I wanted to test it. Telnet doesn't respond, no log files, .. It's like no daemon logs. Only lastlog and wtmp. And yes debugging and logging is on. I figured out how to install a LEMP by RTFM, trial & error, and asking, but this is my 5th attempt in trying to install a mailserver in a year and nothing works and I have no idea what I am doing wrong (or right). If you could point me to a step-by-step guide which explains what every step means that would be fine. PS: I need to upgrade my LEMP server and thought to install new one, add mailserver and move sites and then use old Linode512 to try out LAMP, ... Before I started with the mailserver I already noticed that logwatch send almost empty reports. Fail2ban logs remained empty. When Munin didn't display any graphs either I knew something was wrong, but I have no idea what. I installed my new Ubuntu 12.10 LEMP server using my notes (very brief) for my current LEMP server (Ubuntu 11.10). Is 12.10 very different from 11.10? Something wrong with Linode image? PPS: I want to install a mailserver for the fun of it (I admit, I am not having fun right now) and because Google decided to start charging for new Apps accounts. |
|
| Author: | derfy [ Sat Dec 22, 2012 3:10 pm ] |
| Post subject: | Re: Setting up a mailserver - where to start & problems |
This may help some. |
|
| Author: | pannix [ Sun Dec 23, 2012 4:17 am ] |
| Post subject: | Re: Setting up a mailserver - where to start & problems |
Thanx, gonna give it a try with 12.04 LTS and report back. |
|
| Author: | petarpetrovic [ Sun Dec 23, 2012 8:57 am ] |
| Post subject: | Re: Setting up a mailserver - where to start & problems |
This is by far the best tutorial for setting up a mail server on Ubuntu 12.04, but it will work in 12.10, too. Tried it myself on 12.10 and it works. You will probably want to ignore the first part where it sets up a LAMP server, but the rest will be of a tremendous use. If you get stuck somewhere, just ask here. The problem with Linode's 10.04 guide is that it uses Dovecot 1.x which is not present in 12.10/12.04, there's v2.0, and it has a little bit different syntax than 1.x. |
|
| Author: | pannix [ Tue Dec 25, 2012 8:45 am ] |
| Post subject: | Re: Setting up a mailserver - where to start & problems |
I've decided to follow derfy's suggestion first. I did ran into some problems but have asked the question in the original thread http://forum.linode.com/viewtopic.php?f=11&t=9047. |
|
| Author: | derfy [ Sat Jan 05, 2013 2:08 am ] |
| Post subject: | Re: Setting up a mailserver - where to start & problems |
I went with petar's link and it worked great. Restored a backup to a new linode, did the upgrade there, modified the config files as needed, and swapped the ips. All set. |
|
| Author: | pannix [ Sat Jan 05, 2013 4:04 am ] |
| Post subject: | Re: Setting up a mailserver - where to start & problems |
Do you have a LAMP or LEMP? |
|
| Author: | derfy [ Sat Jan 05, 2013 6:50 am ] |
| Post subject: | Re: Setting up a mailserver - where to start & problems |
LAMP. |
|
| Author: | pannix [ Sat Jan 05, 2013 6:57 am ] |
| Post subject: | Re: Setting up a mailserver - where to start & problems |
I want to use a LEMP, but maybe I should follow that howto to the letter in order to understand how to set up a mail-server and later try to apply it to a LEMP. Interesting times ahead. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|