NethServer Imap problem

NethServer Version: 7.5.1804
Module: your_module

Good morning, today I have a problem with my nethserver 7.5, with the module imap.
When I visit the page http://NethServer/webmail or http://192.168.1.4/webmail, after login, I have the error (Impossibile connettersi al server IMAP).
The same error appears with outlook.

Can you help me please?
Thanks in advance

Can you check in server manager the running services?

The service IMAP is running

Please attach the output of

 rpm -q dovecot
 systemctl -l status dovecot
 yum history info
[root@nethserver ~]# rpm -q dovecot
dovecot-2.2.36-3.el7.x86_64
[root@nethserver ~]# systemctl -l status dovecot
â—Ź dovecot.service - Dovecot IMAP/POP3 email server
   Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor pres                                                                                      et: disabled)
  Drop-In: /etc/systemd/system/dovecot.service.d
           └─limits.conf
   Active: active (running) since Tue 2018-12-04 09:14:04 CET; 4min 50s ago
     Docs: man:dovecot(1)
           http://wiki2.dovecot.org/
 Main PID: 8982 (dovecot)
   CGroup: /system.slice/dovecot.service
           ├─ 8982 /usr/sbin/dovecot
           ├─ 8989 dovecot/anvil
           ├─ 8990 dovecot/log
           ├─ 8997 dovecot/config
           ├─ 9846 dovecot/auth
           ├─10929 dovecot/ssl-params
           ├─10931 dovecot/auth -w
           └─10932 dovecot/auth -w
Dec 04 09:16:47 nethserver.sirmeccanica.local dovecot[8990]: imap(mara.sabella@s                                                                                      irmeccanica.local): Error: Internal error occurred. Refer to server log for more                                                                                       information.
Dec 04 09:17:42 nethserver.sirmeccanica.local auth[9848]: pam_sss(dovecot:auth):                                                                                       authentication success; logname= uid=0 euid=0 tty=dovecot ruser=luigi.pucci rho                                                                                      st=192.168.1.68 user=luigi.pucci
Dec 04 09:18:45 nethserver.sirmeccanica.local auth[10931]: pam_sss(dovecot:auth)                                                                                      : authentication success; logname= uid=0 euid=0 tty=dovecot ruser=daniele.pelleg                                                                                      rino rhost=192.168.1.143 user=daniele.pellegrino
Dec 04 09:18:45 nethserver.sirmeccanica.local auth[10932]: pam_sss(dovecot:auth)                                                                                      : authentication success; logname= uid=0 euid=0 tty=dovecot ruser=fax2 rhost=192                                                                                      .168.1.143 user=fax2
Dec 04 09:18:45 nethserver.sirmeccanica.local dovecot[8990]: imap-login: Login:                                                                                       user=<daniele.pellegrino>, method=PLAIN, rip=192.168.1.143, lip=192.168.1.4, mpi                                                                                      d=10934, TLS, session=<GLwO6i180fbAqAGP>
Dec 04 09:18:45 nethserver.sirmeccanica.local dovecot[8990]: imap-login: Login:                                                                                       user=<fax2>, method=PLAIN, rip=192.168.1.143, lip=192.168.1.4, mpid=10936, TLS,                                                                                       session=<SwsP6i180vbAqAGP>
Dec 04 09:18:45 nethserver.sirmeccanica.local dovecot[8990]: imap(daniele.pelleg                                                                                      rino@sirmeccanica.local): Error: Couldn't load required plugin /usr/lib64/doveco                                                                                      t/lib90_antispam_plugin.so: Module is for different ABI version 2.2.ABIv10(2.2.1                                                                                      0) (we have 2.2.ABIv36(2.2.36))
Dec 04 09:18:45 nethserver.sirmeccanica.local dovecot[8990]: imap(daniele.pelleg                                                                                      rino@sirmeccanica.local): Error: Internal error occurred. Refer to server log fo                                                                                      r more information.
Dec 04 09:18:45 nethserver.sirmeccanica.local dovecot[8990]: imap(fax2@sirmeccan                                                                                      ica.local): Error: Couldn't load required plugin /usr/lib64/dovecot/lib90_antisp                                                                                      am_plugin.so: Module is for different ABI version 2.2.ABIv10(2.2.10) (we have 2.                                                                                      2.ABIv36(2.2.36))
Dec 04 09:18:45 nethserver.sirmeccanica.local dovecot[8990]: imap(fax2@sirmeccan                                                                                      ica.local): Error: Internal error occurred. Refer to server log for more informa                                                                                      tion.

