Настройка антиспама для Postfix
24 USDТребуется настроить потсфикс для фильтрации base64- и Quoted-printable-закодированных писем.
У нас настроена фильтрация средствами постфикса:
check_sender_access = hash:/etc/postfix/sender_access
header_checks = pcre:/etc/postfix/header_checks
body_checks = pcre:/etc/postfix/body_checks
Для забаненых писем вызывается хук:
myhook unix - n n - - pipe
flags=F user=www-data argv=/etc/postfix/postfix.php ${sender} ${size} ${recipient} ${original_recipient}
который сохраняет спам для последующего изучения.
base64-закодированные фрагменты постфикс анализирует как есть, не раскодируя, и пропускает спам.
По настройке такие соображения: если это возможно, следует настроить хук, который будет выполнятся до фильтров постфикса, раскодировать письмо и возвращать его в очередь, а далее постфикс будет фильтровать его в обычном режиме;
Пробовали использовать spam assassin, но он периодически отваливался, к тому же у него своя система фильтрации по баллам, а нам лишняя фильтрация не нужна: бывают очень значимые письма, которые важно не пропустить.
Если предыдущий вариант невозможен или сложен в реализации, можно сделать чтобы вся корреспонденция шла на хук myhook, который уже будет заниматься фильтрацией и возвращать письма в очередь.
Если получится выполнить задачу, то требуется еще переписать скрипт postfix.php на чем-то менее ресурсоемком, по согласованию.
-
Можете приложить конфигурацию почтовика ?
-
Current freelance projects in the category System & Network Administration
Migration of Windows Server 2016.Need a system administrator for the setup and migration of Windows Server 2016. Task: 1. Conduct an audit of the current Windows Server 2016. 2. Check server roles: RDP/RDS, users, access rights, network settings, firewall, backup. 3. Prepare a migration plan without data… System & Network Administration, Software & Server Configuration ∙ 1 day 12 hours back ∙ 12 proposals |
Connection of professional book scanners in OdesaConnect professional book scanners (2 units) in 2 locations in Odesa. Perform assembly according to the instructions, connection, and software setup including test scanning to a file from the program on the PC. System & Network Administration, Software & Server Configuration ∙ 1 day 13 hours back ∙ 2 proposals |
Connection of professional book scanners.Connect professional book scanners (2 units) at 2 locations in Kyiv. Perform assembly according to the instructions, connection, and software setup including test scanning to a file from the program on the PC. System & Network Administration ∙ 3 days 4 hours back ∙ 1 proposal |
Need a 1C specialist (Trade Management)
22 USD
Need a 1C specialist (Trade Management) We are looking for an experienced 1C programmer for a small integration project. We have an online store and a 1C UT configuration. It is necessary to set up data exchange between the website and 1C — so that the website can receive… System & Network Administration, Web Programming ∙ 4 days 18 hours back ∙ 15 proposals |
Comprehensive check and protection of the office server + email setup
90 USD
A specialist is needed for a comprehensive check and adjustment of the server infrastructure in the office. Currently, several virtual machines on Ubuntu are running through Proxmox, with the main database and virtual machines for Laravel websites. There were previous issues… System & Network Administration, Software & Server Configuration ∙ 8 days 7 hours back ∙ 14 proposals |