Page 1 of 1

Problems with Email Server After Restore CentOS SOLVED

Posted: Fri Aug 16, 2019 3:00 am
by DuronBR
Several issues with the mail server:
Do not log in,
do not authenticate,
do not show emails and masses



Email ports blocked on firewall ALL CLOSED
SMTP: 25,465,587.2525
POP3: 110,995
IMAP: 143,993

Code: Select all

Enter the link in the panel: https://mydomain.com:8083/edit/server/fail2ban/

Add code:

# "ignoreip" can be an IP address, a CIDR mask or a DNS host. Fail2ban will not
# ban a host which matches an address in this list. Several addresses can be
# defined using space separator.

ignoreip  = 127.0.0.1 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16

Roundcube Webmail authenticate ERROR LOGIN
STATUS: Internal error occurred. Refer to server log for more information.

Code: Select all

SSH access define directory owner.

chown -R admin:admin /home/admin

or

sudo chown -R youruser:youruser /home/youruser/

Roundcube Webmail. If the error persists, see the log files.
File /var/log/devecot.log
ERROR: passwd-file /etc/exim/domains/YOUDOMAIN/passwd: open(/etc/exim/domains/YOUDOMAIN/passwd)

Code: Select all

Solution
/home/admin/conf/mail/YOUDOMAIN/passwd

Change passwd file permission to 664

File /var/log/roundcubemail/errors.log
ERROR: Access denied for user 'roundcube'@'localhost' (using password: NO) in /usr/share/roundcubemail/program/lib/Roundcube/rcube_db.php on line 174 (GET /webmail/)

ERROR: Error while sending QUERY packet. PID=16693 in /usr/share/roundcubemail/program/lib/Roundcube/rcube_db.php on line 473

Code: Select all

Solution
/etc/roundcubemail/defaults.inc.php
/etc/roundcubemail/config.inc

Change passwd file permission to 664


ERROR PERSISTS

Code: Select all

yum reinstall vesta