<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Аспро: ЛайтШоп [тема: PMG и альтернативный антивирус]</title>
		<link>http://proxmox.su</link>
		<description>Новое в теме PMG и альтернативный антивирус форума Proxmox Mail Gateway на сайте Аспро: ЛайтШоп [proxmox.su]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Sun, 17 May 2026 21:05:05 +0300</pubDate>
		<item>
			<title>PMG и альтернативный антивирус</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum65/message338635/79486-pmg-i-alternativnyy-antivirus">PMG и альтернативный антивирус</a></b> <i>Proxmox Mail Gateway</i> в форуме <a href="http://proxmox.su/forum/forum65/">Proxmox Mail Gateway</a>. <br />
			О, получилось. Спасибо. <br />
			<i>30.10.2024 03:02:00, nv.nguyen.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum65/message338635/79486-pmg-i-alternativnyy-antivirus</link>
			<guid>http://proxmox.su/forum/messages/forum65/message338635/79486-pmg-i-alternativnyy-antivirus</guid>
			<pubDate>Wed, 30 Oct 2024 03:02:00 +0300</pubDate>
			<category>Proxmox Mail Gateway</category>
		</item>
		<item>
			<title>PMG и альтернативный антивирус</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum65/message338634/79486-pmg-i-alternativnyy-antivirus">PMG и альтернативный антивирус</a></b> <i>Proxmox Mail Gateway</i> в форуме <a href="http://proxmox.su/forum/forum65/">Proxmox Mail Gateway</a>. <br />
			Привет. Насколько я вижу, KESL не может создавать локальные задачи. Тебе нужно проверить политику KESL. Если все работает через KSC, нужно разрешить создание локальных задач. <noindex><a href="https://support.kaspersky.com/KES4Linux/11.4.0/en-US/233440.htm" target="_blank" rel="nofollow" >https://support.kaspersky.com/KES4Linux/11.4.0/en-US/233440.htm</a></noindex> Опция "Разрешить пользователям просматривать и управлять локальными задачами" должна быть включена. <br />
			<i>29.10.2024 21:33:00, kalachev_89.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum65/message338634/79486-pmg-i-alternativnyy-antivirus</link>
			<guid>http://proxmox.su/forum/messages/forum65/message338634/79486-pmg-i-alternativnyy-antivirus</guid>
			<pubDate>Tue, 29 Oct 2024 21:33:00 +0300</pubDate>
			<category>Proxmox Mail Gateway</category>
		</item>
		<item>
			<title>PMG и альтернативный антивирус</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum65/message338633/79486-pmg-i-alternativnyy-antivirus">PMG и альтернативный антивирус</a></b> <i>Proxmox Mail Gateway</i> в форуме <a href="http://proxmox.su/forum/forum65/">Proxmox Mail Gateway</a>. <br />
			Мой конфиг kesl в /usr/local/bin/pmg-custom-check<br /><br />Код: &nbsp;<br />#! /bin/bash &nbsp;<br /># нужно вручную создать папку mail_av в директории /var/log командой "mkdir /var/log/mail_av" &nbsp;<br /># нужно установить пакет pwgen командой "apt update && apt install pwgen" &nbsp;<br /># создаём уникальное имя политики &nbsp;<br />pol=$(pwgen 10 -1 -s -0) &nbsp;<br /># создаём файл политики &nbsp;<br />echo "FirstAction=Skip" &gt; /var/log/mail_av/$pol.pol &nbsp;<br />echo "ScanMailBases=Yes" &gt;&gt; /var/log/mail_av/$pol.pol &nbsp;<br />echo "ScanPlainMail=Yes" &gt;&gt; /var/log/mail_av/$pol.pol &nbsp;<br />echo "UseAnalyzer=Yes" &gt;&gt; /var/log/mail_av/$pol.pol &nbsp;<br />echo "HeuristicLevel=Medium" &gt;&gt; /var/log/mail_av/$pol.pol &nbsp;<br />echo "[ScanScope.item_1]" &gt;&gt; /var/log/mail_av/$pol.pol  <br />echo "Path=$2" &gt;&gt; /var/log/mail_av/$pol.pol &nbsp;<br /># создаём политику в KESL из файла &nbsp;<br />/opt/kaspersky/kesl/bin/kesl-control --create-task $pol --type ODS --file /var/log/mail_av/$pol.pol &gt;&gt; /dev/null &nbsp;<br /># проверяем файл KESL &nbsp;<br />vir=$(/opt/kaspersky/kesl/bin/kesl-control --start-task $pol -W | grep 'DetectName' | awk -F'=' '{print $2}' | head -1) &nbsp;<br /># удаляем политику из KESL &nbsp;<br />/opt/kaspersky/kesl/bin/kesl-control --delete-task $pol &nbsp;<br /># ищем имя вируса в выводе KESL &nbsp;<br />if [ -z $vir ]; then  <br /> &nbsp;rm -f /var/log/mail_av/$pol.pol &nbsp;<br /> &nbsp;# пишем в лог, что письмо чистое &nbsp;<br /> &nbsp;echo "Письмо $2 проверено успешно" &gt;&gt; /var/log/mail_av/checked &nbsp;<br /> &nbsp;echo "v1" &nbsp;<br /> &nbsp;echo "OK"; &nbsp;<br />else &nbsp;<br /> &nbsp;# пишем в лог, что письмо заражено &nbsp;<br /> &nbsp;# политика KESL не удаляется &nbsp;<br /> &nbsp;echo "В письме $2 найден вирус $vir" &gt;&gt; /var/log/mail_av/$pol.pol &nbsp;<br /> &nbsp;echo "Письмо $2 заблокировано. Подробнее в файле /var/log/mail_av/$pol.pol" &gt;&gt; /var/log/mail_av/checked &nbsp;<br /> &nbsp;echo "v1" &nbsp;<br /> &nbsp;echo "ВИРУС: $vir" &nbsp;<br />fi &nbsp;<br /><br />exit 0<br /><br />Конфиг PMG /etc/pmg/pmg.conf<br /><br />Код: &nbsp;<br />section: admin &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;clamav 0 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;custom_check 1<br /><br />Лог при получении письма<br /><br />Код: &nbsp;<br />Oct 29 21:42:51 pmg pmg-smtp-filter[62541]: 2024/10/29-21:42:51 CONNECT TCP Peer: "[127.0.0.1]:34826" Local: "[127.0.0.1]:10024"  <br />Oct 29 21:42:51 pmg pmg-smtp-filter[62541]: 120A756720F46B9621E: новое письмо message-id=&lt;003a01db2a10$b1f13560$15d3a020$@sea.vn&gt;  <br />Oct 29 21:42:52 pmg pmg-smtp-filter[62541]: Ошибка задачи. Создание задач заблокировано политикой  <br />Oct 29 21:42:52 pmg pmg-smtp-filter[62541]: Неверный ID задачи. Задача 'cUHaQHfTTf' не найдена  <br />Oct 29 21:42:52 pmg pmg-smtp-filter[62541]: Неверный ID задачи. Задача 'cUHaQHfTTf' не найдена  <br />Oct 29 21:42:56 pmg pmg-smtp-filter[62541]: ПРЕДУПРЕЖДЕНИЕ: check: dns_block_rule URIBL_BLOCKED сработало, создан /root/.spamassassin/dnsblock_multi.uribl.com (Это значит, что DNSBL заблокировал вас из-за слишком большого количества запросов. Установите всем затронутым правилам score в 0 или используйте "dns_query_restriction deny multi.uribl.com", чтобы отключить запросы)  <br />Oct 29 21:42:56 pmg pmg-smtp-filter[62541]: ПРЕДУПРЕЖДЕНИЕ: check: dns_block_rule RCVD_IN_VALIDITY_SAFE_BLOCKED сработало, создан /root/.spamassassin/dnsblock_sa-accredit.habeas.com (Это значит, что DNSBL заблокировал вас из-за слишком большого количества запросов. Установите всем затронутым правилам score в 0 или используйте "dns_query_restriction deny sa-accredit.habeas.com", чтобы отключить запросы)  <br />Oct 29 21:42:56 pmg pmg-smtp-filter[62541]: ПРЕДУПРЕЖДЕНИЕ: check: dns_block_rule RCVD_IN_VALIDITY_RPBL_BLOCKED сработало, создан /root/.spamassassin/dnsblock_bl.score.senderscore.com (Это значит, что DNSBL заблокировал вас из-за слишком большого количества запросов. Установите всем затронутым правилам score в 0 или используйте "dns_query_restriction deny bl.score.senderscore.com", чтобы отключить запросы)  <br />Oct 29 21:42:56 pmg pmg-smtp-filter[62541]: ПРЕДУПРЕЖДЕНИЕ: check: dns_block_rule RCVD_IN_VALIDITY_CERTIFIED_BLOCKED сработало, создан /root/.spamassassin/dnsblock_sa-trusted.bondedsender.org (Это значит, что DNSBL заблокировал вас из-за слишком большого количества запросов. Установите всем затронутым правилам score в 0 или используйте "dns_query_restriction deny sa-trusted.bondedsender.org", чтобы отключить запросы)  <br />Oct 29 21:42:56 pmg pmg-smtp-filter[62541]: 120A756720F46B9621E: SA score=0/5 время=3.804 байес=неопределён autolearn=отключён hits=DKIM_INVALID(0.1),DKIM_SIGNED(0.1),DMARC_PASS(-0.1),HTML_MESSAGE(0.001),KAM_DMARC_STATUS(0.01),RCVD_IN_VALIDITY_CERTIFIED_BLOCKED(0.001),RCVD_IN_VALIDITY_RPBL_BLOCKED(0.001),RCVD_IN_VALIDITY_SAFE_BLOCKED(0.001),SPF_HELO_NONE(0.001),SPF_PASS(-0.001),URIBL_BLOCKED(0.001)  <br />Oct 29 21:42:56 pmg postfix/smtpd[101185]: подключение от localhost.localdomain[127.0.0.1] <br />
			<i>29.10.2024 15:51:00, nv.nguyen.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum65/message338633/79486-pmg-i-alternativnyy-antivirus</link>
			<guid>http://proxmox.su/forum/messages/forum65/message338633/79486-pmg-i-alternativnyy-antivirus</guid>
			<pubDate>Tue, 29 Oct 2024 15:51:00 +0300</pubDate>
			<category>Proxmox Mail Gateway</category>
		</item>
		<item>
			<title>PMG и альтернативный антивирус</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum65/message338632/79486-pmg-i-alternativnyy-antivirus">PMG и альтернативный антивирус</a></b> <i>Proxmox Mail Gateway</i> в форуме <a href="http://proxmox.su/forum/forum65/">Proxmox Mail Gateway</a>. <br />
			Есть что-то в журнале от Kaspersky? Или какие-то другие сообщения? – Как выглядит твой собственный скрипт? (Учти, что с этим скриптом я, скорее всего, особо помочь не смогу.) <br />
			<i>28.10.2024 09:47:00, Stoiko Ivanov.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum65/message338632/79486-pmg-i-alternativnyy-antivirus</link>
			<guid>http://proxmox.su/forum/messages/forum65/message338632/79486-pmg-i-alternativnyy-antivirus</guid>
			<pubDate>Mon, 28 Oct 2024 09:47:00 +0300</pubDate>
			<category>Proxmox Mail Gateway</category>
		</item>
		<item>
			<title>PMG и альтернативный антивирус</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum65/message338631/79486-pmg-i-alternativnyy-antivirus">PMG и альтернативный антивирус</a></b> <i>Proxmox Mail Gateway</i> в форуме <a href="http://proxmox.su/forum/forum65/">Proxmox Mail Gateway</a>. <br />
			Proxmox больше не выдаёт ошибок, но когда отправляют вложения, Касперский их не сканирует и не блокирует. <br />
			<i>28.10.2024 02:48:00, nv.nguyen.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum65/message338631/79486-pmg-i-alternativnyy-antivirus</link>
			<guid>http://proxmox.su/forum/messages/forum65/message338631/79486-pmg-i-alternativnyy-antivirus</guid>
			<pubDate>Mon, 28 Oct 2024 02:48:00 +0300</pubDate>
			<category>Proxmox Mail Gateway</category>
		</item>
		<item>
			<title>PMG и альтернативный антивирус</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum65/message338630/79486-pmg-i-alternativnyy-antivirus">PMG и альтернативный антивирус</a></b> <i>Proxmox Mail Gateway</i> в форуме <a href="http://proxmox.su/forum/forum65/">Proxmox Mail Gateway</a>. <br />
			Под кодовыми тегами я имел в виду — обрамляйте вставленный текст (вместо скриншота в кодовые теги (нажмите на &lt;/&gt; сверху в редакторе...)) для содержимого вашего конфигурационного файла — это должно выглядеть так: &nbsp;<br />Code: &nbsp;<br />section: admin &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;clamav 0 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;custom_check 1 <br />
			<i>22.10.2024 09:10:00, Stoiko Ivanov.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum65/message338630/79486-pmg-i-alternativnyy-antivirus</link>
			<guid>http://proxmox.su/forum/messages/forum65/message338630/79486-pmg-i-alternativnyy-antivirus</guid>
			<pubDate>Tue, 22 Oct 2024 09:10:00 +0300</pubDate>
			<category>Proxmox Mail Gateway</category>
		</item>
		<item>
			<title>PMG и альтернативный антивирус</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum65/message338629/79486-pmg-i-alternativnyy-antivirus">PMG и альтернативный антивирус</a></b> <i>Proxmox Mail Gateway</i> в форуме <a href="http://proxmox.su/forum/forum65/">Proxmox Mail Gateway</a>. <br />
			Я изменил теги кода в /etc/pmg/pmg.conf <img class="lazyload "  src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="/upload/forum/proxmox/76337-fa3e3db39622e32cd3d01409c4954df4.jpg" alt="Пользователь добавил изображение" border="0" /> А ошибка всё равно остаётся <img class="lazyload "  src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="/upload/forum/proxmox/76338-335728579b716811ffa9b5d2df5a44b6.jpg" alt="Пользователь добавил изображение" border="0" /> Спасибо. <br />
			<i>22.10.2024 03:29:00, nv.nguyen.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum65/message338629/79486-pmg-i-alternativnyy-antivirus</link>
			<guid>http://proxmox.su/forum/messages/forum65/message338629/79486-pmg-i-alternativnyy-antivirus</guid>
			<pubDate>Tue, 22 Oct 2024 03:29:00 +0300</pubDate>
			<category>Proxmox Mail Gateway</category>
		</item>
		<item>
			<title>PMG и альтернативный антивирус</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum65/message338628/79486-pmg-i-alternativnyy-antivirus">PMG и альтернативный антивирус</a></b> <i>Proxmox Mail Gateway</i> в форуме <a href="http://proxmox.su/forum/forum65/">Proxmox Mail Gateway</a>. <br />
			Пожалуйста, опубликуйте ваш файл /etc/pmg/pmg.conf в кодовых тегах — я предполагаю, что вы добавили там `-- disable clamav` и `--enable kesl`, чего конфиг-парсер не позволяет... Просто удалите эти части из строки. <br />
			<i>21.10.2024 10:17:00, Stoiko Ivanov.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum65/message338628/79486-pmg-i-alternativnyy-antivirus</link>
			<guid>http://proxmox.su/forum/messages/forum65/message338628/79486-pmg-i-alternativnyy-antivirus</guid>
			<pubDate>Mon, 21 Oct 2024 10:17:00 +0300</pubDate>
			<category>Proxmox Mail Gateway</category>
		</item>
		<item>
			<title>PMG и альтернативный антивирус</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum65/message338627/79486-pmg-i-alternativnyy-antivirus">PMG и альтернативный антивирус</a></b> <i>Proxmox Mail Gateway</i> в форуме <a href="http://proxmox.su/forum/forum65/">Proxmox Mail Gateway</a>. <br />
			Я уже следовал инструкции, но не могу использовать kesl, у меня версия 8.1.4 <img class="lazyload "  src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="/upload/forum/proxmox/76286-1236e21dbc10a381fb736de24c7c3c77.jpg" alt="Пользователь добавил изображение" border="0" /> <br />
			<i>21.10.2024 08:57:00, nv.nguyen.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum65/message338627/79486-pmg-i-alternativnyy-antivirus</link>
			<guid>http://proxmox.su/forum/messages/forum65/message338627/79486-pmg-i-alternativnyy-antivirus</guid>
			<pubDate>Mon, 21 Oct 2024 08:57:00 +0300</pubDate>
			<category>Proxmox Mail Gateway</category>
		</item>
		<item>
			<title>PMG и альтернативный антивирус</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum65/message338626/79486-pmg-i-alternativnyy-antivirus">PMG и альтернативный антивирус</a></b> <i>Proxmox Mail Gateway</i> в форуме <a href="http://proxmox.su/forum/forum65/">Proxmox Mail Gateway</a>. <br />
			Большое спасибо! Вы решили мою проблему! <br />
			<i>22.11.2023 03:28:00, petern2004.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum65/message338626/79486-pmg-i-alternativnyy-antivirus</link>
			<guid>http://proxmox.su/forum/messages/forum65/message338626/79486-pmg-i-alternativnyy-antivirus</guid>
			<pubDate>Wed, 22 Nov 2023 03:28:00 +0300</pubDate>
			<category>Proxmox Mail Gateway</category>
		</item>
		<item>
			<title>PMG и альтернативный антивирус</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum65/message338625/79486-pmg-i-alternativnyy-antivirus">PMG и альтернативный антивирус</a></b> <i>Proxmox Mail Gateway</i> в форуме <a href="http://proxmox.su/forum/forum65/">Proxmox Mail Gateway</a>. <br />
			Здравствуйте! У нас есть коммерческая лицензия на антивирус (Kaspersky) для Linux-серверов. Можно ли интегрировать его с Proxmox MG так же, как Avast описывает в документации? С уважением. <br />
			<i>09.08.2023 15:00:00, Know_new.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum65/message338625/79486-pmg-i-alternativnyy-antivirus</link>
			<guid>http://proxmox.su/forum/messages/forum65/message338625/79486-pmg-i-alternativnyy-antivirus</guid>
			<pubDate>Wed, 09 Aug 2023 15:00:00 +0300</pubDate>
			<category>Proxmox Mail Gateway</category>
		</item>
	</channel>
</rss>
