NethServer Imap problem

mail
updates
v7

(Francesco) #21

[root@nethserver ~]# yum history pkg-info dovecot
Loaded plugins: changelog, fastestmirror, nethserver_events
Transaction ID : 133
Begin time : Tue Dec 4 08:15:25 2018
Package : dovecot-1:2.2.10-8.el7.x86_64
State : Updated
Size : 10,249,846
Build host : c1bm.rdu2.centos.org
Build time : Thu Aug 3 08:52:54 2017
Packager : CentOS BuildSystem http://bugs.centos.org
Vendor : CentOS
License : MIT and LGPLv2
URL : http://www.dovecot.org/
Source RPM : dovecot-2.2.10-8.el7.src.rpm
Commit Time : Tue Mar 21 13:00:00 2017
Committer : Michal Hlavinka mhlavink@redhat.com
Reason : dep
From repo : base
Installed by : System

Transaction ID : 133
Begin time : Tue Dec 4 08:15:25 2018
Package : dovecot-1:2.2.36-3.el7.x86_64
State : Update
Size : 14,868,869
Build host : x86-01.bsys.centos.org
Build time : Wed Oct 31 01:24:57 2018
Packager : CentOS BuildSystem http://bugs.centos.org
Vendor : CentOS
License : MIT and LGPLv2
URL : http://www.dovecot.org/
Source RPM : dovecot-2.2.36-3.el7.src.rpm
Commit Time : Wed Sep 19 14:00:00 2018
Committer : Michal Hlavinka mhlavink@redhat.com
Reason : dep
From repo : base
Installed by : System
Changed by : root

Transaction ID : 3
Begin time : Wed Nov 15 20:53:59 2017
Package : dovecot-1:2.2.10-8.el7.x86_64
State : Dep-Install
Size : 10,249,846
Build host : c1bm.rdu2.centos.org
Build time : Thu Aug 3 08:52:54 2017
Packager : CentOS BuildSystem http://bugs.centos.org
Vendor : CentOS
License : MIT and LGPLv2
URL : http://www.dovecot.org/
Source RPM : dovecot-2.2.10-8.el7.src.rpm
Commit Time : Tue Mar 21 13:00:00 2017
Committer : Michal Hlavinka mhlavink@redhat.com
Reason : dep
From repo : base
Installed by : System
history pkg-info


Unexpected (auto-)update to 7.6.1810
(Francesco) #22

[root@nethserver ~]# grep NsReleaseLock /var/log/messages
Dec 4 08:21:21 nethserver /sbin/e-smith/db[81454]: /var/lib/nethserver/db/configuration: OLD sysconfig=configuration|Copyright||DefaultLanguage|en_US.utf8|NsReleaseLock|disabled|ProductName|NethServer|Release|final|Version|7.5.1804|ZeroConf|enabled
Dec 4 08:21:21 nethserver /sbin/e-smith/db[81454]: /var/lib/nethserver/db/configuration: NEW sysconfig=configuration|Copyright||DefaultLanguage|en_US.utf8|NsReleaseLock|enabled|ProductName|NethServer|Release|final|Version|7.5.1804|ZeroConf|enabled
Dec 4 09:43:49 nethserver /sbin/e-smith/db[15021]: /var/lib/nethserver/db/configuration: OLD sysconfig=configuration|Copyright||DefaultLanguage|en_US.utf8|NsReleaseLock|enabled|ProductName|NethServer|Release|final|Version|7.5.1804|ZeroConf|enabled
Dec 4 09:43:49 nethserver /sbin/e-smith/db[15021]: /var/lib/nethserver/db/configuration: NEW sysconfig=configuration|Copyright||DefaultLanguage|en_US.utf8|NsReleaseLock|disabled|ProductName|NethServer|Release|final|Version|7.5.1804|ZeroConf|enabled
Dec 4 09:50:21 nethserver /sbin/e-smith/db[16503]: /var/lib/nethserver/db/configuration: OLD sysconfig=configuration|Copyright||DefaultLanguage|en_US.utf8|NsReleaseLock|disabled|ProductName|NethServer|Release|final|Version|7.5.1804|ZeroConf|enabled
Dec 4 09:50:21 nethserver /sbin/e-smith/db[16503]: /var/lib/nethserver/db/configuration: NEW sysconfig=configuration|Copyright||DefaultLanguage|en_US.utf8|NsReleaseLock|enabled|ProductName|NethServer|Release|final|Version|7.5.1804|ZeroConf|enabled