After these commands I have a long report, but I don’t know to send all chatacters

OK now I see this error

Dec 04 09:18:45 nethserver.sirmeccanica.local dovecot[8990]: imap(daniele.pelleg rino@sirmeccanica.local): Error: Couldn’t load required plugin /usr/lib64/doveco t/lib90_antispam_plugin.so: Module is for different ABI version 2.2.ABIv10(2.2.1 0) (we have 2.2.ABIv36(2.2.36))

pastebin.com may be of use for that / long outputs

Your system was updated with CentOS 7.6 packages. How did you run the update? Software Center? Automated? Command line?

Please attach also

config show sysconfig
config show yum-cron
yum repolist -v

[root@nethserver ~]# config show sysconfig
sysconfig=configuration
Copyright=
DefaultLanguage=en_US.utf8
NsReleaseLock=enabled
ProductName=NethServer
Release=final
Version=7.5.1804
ZeroConf=enabled

[root@nethserver ~]# config show sysconfig
sysconfig=configuration
Copyright=
DefaultLanguage=en_US.utf8
NsReleaseLock=enabled
ProductName=NethServer
Release=final
Version=7.5.1804
ZeroConf=enabled
[root@nethserver ~]# ^C
[root@nethserver ~]# config show yum-cron
yum-cron=service
applyUpdate=yes
customMail=
download=yes
messages=no
randomWait=360
status=enabled

[root@nethserver ~]# yum repolist -v
Loading “changelog” plugin
Loading “fastestmirror” plugin
Loading “nethserver_events” plugin
Config time: 0.020
Yum version: 3.4.3
Loading mirror speeds from cached hostfile

