Server Mail - Wiki Ubuntu-It
Server Mail - Wiki Ubuntu-It
http://wiki.ubuntu-it.org/ServerMail
ServerMail
Index 1. Introduzine 2. Installation 3. Will configure Mysql 4. Postfix Configuration 5. Yaa will configure autoresponder 6. Configure Dovecot 7. Antivirus and Antispam 1. Configure Amavis 2. Configure Spamassassin 8. Configuarare WebMail 9. Installation 10. Restart servrizi 11. More Resources
On this page there are some useful instructions on how to use Postfi + Horde + Dovecot + Mysql . You will learn how to create a complete mail server management with virtual domains and users to share and Ubuntu Server 4.10 . This guide will be the name of the db maildb with user mailuser and password 1234 . This will create a mail user admin passwd with Padmini and domain prova.it . The server is configured with a partition / mail a separate,
Install packages: postfix postfix-mysql dovecot-imapd dovecot-pop3d amavisd-new spamassassin clamav-daemon lha arj zoo nomarch cpio lzop cabextract pax unrar-free
apt-get install libio-lockedfile libmldbm-perl-perl libnet-perl libcarp-clan-perl libdbi-perl libdbd-mysql-perl libnet-server-perl libio-stringy-perl
1 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
The first thing to do is create a db that will contain the tables needed for the operation of the system. To facilitate the work will create a file with SQL statements necessary. 1. Create the file / etc / maildb.sql. Enter the following:
2 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
3 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
4 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
5 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
6 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
7 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
2. Edit the file / etc / postfix / main.cf . Add or change the following lines to suit your needs:
8 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
9 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
3. Edit the file / etc / postfix / master.cf . Add or change the following lines:
10 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
11 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
9. Create the file / etc / postfix / recipient_canonical . This file is used to create an alias for the root user receiving the email system. Enter the following:
10. Create the file / etc / postfix / sender_canonical . This file is used to create an alias for root system that sends email. Enter the following:
1. In a terminal type:
12 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
13 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
1. Edit the file / etc / dovecot / dovecot.conf . Add or change the following lines:
14 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
15 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
2. Edit the file / etc / dovecot / dovecot-sql.conf . Add or change the following lines:
5. In a terminal type:
16 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
In this section configure the software for two protegerre our email from spam and viruses
17 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
4. In a terminal type:
18 of 19
2/22/2011 4:57 PM
http://wiki.ubuntu-it.org/ServerMail
spamassassin clamav-daemon lha arj zoo nomarch cpio lzop cabextract pax unrar-free
1. In a terminal type:
http://workaround.org/ispmail ; http://ubuntu.no.sapo.pt/horde3_eng.html ; http://www.howtoforge.com/autoresponders_for_virtual_postfix_users CategoryNuoviDocumenti 2005 - 2010 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd. This work is published under a Creative Commons license
19 of 19
2/22/2011 4:57 PM