Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am not Linux pro, and after days of trying with tutorials how to set up postfix or other e-mail server I am try to find solution here.

In your office we have HP Proliant server with Ubuntu server 12.10. I installed configured, the mysql, apache2, php5, vnc, ssh, to provide webhosting for our clients (we do not provide DNS service). I tested it on multiple domains and subdomains everything is fine. Now I want to set up email server for our domain and for any other domain pointing to our ip adress. So if we create website for you client, we provide him and domain example.com with webhosting and also we want to provide him a email addresses like [email protected].

I red some tutorials with postfix + mysql for vitual users but lot of config files are in other location or main file is including others. So I cant find lot of things in included files and main file that tutorials is described. (They seems to be outdated)

Can somebody provide me step by step instructions or ebook how to set up mailserver? From apt-get install to fetch messages with email client.

in short:

  1. not virtualized

  2. we do not provide dns service (We are using A record on domains)

  3. test domain is from http://dot.tk (soft-tech-srv.tk) using Dot.TK Free DNS service

  4. System is Ubuntu server 12.10 amd64, with Xfcedesktop and SSH + VNC access

  5. MySQL, Apache2, PHP5, FTP installed and configured

  6. full email service is needed.

Thanks.

share|improve this question
    
Are you planning on running your web services and email on the same Ubuntu server? If so I would advise against it. If you have a spare server to dedicate to your email service then I would recommend using Zimbra - zimbra.com/downloads/os-downloads.html . You can also make use of Exim - help.ubuntu.com/community/Exim4 –  kingmilo Mar 4 '13 at 10:24
    
thank yout, i will try zimbra, now i am trying with iredmail.org –  Erik Kubica Mar 4 '13 at 10:30
2  
I would recommend reading the excellent Postfix documentation, especially the Virtual Domain Hosting HOWTO. From my point of view giving a complete tutorial is way too much. Because there are lots of special cases, pitfalls etc. It would be better if you try to set it up and ask specific questions which come up during the process. –  qbi Mar 6 '13 at 12:03

2 Answers 2

up vote 1 down vote accepted

The tutorial on www.howtoforge.com works perfectly to install postfix with courier and mysql for your situation using virtual users (so you don't need to open a Linux account for every mail user).

The config files used are on the default places if you install with apt-get. It is long but basically it installs everything using apt-get, build the mysql queries to manage virtual users and mails (6 simple queries if remember well) and configure postfix main and master config files. You also install squirrelmail as webmail software.

share|improve this answer
    
howtoforge tutorial not worked for me :-( postfix is not listening on 25, on restart or start i get warnings: unused parameters in main.cf and master.cf... can connect form telnet but not welcome message and cant use quit command, also port 25 seems to be blocked by isp. –  Erik Kubica Mar 5 '13 at 8:17
    
You should change postfix master.cf to listen on 587 (subscription port) which is the recomended now (25 is blocked in most ISP and mail servers). The unused parameters warning is no problem, postfix works without problem with these warnings. They are issued due to a postfix bug I think. –  laurent Mar 5 '13 at 12:02
    
sorry for late reply it worked :-) we asked isp to unblock the 25 port. –  Erik Kubica Apr 14 at 22:45

Here full details are gives.

https://help.ubuntu.com/community/PostfixCompleteVirtualMailSystemHowto

It include, multi-domain, email server configuration, database configuration.

Follow step by step and install full multi-domain enabled email server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.