Qmail install and set up on Debian

I am looking to install and setup Qmail on a Debian machine. I would like to also install some type of webmail interface, virus scanning, admin options, spamassasin, etc. I guess a complete email system. I currently have Debian installed and configured. I had previously looked into using postfix but have read that the qmail is more secure. I would like intuitive and informative way to install these packages. Which ones need to be downloaded with aptituded, or downloaded via wget. Ways to secure my email server (if necessary) and best practices. Links are nice, but often are vague and seldom address all installation needs.

What you are trying do is make a fairly complex system. As a result, there is a lot of information and steps to do what you require. All of the above links have been selected as the most appropriate and detailed to help you achieve this.

I have looking into Postfix and it seems a much better solution than SendMail (as far as ease of install and configuration) QMail seemed to pop up everywhere on this site as a option for email other than PostFix. I have also looked into postfix and seemed like a nice solution. I just want to install something once, that works, is free, secure, and is realatively easy to install and maintain. If postfix is the solution, please let me know. I know the other interfaces will also plug into postfix, just not sure how. Guess topic should have been great email server, and how to configure...

Qmail is better documented, and I believe has a wider 'mainstream' use - hence better community support than postfix. Yahoo springs to mind, 1and1, and indeed many ISPs include Qmail. I don't knwo for certain, but I'd guess from my experience that Qmail is the second most common MTA after sendmail.

the author qmail and some of the tools like ucspi-tcp does not allow binary distribution, so you cannot apt-get the binary for Debian. However, the "proper" (it is not politically correct to use the word proper) or my preferred way to install qmail on Debian is getting the qmail-src and ucspi-tcp-src then build it. The steps are outlined here:

If you just need a secure email, i will suggest qmailrocks setup. qmail and postfix are almost equal.

qmail setup, you can do in different way, you will see several guides, which use different startup scripts and patches. I found following qmailrocks instruction easy, you get fully featured email server.

Postfix, you will not find such an easy to follow guide as qmailrocks for a complete email server setup with web mail, antispam, antivirus. With postfix, you can avoid the patching step, but this is not difficult with qmailrocks guide as they make it easy with simple shell scripts.

Should my Debian server basically be set up as a LAMP server in order to use some of the qmail utilities? Also, I currently have a email server running for two domains. Both locations use the web interface to access their email, one is local to the email server the other users are at another location. I was looking at trying to make this transition as easy as possible. What is the best way to go about this? Forwarding?

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

>Should my Debian server basically be set up as a LAMP server in order to use some of the qmail utilities?

Doesn't need to be, but Apache and php are required if you use squirrel mail. The mySQL element is required for some of the squirrelmail 'extras'. As a result, a basic LAMP configuration to start with will make things easier for you.

>Also, I currently have a email server running for two domains.

QMail can cope with this.

>I also notice that there are some perl modules that need to be added.

Try uncommenting them - The most used Perl modules are normally installed by default. If a problem becomes highlighted, then we can deal with that when it occurs.

> Should my Debian server basically be set up as a LAMP server in order to use some of the qmail utilities?
If you want to run webmail, generally yes. Not all webmail packages uses PHP, some are using Perl/CGI. But generally speaking, you need Apache and php. Not so much with MySQL.

> What is the best way to go about this?
Install your qmail, test the installation. Put the Webmail for both websites on your new qmail server. Change your MX record and then redirect both the websites to your new webmail.

>I also notice that there are some perl modules that need to be added.
It really depends on what are you installing. If you could tell what are the perl modules being added, the experts here should be able to tell you why or why not they are needed.

So, now I am into the qmailrocks install. I am at a point where it's asking me for the location of my cgi-bin and html folders. I think I found the cgi-bin under /usr/lib/cgi-bin but am not sure on the html folder. Seems everything is installing as planned. (easiest so far)

The Folders, You can use any two folders, but you need to configure it in your httpd.conf (Apache configuration file). If you have no idea, just use

/var/www/html and /var/www/cgi-bin

Leter, we need this configured.

This is for vqadmin and QmailAdmin, but these are not important, you can even avoid installing these if you don't need to manage domains through web. You can always add domains and email with command line.

OK, at this point I am configuring the apache2.conf file (per the qmailrocks documentation)

1st: The documentation states: In addition, within the Apache master config file you will want to set the "AllowOveride" option to "All". Example: AllowOverride All"

I'm not sure what exactly this means, but seems this needs to be configured in order for the htaccess to be read by Apache2. So, does this directive need to be added, or an existing one modified? Currently there are two locations for this AllowOveride option and the second I just added.

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…