Teljes levelezőszerver kiépítése Postfix (SMTP), Dovecot (IMAP/POP3) és egy könnyűsúlyú webmail kliens (Rainloop) kombinációjával.

Alap útmutató: http://www.krizna.com/ubuntu/setup-mail-server-ubuntu-14-04/

Postfix telepítése

apt-get install postfix postfix-mysql postfix-pcre
# Telepítés közben válaszd az 'Internet Site' opciót

Dovecot telepítése

apt-get install dovecot-core dovecot-imapd dovecot-pop3d dovecot-mysql
apt-get install dovecot-managesieved dovecot-sieve mail-stack-delivery

Rainloop webmail telepítése

mkdir /mnt/[gyors_tarhely]/Websites/rainloop
cd rainloop

apt-get install curl
apt-get install php-curl
service apache2 restart

curl -s http://repository.rainloop.net/installer.php | php
chown -R www-data:www-data .

Virtual host a webmailhez

cp /etc/apache2/sites-available/[sajat-domain].conf /etc/apache2/sites-available/mail.[sajat-domain].conf
nano mail.[sajat-domain].conf

a2ensite mail.[sajat-domain].conf
service apache2 restart
apt-get install poppassd

Adminisztrációs felület: http://mail.[sajat-domain]/?admin#/general — első belépés után azonnal módosítsd az alapértelmezett admin jelszót.

apt-get install mailutils

← Vissza: Linux