IMAP seemed to stop working

NethServer Version: 7.5.1804 (final)
Kernel release 3.10.0-957.1.3.el7.x86_64
Module: IMAP Server ?

Did a yum Update recently … I had 305 modules updated . after restart … not able to connect to email server… seems like the IMAP Mail Server stopped working… the SMTP Server is working… according to my email diagnostic… Also not able to connect via RoundCube in Browser…get message “connection to storage server failed”
Check Services Status… all looks normal…
From IMAP Log: mail dovecot: imap(xxxx@xxx.com): Error: Couldn’t load required plugin /usr/lib64/dovecot/lib90_antispam_plugin.so: Module is for different ABI version 2.2.ABIv10(2.2.10) (we have 2.2.ABIv36(2.2.36))

1 Like

Thanks… I updated to Nethserver 7.6 Beta for now… at least I can login and get email.
Also set the “Lock” on in Software configuration…

3 Likes

Is there any indication when this problem might be solved. Would I have to create a completely new installation to move to the 7.6 beta?
Thanks.

It’s already solved in the beta version.

No, just follow these instructions to upgrade to 7.6.1810 beta: NethServer 7.6.1810 beta development - #6 by davidep

1 Like

HI all,
problem is happening again in a fresh installation .
Error: Couldn’t load required plugin /usr/lib64/dovecot/lib90_antispam_plugin.so: Module is for different ABI version 2.2.ABIv10(2.2.10) (we have 2.2.ABIv36(2.2.36))
I first installed the stable 7.5 last version, then updated to testing repo and now upgrade to 7.6 without luck…
What can I try to get rid of these errors and have IMAP working again?
BR
Stefano

Did you try this procedure?

Maybe try to install from new beta ISO?

EDIT:

Tested it on NS 7.5 with LDAP, mailserver and roundcube:

  • updated packages in Software Center “unlocked” mode
  • now I can’t login to roundcube and see this in /var/log/imap:
    Error: Couldn't load required plugin /usr/lib64/dovecot/lib90_antispam_plugin.so: Module is for different ABI version 2.2.ABIv10(2.2.10) (we have 2.2.ABIv36(2.2.36))
  • updated to Neth 7.6 via Software Center as described here and now I can login to roundcube again and there’s no error in /var/log/imap anymore

Hello Markus,
yes, I tried with procedure you proposed before writing here
I definitely prefer not to reinstall from beta Iso, it’s a fresh install.
Maybe the repo I’m using is not so updated? It’s a VPS on OVH datacenter in France, can it be the problem?
Stefano

can a list of files in /usr/lib64/dovecot/ be useful to diagnose the problem?

-rwxr-xr-x 1 root root 90424 Oct 31 01:24 lib01_acl_plugin.so
-rwxr-xr-x 1 root root 19576 Oct 31 01:24 lib02_imap_acl_plugin.so
-rwxr-xr-x 1 root root 19704 Oct 31 01:24 lib02_lazy_expunge_plugin.so
-rwxr-xr-x 1 root root 15416 Oct 31 01:24 lib05_mail_crypt_acl_plugin.so
-rwxr-xr-x 1 root root 27960 Oct 31 01:24 lib05_pop3_migration_plugin.so
-rwxr-xr-x 1 root root 11280 Oct 31 01:24 lib05_snarf_plugin.so
-rwxr-xr-x 1 root root 11232 Oct 31 01:24 lib10_last_login_plugin.so
-rwxr-xr-x 1 root root 44488 Oct 31 01:24 lib10_mail_crypt_plugin.so
-rwxr-xr-x 1 root root 19632 Oct 31 01:24 lib10_mail_filter_plugin.so
-rwxr-xr-x 1 root root 91576 Oct 31 01:24 lib10_quota_plugin.so
-rwxr-xr-x 1 root root 15296 Oct 31 01:24 lib11_imap_quota_plugin.so
-rwxr-xr-x 1 root root 15400 Oct 31 01:24 lib11_trash_plugin.so
-rwxr-xr-x 1 root root 15568 Oct 31 01:24 lib15_notify_plugin.so
-rwxr-xr-x 1 root root 11192 Oct 31 01:24 lib20_autocreate_plugin.so
-rwxr-xr-x 1 root root 11272 Oct 31 01:24 lib20_charset_alias_plugin.so
-rwxr-xr-x 1 root root 19632 Oct 31 01:24 lib20_expire_plugin.so
-rwxr-xr-x 1 root root 246960 Oct 31 01:24 lib20_fts_plugin.so
-rwxr-xr-x 1 root root 7064 Oct 31 01:24 lib20_listescape_plugin.so
-rwxr-xr-x 1 root root 15504 Oct 31 01:24 lib20_mailbox_alias_plugin.so
-rwxr-xr-x 1 root root 15528 Oct 31 01:24 lib20_mail_log_plugin.so
-rwxr-xr-x 1 root root 15472 Oct 31 01:24 lib20_notify_status_plugin.so
-rwxr-xr-x 1 root root 50520 Oct 31 01:24 lib20_push_notification_plugin.so
-rwxr-xr-x 1 root root 11368 Oct 31 01:24 lib20_quota_clone_plugin.so
-rwxr-xr-x 1 root root 15512 Oct 31 01:24 lib20_replication_plugin.so
-rwxr-xr-x 1 root root 15152 Oct 31 01:24 lib20_var_expand_crypt.so
-rwxr-xr-x 1 root root 83328 Oct 31 01:24 lib20_virtual_plugin.so
-rwxr-xr-x 1 root root 44640 Oct 31 01:24 lib20_zlib_plugin.so
-rwxr-xr-x 1 root root 69736 Oct 31 01:24 lib21_fts_lucene_plugin.so
-rwxr-xr-x 1 root root 49184 Oct 31 01:24 lib21_fts_solr_plugin.so
-rwxr-xr-x 1 root root 65352 Oct 31 01:24 lib21_fts_squat_plugin.so
-rwxr-xr-x 1 root root 40304 Oct 31 01:24 lib30_imap_zlib_plugin.so
-rwxr-xr-x 1 root root 19624 Dec 3 13:02 lib89_deleted_to_trash_plugin.so
-rwxr-xr-x 1 root root 36936 Jan 18 2017 lib90_antispam_plugin.so
the only file having an old date is the one is doing the problem, can I simply download a newer version of lib90_antispam_plugin.so from somewhere, or better from an official nethserver repo, and put it in the folder?
Stefano

