Difference between revisions of "Email server setup"

(Created page with "[Category:Linux] https://help.ubuntu.com/community/Postfix")
 
Line 2: Line 2:
  
 
https://help.ubuntu.com/community/Postfix
 
https://help.ubuntu.com/community/Postfix
 +
 +
 +
 +
=Installation=
 +
 +
An email server requires a lot of components:
 +
* Send / Receive emails [SMTP, POP3, IMAP, ...]
 +
* Tools to check the email content against virus, spam
 +
* Tools to encrypt the communication
 +
* (optional) Database to manage users and emails
 +
 +
 +
<syntaxhighlight lang="bash">
 +
 +
## Security libraries
 +
# SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols.
 +
apt-get install libsasl2-modules libsasl2-modules-sql libgsasl7 libauthen-sasl-cyrus-perl sasl2-bin
 +
 +
# Authentication using MySQL
 +
apt-get install libpam-mysql
 +
 +
## Anti-virus
 +
apt-get install clamav-base libclamav6 clamav-daemon clamav-freshclam
 +
 +
## SPAM killer
 +
apt-get install  spamassassin spamc
 +
 +
## Interface to scan emails for virus & spam
 +
apt-get install amavisd-new
 +
 +
## Utility to SEND emails
 +
apt-get install postfix postfix-mysql
 +
 +
## Utility to RECEIVE emails
 +
apt-get install courier-base courier-authdaemon courier-authlib-mysql courier-imap courier-imap-ssl courier-pop courier-pop-ssl courier-ssl
 +
 +
</syntaxhighlight>

Revision as of 15:50, 11 August 2014

[Category:Linux]

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


Installation

An email server requires a lot of components:

  • Send / Receive emails [SMTP, POP3, IMAP, ...]
  • Tools to check the email content against virus, spam
  • Tools to encrypt the communication
  • (optional) Database to manage users and emails


## Security libraries
# SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols.
apt-get install libsasl2-modules libsasl2-modules-sql libgsasl7 libauthen-sasl-cyrus-perl sasl2-bin

# Authentication using MySQL
apt-get install libpam-mysql

## Anti-virus
apt-get install clamav-base libclamav6 clamav-daemon clamav-freshclam

## SPAM killer
apt-get install  spamassassin spamc

## Interface to scan emails for virus & spam
apt-get install amavisd-new

## Utility to SEND emails
apt-get install postfix postfix-mysql 

## Utility to RECEIVE emails
apt-get install courier-base courier-authdaemon courier-authlib-mysql courier-imap courier-imap-ssl courier-pop courier-pop-ssl courier-ssl