Email stopped working => help

OS: Ubuntu 20.04
Cyberpanel latest version

Problem: Can’t access and send emails.

Trying to login via Rainloop gives me “account is not allowed” message
p.s. My domain is added via Rainloop admin already and there are no plugins at all

Email log:

Dec 10 09:45:29 vmi706321 postfix/postfix-script[10681]: warning: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_hesiod-2.31.so and /lib/x86_64-linux-gnu/libnss_hesiod-2.31.so differ
Dec 10 09:45:29 vmi706321 postfix/postfix-script[10683]: warning: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_nis-2.31.so and /lib/x86_64-linux-gnu/libnss_nis-2.31.so differ
Dec 10 09:45:29 vmi706321 postfix/postfix-script[10685]: warning: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_dns-2.31.so and /lib/x86_64-linux-gnu/libnss_dns-2.31.so differ
Dec 10 09:45:29 vmi706321 postfix/postfix-script[10687]: warning: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_nisplus-2.31.so and /lib/x86_64-linux-gnu/libnss_nisplus-2.31.so differ
Dec 10 09:45:29 vmi706321 postfix/postfix-script[10689]: warning: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_compat-2.31.so and /lib/x86_64-linux-gnu/libnss_compat-2.31.so differ
Dec 10 09:45:29 vmi706321 postfix/postfix-script[10696]: starting the Postfix mail system
Dec 10 09:45:29 vmi706321 postfix/master[10698]: daemon started -- version 3.4.13, configuration /etc/postfix
Dec 10 10:10:59 vmi706321 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=167.94.146.57, lip=122.125.130.6, TLS: Connection closed, session=<xWsXhHvvnIOnXpI5>
Dec 10 10:14:14 vmi706321 dovecot: imap-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=85.2.77.252, lip=122.125.130.6, session=<u2+zj3vv+8xWBFjx>
Dec 10 10:14:14 vmi706321 dovecot: pop3-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=85.2.77.252, lip=122.125.130.6, session=<cPizj3vv/MxWBFjx>
Dec 10 10:14:14 vmi706321 dovecot: pop3-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=85.2.77.252, lip=122.125.130.6, session=<bli0j3vv/sxWBFjx>
Dec 10 10:14:14 vmi706321 dovecot: imap-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=85.2.77.252, lip=122.125.130.6, session=<fGq0j3vv/cxWBFjx>

Hello @peakminute

Seems like your installation is compromised. Do you have a firewall or AV?

Run /etc/init.d/postfix check and post the screenshot here

postfix: Postfix is running with backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf compatibility_level=2"                                                                                                                                                              and "postfix reload"
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_                                                                                                                                                             mailbox_limit_maps
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_cre                                                                                                                                                             ate_maildirsize=yes
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_mai                                                                                                                                                             ldir_extended=yes
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_                                                                                                                                                             mailbox_limit_maps
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_cre                                                                                                                                                             ate_maildirsize=yes
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_mai                                                                                                                                                             ldir_extended=yes
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_                                                                                                                                                             mailbox_limit_maps
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_cre                                                                                                                                                             ate_maildirsize=yes
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_mai                                                                                                                                                             ldir_extended=yes
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_                                                                                                                                                             mailbox_limit_maps
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_cre                                                                                                                                                             ate_maildirsize=yes
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_mai                                                                                                                                                             ldir_extended=yes
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_                                                                                                                                                             mailbox_limit_maps
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_cre                                                                                                                                                             ate_maildirsize=yes
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_mai                                                                                                                                                             ldir_extended=yes
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_                                                                                                                                                             mailbox_limit_maps
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_cre                                                                                                                                                             ate_maildirsize=yes
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_mai                                                                                                                                                             ldir_extended=yes
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_se                                                                                                                                                             nder_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_cl                                                                                                                                                             ient_restrictions
/usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_he                                                                                                                                                             lo_restrictions
/usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_                                                                                                                                                             

and there is active fail2ban at the moment

Just to be sure run the following

$ apt install rkhunter -y
$ rkhunter --check --rwo
Warning: RH-Sharpe's Rootkit                      [ Warning ]
         File '/usr/bin/wp' found
Warning: The SSH and rkhunter configuration options should be the same:
         SSH configuration option 'PermitRootLogin': yes
         Rkhunter configuration option 'ALLOW_SSH_ROOT_USER': no
Warning: Suspicious file types found in /dev:
         /dev/shm/ols/adns_cache.lock: data
         /dev/shm/ols/adns_cache.shm: data
         /dev/shm/ols/SSL.lock: data
         /dev/shm/ols/SSL.shm: data
         /dev/shm/lsmcd/data7.lock: data
         /dev/shm/lsmcd/data7.shm: data
         /dev/shm/lsmcd/data6.lock: data
         /dev/shm/lsmcd/data6.shm: data
         /dev/shm/lsmcd/data5.lock: data
         /dev/shm/lsmcd/data5.shm: data
         /dev/shm/lsmcd/data4.lock: data
         /dev/shm/lsmcd/data4.shm: data
         /dev/shm/lsmcd/data3.lock: data
         /dev/shm/lsmcd/data3.shm: data
         /dev/shm/lsmcd/data2.lock: data
         /dev/shm/lsmcd/data2.shm: data
         /dev/shm/lsmcd/data1.lock: data
         /dev/shm/lsmcd/data1.shm: data
         /dev/shm/lsmcd/data0.lock: data
         /dev/shm/lsmcd/data0.shm: data
Warning: Hidden file found: /usr/.tempdisk: Linux rev 1.0 ext4 filesystem data, UUID=3e9068d3-9499-4d84-b6ed-8e42daef18cf (needs journal recovery) (extents) (64bit) (large files) (huge files)
Warning: Hidden file found: /dev/shm/.quicshmmap.lock: data
Warning: Hidden file found: /dev/shm/.quicshmmap.shm: data
Warning: Hidden file found: /dev/shm/.quicshmdata.lock: data
Warning: Hidden file found: /dev/shm/.quicshmdata.shm: data


false positive ignore. if there are no more issues then nothing has compromosed your installation.

Maybe soemthing created those file possibly an update (non-cyberpanel) i will investigate.

updated last post as it was still loading :slight_smile:

What about email issue?

Go to SnappyMail admin panel https://example.com:8090/snappymail/?admin

Domains → myslickdomain.com click on White List button

1 Like

Never thought I need to whitelist email users,- it was workiing fine without that until last update…
I see progress.
Great, connected to Rainloop as a user.

Now I want to connect via Mozilla Thunderbird to check emails, because there are more than one email address.
Can’t connect again
Any hint?

Sorted out…

Thank you very much @josephgodwinke

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.