0% found this document useful (0 votes)
128 views

Linux Mail Server Setup and Howto Guide

This article will show you how to setup an email server accessible using a POP3, IMAP or web browser client. If you have an existing Active Directory or LDAP infrastructure, the last section will show you. How to install Linux You can use either redhat enterprise Linux 5 or CentOS 5.

Uploaded by

Vinodmr
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
128 views

Linux Mail Server Setup and Howto Guide

This article will show you how to setup an email server accessible using a POP3, IMAP or web browser client. If you have an existing Active Directory or LDAP infrastructure, the last section will show you. How to install Linux You can use either redhat enterprise Linux 5 or CentOS 5.

Uploaded by

Vinodmr
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Home |

Forum |
About |
Contact |
Subscribe |
Follow me

Search

Linux Mail Server Setup and Howto Guide


Rapidly deploy Linux based mail solutions today

Mail Server Setup Guide for RHEL/CentOS 5


Posted by consultant under CentOS 5 , Red Hat Enterprise Linux 5
[49] Comments

This article 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.

Next Generation Messaging www.dimensiondata.com/NGM


Solutions for Exchange 2010. Plan, deploy,
integrate and manage.

Exchange Server www.CtrlS.in


Hosted Exchange Eliminates Capex & Costs 4
times Less than Inhouse!

eXchange POP3 www.exchangepop3.com


Downloads email from POP3 accounts and
delivers it to Exchange users.

MS Exchange as a Service www.TechGyan.com


Use MS Exchange with ZERO Server & License
cost. Try it NOW

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.
1. How to
install CentOS 5.

2. How to setup
CentOS 5.

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.
3. How to
configure host name lookup.

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.

1. How to
install and setup Postfix SMTP server.

2. How to
install and setup Dovecot POP3 and IMAP server.

3. Configure
Postfix SMTP Authentication using Dovecot SASL.
4. How to
install and setup SquirrelMail WebMail.

5. How to
configure the firewall.

Before deploying your new mail server, see Mail Server Checklist to ensure your new mail server will
have a good sending reputation and can be trusted.

How to create mailboxes and do miscellaneous tasks


This section will show you to do tasks like creating mailboxes, aliases, setting quota etc.

To create a
mailbox, just create a new user account.

How to setup a
mailing list or proxy address in Postfix.
How to
configure Postfix to auto respond with vacation messages.

How to assign a
mailbox quota in Postfix.
Install Webmin
if you want a web-based interface to manage your mail accounts.

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.

1. How to
install MailScanner.

2. How to
install Clam AntiVirus (ClamAV).

3. MailScanner,
ClamAV, SpamAssassin and Postfix Integration Guide.

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.

www.HostGator.com Ads by Google

Active
Directory/LDAP virtual users in Postfix and Dovecot.
How to use the
Active Directory Distribution Group in Postfix.

How to add
Active Directory/LDAP into the SquirrelMail Addressbook.
Using Winbind
to integrate Active Directory user accounts.
Another way to integrate Active Directory into your mail server. I highly recommend using the virtual user
solution above instead of this one.

How to integrate MySQL or support multiple domains


To simplify administering multiple domains, the domains and mail accounts will be stored in MySQL and will
be managed using Postfix Admin, a web based interface for handling domains, mailboxes and aliases.
How to install
Postfix Admin.

MySQL virtual
users in Postfix and Dovecot.
Install the
SquirrelMail Postfix Admin Plugin if you want to enable the users to set their own vacation message,
forwarding and password.
ShareThis

Sat
7
Aug
2010

Configure Host Name Lookup in RHEL/CentOS 5


Posted by consultant under CentOS 5 , Red Hat Enterprise Linux 5
No Comments

Before starting to use Red Hat Enterprise Linux 5 or CentOS 5, the static host name table lookup file /etc/hosts
must be corrected first. The steps below describes how to do this.

(more…)

ShareThis

