We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it soon. Read more about it: https://vestacp.com/docs/vesta-2-development
Установить dovecot, spamassassin и clamav на установленную vestacp (centos 7)
Установить dovecot, spamassassin и clamav на установленную vestacp (centos 7)
Здравствуйте! Помогите пожалуйста установить и настроить dovecot, spamassassin и clamav на уже установленную панель, ОС - centos 7, exim установлен
Re: Установить dovecot, spamassassin и clamav на установленную vestacp (centos 7)
sudo yum install dovecot spamassassin clamav roundcubemail
http://c.vestacp.com/rhel/7/ конфиги служб от сюда.
сюда /usr/local/vesta/conf/vesta.conf добавить
MAIL_SYSTEM='exim'
ANTIVIRUS_SYSTEM='clamav'
ANTISPAM_SYSTEM='spamassassin'
IMAP_SYSTEM='dovecot'
выполнить
service vesta restart
http://c.vestacp.com/rhel/7/ конфиги служб от сюда.
сюда /usr/local/vesta/conf/vesta.conf добавить
MAIL_SYSTEM='exim'
ANTIVIRUS_SYSTEM='clamav'
ANTISPAM_SYSTEM='spamassassin'
IMAP_SYSTEM='dovecot'
выполнить
service vesta restart
Re: Установить dovecot, spamassassin и clamav на установленную vestacp (centos 7)
Спасибо, с clamav пришлось повозиться, так как тут оказывается инструкция для centos 6 - https://vestacp.com/docs/#how-to-instal ... hel-centos
Для centos 7 выполнил следующие шаги:
- yum install clamd
- wget http://c.vestacp.com/rhel/7/clamav/clamd.conf -O /etc/clamd.conf
- wget http://c.vestacp.com/rhel/7/clamav/freshclam.conf -O /etc/freshclam.conf
- wget http://c.vestacp.com/rhel/7/clamav/clamd.service -O /usr/lib/systemd/system/clamd.service
- useradd clam -s /sbin/nologin -d /var/lib/clamav 2>/dev/null
- gpasswd -a clam exim
- gpasswd -a clam mail
- mkdir -p /var/log/clamav /var/run/clamav
- chown clam:clam /var/log/clamav /var/run/clamav
- chown -R clam:clam /var/lib/clamav
- freshclam
- chkconfig clamd on
- service clamd start
Для centos 7 выполнил следующие шаги:
- yum install clamd
- wget http://c.vestacp.com/rhel/7/clamav/clamd.conf -O /etc/clamd.conf
- wget http://c.vestacp.com/rhel/7/clamav/freshclam.conf -O /etc/freshclam.conf
- wget http://c.vestacp.com/rhel/7/clamav/clamd.service -O /usr/lib/systemd/system/clamd.service
- useradd clam -s /sbin/nologin -d /var/lib/clamav 2>/dev/null
- gpasswd -a clam exim
- gpasswd -a clam mail
- mkdir -p /var/log/clamav /var/run/clamav
- chown clam:clam /var/log/clamav /var/run/clamav
- chown -R clam:clam /var/lib/clamav
- freshclam
- chkconfig clamd on
- service clamd start
Re: Установить dovecot, spamassassin и clamav на установленную vestacp (centos 7)
Беда все-таки с clamd, работает минуту и падает
Code: Select all
Thu Nov 7 13:53:53 2019 -> +++ Started at Thu Nov 7 13:53:53 2019
Thu Nov 7 13:53:53 2019 -> Received 0 file descriptor(s) from systemd.
Thu Nov 7 13:53:53 2019 -> clamd daemon 0.101.4 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Thu Nov 7 13:53:53 2019 -> Running as user clam (UID 1009, GID 1009)
Thu Nov 7 13:53:53 2019 -> Log file size limited to 4294967295 bytes.
Thu Nov 7 13:53:53 2019 -> Reading databases from /var/lib/clamav
Thu Nov 7 13:53:53 2019 -> Not loading PUA signatures.
Thu Nov 7 13:53:53 2019 -> Bytecode: Security mode set to "TrustSigned".
Thu Nov 7 13:54:54 2019 -> Loaded 6530258 signatures.
Thu Nov 7 13:54:55 2019 -> TCP: Bound to [127.0.0.1]:3310
Thu Nov 7 13:54:55 2019 -> TCP: Setting connection queue length to 30
Thu Nov 7 13:54:55 2019 -> LOCAL: Unix socket file /var/run/clamav/clamd.sock
Thu Nov 7 13:54:55 2019 -> LOCAL: Setting connection queue length to 30
Thu Nov 7 13:54:55 2019 -> Limits: Global time limit set to 120000 milliseconds.
Thu Nov 7 13:54:55 2019 -> Limits: Global size limit set to 104857600 bytes.
Thu Nov 7 13:54:55 2019 -> Limits: File size limit set to 26214400 bytes.
Thu Nov 7 13:54:55 2019 -> Limits: Recursion level limit set to 16.
Thu Nov 7 13:54:55 2019 -> Limits: Files limit set to 10000.
Thu Nov 7 13:54:55 2019 -> Limits: MaxEmbeddedPE limit set to 10485760 bytes.
Thu Nov 7 13:54:55 2019 -> Limits: MaxHTMLNormalize limit set to 10485760 bytes.
Thu Nov 7 13:54:55 2019 -> Limits: MaxHTMLNoTags limit set to 2097152 bytes.
Thu Nov 7 13:54:55 2019 -> Limits: MaxScriptNormalize limit set to 5242880 bytes.
Thu Nov 7 13:54:55 2019 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes.
Thu Nov 7 13:54:55 2019 -> Limits: MaxPartitions limit set to 50.
Thu Nov 7 13:54:55 2019 -> Limits: MaxIconsPE limit set to 100.
Thu Nov 7 13:54:55 2019 -> Limits: MaxRecHWP3 limit set to 16.
Thu Nov 7 13:54:55 2019 -> Limits: PCREMatchLimit limit set to 100000.
Thu Nov 7 13:54:55 2019 -> Limits: PCRERecMatchLimit limit set to 2000.
Thu Nov 7 13:54:55 2019 -> Limits: PCREMaxFileSize limit set to 26214400.
Thu Nov 7 13:54:55 2019 -> Archive support enabled.
Thu Nov 7 13:54:55 2019 -> AlertExceedsMax heuristic detection disabled.
Thu Nov 7 13:54:55 2019 -> Heuristic alerts enabled.
Thu Nov 7 13:54:55 2019 -> Portable Executable support enabled.
Thu Nov 7 13:54:55 2019 -> ELF support enabled.
Thu Nov 7 13:54:55 2019 -> Mail files support enabled.
Thu Nov 7 13:54:55 2019 -> OLE2 support enabled.
Thu Nov 7 13:54:55 2019 -> PDF support enabled.
Thu Nov 7 13:54:55 2019 -> SWF support enabled.
Thu Nov 7 13:54:55 2019 -> HTML support enabled.
Thu Nov 7 13:54:55 2019 -> XMLDOCS support enabled.
Thu Nov 7 13:54:55 2019 -> HWP3 support enabled.
Thu Nov 7 13:54:55 2019 -> Self checking every 600 seconds.
Thu Nov 7 13:54:59 2019 -> Pid file removed.
Thu Nov 7 13:54:59 2019 -> --- Stopped at Thu Nov 7 13:54:59 2019
Thu Nov 7 13:54:59 2019 -> Socket file removed.