Epistulae ad CentOS 7. Installing Dovecot + Exim + Roundcube

N
Netooze
February 10, 2020

In hoc articulo instituemus et figurabimus servo epistularum Exim et Dovecot in CentOS 7.5 VPS utentes interfacei Roundcube.

Utimur a CentOS secundum VPS for hoc ; prior constitutus cum minimis CentOS 7.5 " 

Quid est Exim?

Exim est agentis translationis epistularum (MTA) quae vulgo in systematibus unix-similis operandi adhibetur. Exim liberum est programmatum sub terminis GNU (Pblicae Licentiae generale distributum) et versatile ac flexibile instrumentum electronicum est cum notis amplis ad reprimendam epistulas inveniendas.

Quid est Dovecot?

Columba est fons apertus IMAP et POP3 servo epistularum pro Linux/UNIX-similis systemata. Securitas angularis lapidis huius producti focus in flexibilitate et velocitate fuit.

Dovecot magna electio est in systematis electronicis parvis et magnis.

Quid est Roundcube?

Roundcube is a web-fundatur inscriptio interface quod praebet facultatem  opus cum per mailboxes  IMAP  et  ESMTP. Applicatio potentem functionality habet ac comparabilis in facultates cum clientibus electronicis desktop ut  Outlook Express  or  mozilla Thunderbird

Praeparatio et setup

Coniungamus additamentum EPEL repositorium, hoc modo:

# yum install <a class="external free" href="https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm">https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm</a>
# yum update
Ad repositorium recens additum EPEL quod rationi nostro connexum sit, inspice:
# yum repolist
Tunc instrumenta sequentia install:
# yum install file perl-Mail-SPF.noarch openssl nano

Exim institutionem et configurationem

# yum install exim

Nunc aperiemus limam /etc/exim/exim.conf editori tuo utente dilectissimo, illud primum in tergum reddendo et hoc modo reddendo:

# cp /etc/exim/exim.conf{,.original}
# nano /etc/exim/exim.conf

primary_hostname = mail.mypostdomain.com
domainlist local_domains = @ : mypostdomain.com
tls_advertise_hosts = *
tls_certificate = /etc/ssl/mail.mypostdomain.com.crt
tls_privatekey = /etc/ssl/mail.mypostdomain.com.key
auth_advertise_hosts = *

Sit lineas observa tls_certificate et tls_privatekey nos utemur Testimonium , potes ordinem illum in nostro loco reperies et paginas necessarias in the " Personal Ratio - SSL      

Deinde transeamus ad sectionem onerariam et eam referamus ad formam;

local_delivery:
exactoris = appendfile
Directory = $ domum / Maildir
maildir_format
maildir_use_size_file
delivery_date_add
involucro_to_add
return_path_add

Deinde in sectione authentica adde sequentes lineas:

dovecot_login:
exactoris = columbarium
public_name = LOGIN
server_socket = /var/run/dovecot/auth-client
server_set_id = $auth1
dovecot_plain:
exactoris = columbarium
public_name = PLAIN
server_socket = /var/run/dovecot/auth-client
server_set_id = $auth1

initium exim et adde systema satus utendi systemctl; 

# systemctl start exim
# systemctl status exim
# systemctl enable exim

Dovecot setup

# yum install dovecot
Post institutionem lima configurationem recensere:

# nano /etc/dovecot/conf.d/10-ssl.conf
SSL sic =
ssl_cert = /etc/ssl/mail.mypostdomain.com.crt
ssl_key = /etc/ssl/mail.mypostdomain.com.key

# nano /etc/dovecot/conf.d/10-auth.conf
disable_plaintext_auth = no
auth_mechanisms = patet login

# nano /etc/dovecot/conf.d/10-mail.conf
mail_location = maildir:~/Maildir

# vim /etc/dovecot/conf.d/10-master.conf
servitium auth {
...
unix_listener auth-client {
modus = 0660
user = exim
}
}

Curre columbarium et adde systema satus utendi systemctl. 

# systemctl start dovecot
# systemctl status dovecot
# systemctl enable dovecot

Roudcube

LUMEN
# Yum install roundcubemail

# nano /etc/httpd/conf.d/roundcube.conf

#
# Round Cubus Webmail est navigatrum substructio multilingual IMAP client
#

Alias/roundcube/usr/share/roundcubemail
Alias ​​/ webmail / usr/share/roundcubemail


Options nemo
AllowOverride Limit
Requirere adiutus


Options nemo
AllowOverride Limit
Requirere adiutus

# Illa directoria a clientibus interretialibus non debent.

Ut sine, renuo
Ab omni negare


Ut sine, renuo
Ab omni negare

# Ministerium httpd sileo

# Mysql u radix -p
mysql> CREATE DATABASE dbroundcube;
mysql> CREATE USUFRUCTUARIUS userroundcube@localhost Identified by 'password';
mysql> OMNIA PRIVILEGIA CONCEDE IN DBroundcube.* ad userroundcube@localhost;
mysql> DE PRIVILEGIIS IMPETUS;
mysql> quit

http://mail.mypostdomain.com/roundcube/installer

POP3: 110
IMAP: 143
ESMTP: 25

Satus nubes iter tuum? Primum gradum nunc accipe.