Repo-id : ce-extras/7/x86_64
Repo-name : CE-Extras-7.5.1804
Repo-revision: 1541683984
Repo-updated : Thu Nov 8 14:36:55 2018
Repo-pkgs : 434
Repo-size : 806 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-extras&arch=x86_64&nsrelease=7.5.1804
Repo-baseurl : http://mirror.centos.org/centos/7.5.1804/extras/x86_64/ (8 more)
Repo-expire : 21,600 second(s) (last: Tue Dec 4 08:52:18 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NsReleaseLock.repo

Repo-id : ce-updates/7/x86_64
Repo-name : CE-Updates-7.5.1804
Repo-revision: 1540837319
Repo-updated : Mon Oct 29 19:33:45 2018
Repo-pkgs : 1,613
Repo-size : 5.7 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-updates&arch=x86_64&nsrelease=7.5.1804
Repo-baseurl : http://mirror.centos.org/centos/7.5.1804/updates/x86_64/ (8 more)
Repo-expire : 21,600 second(s) (last: Tue Dec 4 08:52:19 2018)
Filter : read-only:present
Repo-excluded: 1
Repo-filename: /etc/yum.repos.d/NsReleaseLock.repo

Repo-id : centos-sclo-rh/x86_64
Repo-name : CentOS-7 - SCLo rh
Repo-revision: 1543522499
Repo-updated : Thu Nov 29 21:16:52 2018
Repo-pkgs : 7,750
Repo-size : 6.4 G
Repo-baseurl : CentOS Mirror
Repo-expire : 21,600 second(s) (last: Tue Dec 4 08:52:19 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo

Repo-id : centos-sclo-sclo/x86_64
Repo-name : CentOS-7 - SCLo sclo
Repo-revision: 1543512024
Repo-updated : Thu Nov 29 18:20:28 2018
Repo-pkgs : 682
Repo-size : 228 M
Repo-baseurl : CentOS Mirror
Repo-expire : 21,600 second(s) (last: Tue Dec 4 08:52:19 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-SCLo-scl.repo

Repo-id : epel/x86_64
Repo-name : Extra Packages for Enterprise Linux 7 - x86_64
Repo-revision: 1543851095
Repo-updated : Mon Dec 3 16:44:43 2018
Repo-pkgs : 12,720
Repo-size : 14 G
Repo-metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64
Updated : Tue Dec 4 01:32:52 2018
Repo-baseurl : Index of /epel/7/x86_64/ (68 more)
Repo-expire : 21,600 second(s) (last: Tue Dec 4 08:52:21 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/epel.repo

Repo-id : nethforge/7/x86_64
Repo-name : NethForge 7
Repo-revision: 1541262563
Repo-updated : Sat Nov 3 17:29:24 2018
Repo-pkgs : 63
Repo-size : 175 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=nethforge&arch=x86_64&nsrelease=7.5.1804
Repo-baseurl : Index of /nethserver/7.5.1804/nethforge/x86_64 (17 more)
Repo-expire : 21,600 second(s) (last: Tue Dec 4 08:52:21 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethForge.repo

Repo-id : nethserver-base/7/x86_64
Repo-name : NethServer-7 - Base
Repo-revision: 1528711431
Repo-updated : Mon Jun 11 12:03:55 2018
Repo-pkgs : 283
Repo-size : 1.0 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=base&arch=x86_64&nsrelease=7.5.1804
Repo-baseurl : Index of /nethserver/7.5.1804/base/x86_64 (17 more)
Repo-expire : 21,600 second(s) (last: Tue Dec 4 08:52:21 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

Repo-id : nethserver-updates/7/x86_64
Repo-name : NethServer-7 - Updates
Repo-revision: 1543341016
Repo-updated : Tue Nov 27 18:50:30 2018
Repo-pkgs : 348
Repo-size : 1.2 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=updates&arch=x86_64&nsrelease=7.5.1804
Repo-baseurl : Index of /nethserver/7.5.1804/updates/x86_64 (17 more)
Repo-expire : 21,600 second(s) (last: Tue Dec 4 08:52:22 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

repolist: 33,804

Software center but I don’t have 7.6 version, I have NethServer release 7.5.1804

Did you read this message?

Please attach the output of

 grep POST /var/log/httpd-admin/access_log

If your last change was pressing the UPDATE button, as workaround you could try

yum history undo last

[root@nethserver ~]# grep POST /var/log/httpd-admin/access_log
192.168.1.51 - - [04/Dec/2018:08:19:04 +0100] “POST /it-IT/Login.json HTTP/1.1” 200 514
192.168.1.51 - - [04/Dec/2018:08:40:36 +0100] “POST /it-IT/NetworkAdapter/CleanPhysicalInterface/ens34.json HTTP/1.1” 200 907
192.168.1.51 - - [04/Dec/2018:08:57:30 +0100] “POST /it-IT/LocalNetwork/delete/192.168.70.0.json HTTP/1.1” 200 910
192.168.1.51 - - [04/Dec/2018:08:57:53 +0100] “POST /it-IT/NetworkAdapter/DNS.json HTTP/1.1” 200 895
192.168.1.51 - - [04/Dec/2018:09:01:05 +0100] “POST /it-IT/Services/stop/dovecot.json HTTP/1.1” 200 5862
192.168.1.51 - - [04/Dec/2018:09:01:17 +0100] “POST /it-IT/Services/start/dovecot.json HTTP/1.1” 200 5925
192.168.1.51 - - [04/Dec/2018:09:18:19 +0100] “POST /it-IT/Ssh.json HTTP/1.1” 200 299
192.168.1.51 - - [04/Dec/2018:09:32:24 +0100] “POST /it-IT/Services/stop/rspamd.json HTTP/1.1” 200 5861
192.168.1.51 - - [04/Dec/2018:09:32:53 +0100] “POST /it-IT/Services/start/rspamd.json HTTP/1.1” 200 5923
192.168.1.51 - - [04/Dec/2018:09:43:15 +0100] “POST /it-IT/PackageManager/Configuration.json HTTP/1.1” 200 916
192.168.1.51 - - [04/Dec/2018:09:43:49 +0100] “POST /it-IT/PackageManager/Configuration.json HTTP/1.1” 200 917

I had the same problem today. Updates were “locked”, but the new dovecot package was installed automatically nonetheless (with “Download updates” and “Install updates automatically” both ticked).

I fixed IMAP temporarily by disabling the antispam plugin in dovecot.conf.

1 Like

I don’t have this message :frowning:
I do’t ever seen this message

same problem here

how did you disable the plugin?

Thank you for chiming in!

This looks a big issue! I need more information from your log files to understand what happened.

I guess dovecot was installed automatically

Please @oliver, @ohifra: attach the output of

 yum history pkg-info dovecot
 grep NsReleaseLock /var/log/messages

Please share your workaround!

I guess we can edit /etc/dovecot.conf and remove “antispam” from the `mail_plugins" line