Modhanna íocaíochta Abuse

Ag socrú teastais fearainn ríomhphoist tar éis nuashonrú ispmanager

13.01.2025, 22:54

Tar éis ISPmanager a nuashonrú, b’fhéidir go mbeidh ort teastais a athchumrú le haghaidh fearainn ríomhphoist.

Cén fáth go bhfuil sé seo riachtanach?

Éilíonn freastalaithe agus cliaint ríomhphoist nua-aimseartha naisc shlána. D’fhéadfadh go ndiúltódh go leor cliant ríomhphoist ceangal le freastalaithe nach dtacaíonn le SSL/TLS, rud a fhágfaidh fadhbanna le seachadadh ríomhphoist. Chomh maith leis sin, tar éis ISPmanager a nuashonrú, d’fhéadfadh na socruithe nó na cosáin chuig deimhnithe athrú.

Tá sé tábhachtach a chinntiú go gcomhlíonann na socruithe go léir na ceanglais nua chun fadhbanna le hoibriú ríomhphoist a sheachaint. Ní chuirtear ar chumas deimhnithe a nascadh le fearainn ríomhphoist de réir réamhshocraithe ach amháin le haghaidh suiteálacha nua den leagan painéil nach ísle ná 5.66.0, mar sin tar éis painéal atá ann cheana a uasghrádú ó leagan 5.66.0 agus níos ísle, beidh ort an fheidhmiúlacht seo a chumrú de láimh.

Treoracha socraithe teastais

Is céim thábhachtach í teastais fearainn ríomhphoist a bhunú tar éis ISPmanager a nuashonrú chun slándáil, cobhsaíocht agus iontaofacht seirbhísí ríomhphoist a chinntiú.

Cuir an líne seo a leanas ag deireadh an chomhaid chumraíochta ag /usr/local/mgr5/etc/ispmgr.conf.d/mta.conf :

 path exim-certdir /etc/exim/ssl - для CentOS 7 и CloudLinux; path exim-certdir /etc/exim4/ssl - для Debian и Ubuntu.

Mura bhfuil an comhad ag /usr/local/mgr5/etc/ispmgr.conf.d/mta.conf ann, déan athruithe ar an gcomhad /usr/local/mgr5/etc/conf.d/exim.conf .

Cuir an líne seo a leanas ag deireadh an chomhaid chumraíochta /usr/local/mgr5/etc/ispmgr.conf.d/dovecot.conf :

 path dovecot-certconf /etc/dovecot/certs

Ansin déan athruithe ar na línte seo a leanas i gcomhad cumraíochta Dovecot ag /etc/dovecot/conf.d/10-ssl.conf :

Le haghaidh CentOS agus CloudLinux:

 ssl = yes ssl_cert = </etc/exim/ssl/exim.crt> ssl_key = </etc/exim/ssl/exim.key> !include_try /etc/dovecot/certs/*.conf

Do Debian agus Ubuntu:

 ssl = yes ssl_cert = </etc/exim4/ssl/exim.crt> ssl_key = </etc/exim4/ssl/exim.key> !include_try /etc/dovecot/certs/*.conf

Athraigh na socruithe SSL sa chomhad cumraíochta Exim ag /etc/exim/exim.conf (i gcás Debian agus Ubuntu, is é seo /etc/exim4/exim4.conf.template ):

Le haghaidh CentOS agus CloudLinux:

log_selector =  +all_parents  +lost_incoming_connection  +received_sender  +received_recipients  +tls_cipher +tls_peerdn +tls_sni  +smtp_confirmation  +smtp_syntax_error  +smtp_protocol_error # TLS/SSL tls_advertise_hosts = * tls_certificate = ${if exists{/etc/exim4/ssl/${tls_sni}.crt}{/etc/exi4m/ssl/${tls_sni}.crt}{/etc/exim4/ssl/exim.crt}} tls_privatekey = ${if exists{/etc/exim4/ssl/${tls_sni}.key}{/etc/exim4/ssl/${tls_sni}.key}{/etc/exim4/ssl/exim.key}} daemon_smtp_ports = 25 : 465 : 587 tls_on_connect_ports = 465

Do Debian agus Ubuntu:

 og_selector =  +all_parents  +lost_incoming_connection  +received_sender  +received_recipients  +tls_cipher +tls_peerdn +tls_sni  +smtp_confirmation  +smtp_syntax_error  +smtp_protocol_error # TLS/SSL tls_advertise_hosts = * tls_certificate = ${if exists{/etc/exim/ssl/${tls_sni}.crt}{/etc/exim/ssl/${tls_sni}.crt}{/etc/exim/ssl/exim.crt}} tls_privatekey = ${if exists{/etc/exim/ssl/${tls_sni}.key}{/etc/exim/ssl/${tls_sni}.key}{/etc/exim/ssl/exim.key}} daemon_smtp_ports = 25 : 465 : 587 tls_on_connect_ports = 465

posle внесения всех изменений необходимо перезагрузить службы почтовых серверов и самой панел следующие команды:

systemctl restart dovecot - перезапуск службы почтового сервера Dovecot;
systemctl restart exim или systemctl restart exim4 для Debian и Ubuntu - перезапуск службы почтового сервера Exim;