TrafalgarLaw999
Verified User
- Joined
- Dec 21, 2016
- Messages
- 7
Hi!
I'm on Custom build 2.0 rev 2821, CentOS 6.
I'm following this guide here: https://www.directadmin.com/features.php?id=2019
Got this error message:
Line 21 of /etc/dovecot/dovecot.conf is:
This thread here suggested to build a new dovecot: https://forum.directadmin.com/threads/dovecot-down-error.56412/
Tried to install those missing packages, but no packages were founded. Maybe I'm on CentOS 6?
Also, this is the content of configure/dovecot/configure.dovecot
From this point, I'm struck. Please help, thanks!
I'm on Custom build 2.0 rev 2821, CentOS 6.
[root@server custombuild]# ./build version
2.0.0 (rev: 2821)
I'm following this guide here: https://www.directadmin.com/features.php?id=2019
Got this error message:
[root@server custombuild]# ./build dovecot_conf
Updating dovecot configuration files...
ensuring ssl_dh for dovecot: /etc/dovecot/dh.pem
Restarting dovecot.
Shutting down dovecot: [FAILED]
Starting dovecot: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 21: Unknown setting: username_filter
[FAILED]
Dovecot configuration files have been updated successfully.
Line 21 of /etc/dovecot/dovecot.conf is:
passdb {
username_filter = !*@*
driver = shadow
}
This thread here suggested to build a new dovecot: https://forum.directadmin.com/threads/dovecot-down-error.56412/
[root@server custombuild]# ./build dovecot
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: d2lzkl7pfhq30w.cloudfront.net
* rpmforge: ftp.riken.jp
Setting up Install Process
No package cloudlinux-scl-release available.
Error: Nothing to do
Loaded plugins: fastestmirror
Error getting repository data for cloudlinux-scl-release, repository not found
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: d2lzkl7pfhq30w.cloudfront.net
* rpmforge: ftp.riken.jp
Setting up Install Process
No package devtoolset-7 available.
Error: Nothing to do
Installing dovecot 2.3.17.1 ...
Found /usr/local/directadmin/custombuild/dovecot-2.3.17.1.tar.gz
Extracting ...
Done.
Patching syslog with LOG_PID ...
Patching maildirlock utility...
patching file src/util/maildirlock.c
Configuring dovecot 2.3.17.1 ...
Unable to open /etc/scl/prefixes/devtoolset-7!
*** There was an error while trying to configure dovecot. Please check configure/dovecot/configure.dovecot file.
[root@server custombuild]#
Tried to install those missing packages, but no packages were founded. Maybe I'm on CentOS 6?
yum install cloudlinux-scl-release
yum install devtoolset-7
Also, this is the content of configure/dovecot/configure.dovecot
#!/bin/sh
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --without-icu
From this point, I'm struck. Please help, thanks!