Unexpected (auto-)update to 7.6.1810
(Oliver) #23

Run the following commands to disable the antispam plugin:

mkdir -p /etc/e-smith/templates-custom/etc/dovecot/dovecot.conf/
touch /etc/e-smith/templates-custom/etc/dovecot/dovecot.conf/50spam_training
expand-template /etc/dovecot/dovecot.conf 
systemctl stop dovecot.service
systemctl start dovecot.service

To undo:

rm /etc/e-smith/templates-custom/etc/dovecot/dovecot.conf/50spam_training
expand-template /etc/dovecot/dovecot.conf 
systemctl stop dovecot.service
systemctl start dovecot.service

Some problem in server
Mail server broken - dovecot antispam plugin
(Oliver) #24
yum history pkg-info dovecot
Loaded plugins: changelog, fastestmirror, nethserver_events
Transaction ID : 56
Begin time     : Tue Dec  4 03:53:52 2018
Package        : dovecot-1:2.2.10-8.el7.x86_64
State          : Updated
Size           : 10,249,846
Build host     : c1bm.rdu2.centos.org
Build time     : Thu Aug  3 08:52:54 2017
Packager       : CentOS BuildSystem <http://bugs.centos.org>
Vendor         : CentOS
License        : MIT and LGPLv2
URL            : http://www.dovecot.org/
Source RPM     : dovecot-2.2.10-8.el7.src.rpm
Commit Time    : Tue Mar 21 13:00:00 2017
Committer      : Michal Hlavinka <mhlavink@redhat.com>
Reason         : dep
From repo      : base
Installed by   : System <unset>

Transaction ID : 56
Begin time     : Tue Dec  4 03:53:52 2018
Package        : dovecot-1:2.2.36-3.el7.x86_64
State          : Update
Size           : 14,868,869
Build host     : x86-01.bsys.centos.org
Build time     : Wed Oct 31 01:24:57 2018
Packager       : CentOS BuildSystem <http://bugs.centos.org>
Vendor         : CentOS
License        : MIT and LGPLv2
URL            : http://www.dovecot.org/
Source RPM     : dovecot-2.2.36-3.el7.src.rpm
Commit Time    : Wed Sep 19 14:00:00 2018
Committer      : Michal Hlavinka <mhlavink@redhat.com>
Reason         : dep
From repo      : base
Installed by   : System <unset>
Changed by     : root <root>

Transaction ID : 3
Begin time     : Fri Feb  2 10:53:23 2018
Package        : dovecot-1:2.2.10-8.el7.x86_64
State          : Dep-Install
Size           : 10,249,846
Build host     : c1bm.rdu2.centos.org
Build time     : Thu Aug  3 08:52:54 2017
Packager       : CentOS BuildSystem <http://bugs.centos.org>
Vendor         : CentOS
License        : MIT and LGPLv2
URL            : http://www.dovecot.org/
Source RPM     : dovecot-2.2.10-8.el7.src.rpm
Commit Time    : Tue Mar 21 13:00:00 2017
Committer      : Michal Hlavinka <mhlavink@redhat.com>
Reason         : dep
From repo      : base
Installed by   : System <unset>
history pkg-info

Some problem in server
(Davide Principi) #25

7 posts were split to a new topic: Unexpected update to 7.6.1810


(Francesco) #28

Thanks so much now all works fine


(Francesco) #29

Now I have another problem.
I have all the emails in the queue and NethServer can not send them
This problem was born after I deactivated the antispam plugin


(Davide Principi) #30

As workaround it is now possible to upgrade to 7.6.1810 beta, as explained here

After that, remove the template-custom as explained above


(Oliver) #31

You may also have to deactivate the anti spam filter rules (I did so some time ago). You can do this in the web interface under Configuration / Email / Filter.


(Francesco) #32

Ok, I waited a few minutes and now they all left.
Thank you and sorry