April 2007
Monthly Archive
This guide will show you how to setup an email server accessible using a POP3, IMAP or web browser client. It will also show you how to include virus scanning and spam tagging in the mail server. If you have an existing Active Directory or LDAP infrastructure, the last section will show you how to integrate it into your email server so you won’t have to maintain two sets of user accounts.
How to install Linux
You can use either Red Hat Enterprise Linux 5 or CentOS 5. RHEL 5 can be purchased from Red Hat and comes with support. CentOS 5 on the other hand can be downloaded here.
To simplify our administration tasks, log in as the user root and specify your root password. This is not the recommended way of administering a Linux box, but for the tasks at hand it is the most efficient way.
How to install SMTP, POP3, IMAP and Webmail service
Postfix will be providing the SMTP service, Dovecot will provide the POP3 and IMAP service, while Apache and SquirrelMail will provide the Webmail service.
How to create mailboxes, aliases and distribution groups
How to add antivirus and antispam filtering
We will be using Clam AntiVirus for virus scanning, SpamAssassin for the spam tagging and MailScanner to integrate them into Postfix.
You can greatly reduce the volume of spam and viruses reaching your mail server if you are willing to give up something. If you are willing to have your mail delayed (time), install Postgrey. If you are willing to spend (money), get the Barracuda Spam Firewall.
How to integrate Active Directory/LDAP
Integrating Active Directory/LDAP into your mail server will turn your Linux email server into a lean and mean Exchange like machine. And you won’t have to deal with Linux system accounts or edit configuration files for common tasks like creating mailboxes and mailing lists. And finally, you can provide your users with standard address book.
Share This
Posted by consultant under
Active Directory ,
Samba
1 Comment
If you weren’t able to succeed in integrating Active Directory into Linux, don’t worry. This page will show you how to test Kerberos authentication and join the Active Directory domain manually so you can identify the problem.
(more…)
Share This
This page will show you how to join your Linux server into the Active Directory domain, how to integrate the Active Directory user accounts into the Linux user accounts and how to authenticate users in Active Directory using Winbind, a component of Samba.
A better way to integrate Active Directory into your Linux mail server is by using Postfix’s Virtual User Accounts.
Samba is installed by default when you select the Server installation type during the installation process. In case you need to install or reinstall it, just add the Windows File Server package located in the Servers category using the Package Manager tool.
Setup and Configure Winbind


1. Click
System, select
Administration and click
Authentication. This will launch the
Authentication Configuration window.
(more…)
Share This
This page will guide you in configuring MailScanner, ClamAV and SpamAssassin to work in Postfix. Before proceeding, please make sure that all of the above components are already installed.
Here are the installation guides for the above components.
SpamAssassin is included in Red Hat Enterprise Linux 5 and CentOS 5 and it’s ready to go out of the box. Just add it using the Package Manager tool if you haven’t done so during installation.
Configuring MailScanner


1. Edit the file
/etc/MailScanner/MailScanner.conf
(more…)
Share This
Installing and setting up Postfix SMTP Server in Red Hat Enterprise Linux 5 or CentOS 5 is easy. Postfix has secure default settings so we just need to open it up a bit.
Install Postfix and Mail Transport Agent Switcher


1. If you did not add postfix and system-switch-mail-gnome during the CentOS installation, you can add it now using
Package Manager tool.
(more…)
Share This
To install MailScanner, we are going to download the latest source code from the MailScanner web site and build it. For this to work, it needs the Development Tools package. If you did not include this during installation, you must add it now. Learn how to add or remove applications here.
Getting MailScanner


1. Click the globe icon at the top near the System menu to launch the Firefox web browser.
If an error occurs, you probably did not install the Graphical Internet package. You can add it now using the
Package Manager tool.
(more…)
Share This
To install Clam AntiVirus (ClamAV), we are going to use the precompiled binaries from Dag Wieers RPM packages for Red Hat, RHEL, CentOS and Fedora.
Adding RPMForge to Yum
(more…)
Share This
Red Hat Enterprise Linux 5 and its derivative CentOS 5 includes a graphical tool called Security Level Configuration for configuring the firewall options. This guide describes how to use this tool to open up the ports necessary for providing an email server.


1. Click
System, select
Administration and click
Security Level and Firewall. This will launch the
Security Level Configuration window.
(more…)
Share This
SquirrelMail is an open source standards-based webmail package written in PHP. When installed, SquirrelMail is ready out of the box. All it needs is an installed web server like Apache, SMTP server like Postfix, and IMAP server like Dovecot.
Here are the installation guides for Postfix and Dovecot.
Starting the Web Server


1. If you did not add Web Server and squirrelmail during installation, you can add it now. Using the
Package Manager tool, add the Web Server package in the Servers category. Also add the optional package squirrelmail located in the Mail Server package under the category Servers.
(more…)
Share This
Installing and setting up Dovecot in Red Hat Enterprise Linux 5 or CentOS 5 is easy. All we have to do is to enable the services we would like to provide and we are good to go.
Install Dovecot


1. If you did not add dovecot during the CentOS installation, you can add it now using
Package Manager.
(more…)
Share This
Next Page »