I check my version of lib90_antispam_plugin.so, it has the same date as yours… yet my NethServer is working at the moment…
In my case, my 7.5 server got updated with 7.6 beta files without my intention… then later
I updated the 7.5 server to 7.6 Beta using these line commands:

yum -y install http://packages.nethserver.org/nethserver/7.6.1810/updates/x86_64/Packages/nethserver-release-7-9.ns7.noarch.rpm

echo ‘7.6.1810’ > /etc/yum/vars/nsrelease

yum clean all
yum update
sudo reboot

Pls give it a try…

1 Like

tried it with no luck :
yum -y install http://packages.nethserver.org/nethserver/7.6.1810/updates/x86_64/Packages/nethserver-release-7-9.ns7.noarch.rpm
Loaded plugins: changelog, fastestmirror, nethserver_events
nethserver-release-7-9.ns7.noarch.rpm | 24 kB 00:00:00
Examining /var/tmp/yum-root-u8ej_G/nethserver-release-7-9.ns7.noarch.rpm: nethserver-release-7-9.ns7.noarch
/var/tmp/yum-root-u8ej_G/nethserver-release-7-9.ns7.noarch.rpm: does not update installed package.
Error: Nothing to do
yum clean all
yum update

updated only the package nethserver-backup-config
rebooted with no changes in dovecot errors :disappointed_relieved:

Can you try locking the Software update & reboot… see if that makes a difference…?

Did a reboot in the morning with software updates locked…

I had a similar problem like yours when I tried and update another of a 7.5 version server to 7.6beta…even doing all the patches I did before didn’t solve the error.
…yes seems updating from 7.5 to 7.6 is not working…

I downloaded the 7.6beta2 ISO and install a new copy and restore the backup-config files and data…this seems to work ok… but in my new installation I don’t see or find the file lib90_antispam_plugin.so in the /usr/lib64/dovecot/ folder or in any other folder …

I didn’t want to reinstall from scratch but it looks like the only solution… well i don’t have to deliver that server until the end of this month, I just was hoping there was a better solution than format and restart…
ty Reggie
regards

Good luck…

i made the mistake of installing the latest updates and now roundcube and imap are broken. i think it was asked before, is there a way to back out the last set of updates?

i looked at the software config page and it already says locked and Limit updates to repositories specific to version 7.6.1810 until the next system upgrade. do i need to do an unlock and do the config command and then relock so i can get the beta fixes?

do you know how soon before this oops is fixed in mainstream updates?

It should have been fixed.

Does update from command line work without errors, maybe there’s a package missing?

yum update

A workaround, but as said it should have been fixed.

It’s always possible to install from command line. The “locked” setting only affects Software Center…

i did the yum update, but there weren’s any updates for dovecot. i disabled the anti-spam and that worked! ty! when should i undo it or will the next update re-enable it?

Here’s the issue, please check if you have correct versions:

One of the nethserver-mail-* packages should fix it.

No, it’s a custom template but you should try to make it work without the custom template.
You need to (re)move the custom templates to check if the system update works without the custom templates.

Did you try an unlocked update from Software Center recently? It should be updated to 7.6.1810 (final) and the issue should be fixed.