Sat
26
Jun
2010
SquirrelMail and MySQL
Posted by consultant under SquirrelMail
Comments Off

SquirrelMail can use a database backend like MySQL to store address books and preferences. This article
describes how to configure SquirrelMail to use a MySQL address book.

(more…)

ShareThis

Sat
29
May
2010

Static DB Virtual Users in Postfix and Dovecot


Posted by consultant under Dovecot , Postfix
Comments Off

This article describes how to use a text file or static db file as the source for user accounts in Postfix and
Dovecot. This is suitable for very simple mail account requirements. For larger implementations, check out the
MySQL virtual accounts or Active Directory/LDAP virtual accounts.

(more…)

ShareThis

Tue
18
May
2010

SquirrelMail Howtos
Posted by consultant under SquirrelMail
Comments Off

These are the collection of SquirrelMail howtos available on this site.

(more…)

ShareThis
Mon
17
May
2010

Postfix Restrict Senders or Recipients


Posted by consultant under Postfix
Comments Off

This article describes how to configure Postfix to restrict mails from a sender, to a recipient, or both.

(more…)

ShareThis

Sun
16
May
2010

Add a Disclaimer to Outgoing Postfix Emails


Posted by consultant under MailScanner , Postfix
Comments Off

This article describes how to use MailScanner to add a disclaimer message to outgoing mails in Postfix. Make
sure MailScanner is integrated into Postfix and tested to be working.

(more…)

ShareThis

Sun
9
May
2010

Backup Postfix Mailbox


Posted by consultant under Backup , Dovecot , Postfix
Comments Off
Backing up your mailboxes is a simple as copying your mailbox folder. This article describes how to backup
and restore your Postfix mailboxes using the tar command.

(more…)

ShareThis

Sun
2
May
2010

Postfix SMTP Gateway


Posted by consultant under Postfix
Comments Off

To improve security or offload services like virus and spam checking, you may want to implement an SMTP
gateway. This article describes how to configure Postfix as an SMTP gateway.

(more…)

ShareThis

Fri
30
Apr
2010

Prevent Sender From Spoofing Email Address


Posted by consultant under Postfix
Comments Off

Postfix can be configured to prevent email senders from using an email address that does not belong to them.
This article describes how to configure the sender restriction in Postfix to prevent senders from spoofing email
addresses.

(more…)

ShareThis

Sun
25
Apr
2010

Postfix and Dovecot SSL/TLS


Posted by consultant under Dovecot , Postfix , SSL/TLS
Comments Off

This article describes how to configure Postfix and Dovecot to use SSL/TLS to encrypt communication. Before
you begin, generate an SSL certificate.

(more…)

ShareThis

Next Page »

Content

RHEL 5/CentOS 5 Email Server


RHEL 4/CentOS 4 Email Server
Why Use a Linux Mail Server
Recommended Softwares
Deploy Mail Server on the Net
Mail Client Configuration
Postfix Howtos
Postfix RPM Packages
SquirrelMail Howtos
Barracuda Spam Firewall
System Administration Howto
Squid Proxy Server Howto
389 Directory Server Howto
Active Directory in Linux
Bind Setup Howto
SharePoint Howto
SQL Server Howto

Categories

389 Directory Server (10)


Active Directory (24)
Anti-spam/Anti-virus (8)
Backup (3)
CentOS 4 (14)
CentOS 5 (32)
Dovecot (8)
Kerberos (4)
LDAP (16)
Mail Clients (6)
MailScanner (7)
Postfix (30)
Red Hat Enterprise Linux 4 (14)
Red Hat Enterprise Linux 5 (31)
Samba (3)
SASL (3)
Squid Proxy Server (4)
SquirrelMail (15)
SSL/TLS (8)
System Administration (17)
Technical Articles (4)
Uncategorized (7)

Sponsored Links
www.HostGator.com
Ads by Google

Copyright © 2007 LinuxMail. All rights reserved. Privacy Policy

You might also like