IRedMail: различия между версиями
Материал из support.qbpro.ru
Vix (обсуждение | вклад) |
Vix (обсуждение | вклад) |
||
| (не показано 9 промежуточных версий этого же участника) | |||
| Строка 1: | Строка 1: | ||
==ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ== | ==ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ== | ||
* После изменить данные файлы как в примере: | |||
/etc/postfix/main.cf | |||
... | |||
# HELO restriction | |||
smtpd_helo_required = yes | |||
smtpd_helo_restrictions = | |||
'''permit_mynetworks''' | |||
'''permit_sasl_authenticated''' | |||
check_helo_access pcre:/etc/postfix/helo_access.pcre | |||
reject_non_fqdn_helo_hostname | |||
reject_unknown_helo_hostname | |||
# Sender restrictions | |||
smtpd_sender_restrictions = | |||
'''permit_mynetworks''' | |||
'''permit_sasl_authenticated''' | |||
reject_non_fqdn_sender | |||
reject_unlisted_sender | |||
check_sender_access pcre:/etc/postfix/sender_access.pcre | |||
reject_unknown_sender_domain | |||
# Recipient restrictions | |||
smtpd_recipient_restrictions = | |||
'''permit_mynetworks''' | |||
'''permit_sasl_authenticated''' | |||
reject_non_fqdn_recipient | |||
reject_unlisted_recipient | |||
check_policy_service inet:127.0.0.1:7777 | |||
reject_unauth_destination | |||
check_policy_service inet:127.0.0.1:12340 | |||
... | |||
mynetworks = 127.0.0.1''', 10.0.0.0/24''' # добавить тут вашу сеть.. | |||
... | |||
* В каталоге заменить ссылками сертификаты на полученные от certbot: | |||
rm /etc/ssl/private/iRedMail.key | |||
rm /etc/ssl/certs/iRedMail.crt | |||
ln -s /etc/letsencrypt/archive/mail.mydomain.ru/privkey1.pem /etc/ssl/private/iRedMail.key | |||
ln -s /etc/letsencrypt/archive/mail.mydomain.ru/fullchain1.pem /etc/ssl/certs/iRedMail.crt | |||
* В /etc/hosts | |||
... | |||
127.0.0.1 localhost localhost.localdomain | |||
'''2.11.1.7 mydomain.ru''' | |||
'''2.11.6.3 mail.mydomain.ru''' | |||
* В /etc/mailname | |||
'''mail.mydomain.ru''' | |||
* В /opt/iRedAPD-5.9.1/settings.py | |||
... | |||
# Enabled plugins. | |||
##plugins = ["reject_null_sender", "wblist_rdns", "reject_sender_login_mismatch", "greylisting", \ | |||
"throttle", "amavisd_wblist", "sql_alias_access_policy", "sql_ml_access_policy"] | |||
'''plugins = ["reject_null_sender", "wblist_rdns", "reject_sender_login_mismatch", "throttle", \''' | |||
'''"amavisd_wblist", "sql_alias_access_policy", "sql_ml_access_policy"]''' | |||
... | |||
==ПОЛЕЗНОЕ== | ==ПОЛЕЗНОЕ== | ||
| Строка 8: | Строка 63: | ||
* [https://www.dmosk.ru/instruktions.php?object=iredmail-ubuntu Полноценный почтовый сервер с iRedMail на Ubuntu или Debian] | * [https://www.dmosk.ru/instruktions.php?object=iredmail-ubuntu Полноценный почтовый сервер с iRedMail на Ubuntu или Debian] | ||
* [https://allchina.a-lisa.org/?p=811 Полноценный почтовый сервер с iRedMail на Ubuntu] | * [https://allchina.a-lisa.org/?p=811 Полноценный почтовый сервер с iRedMail на Ubuntu] | ||
==ИСТОЧНИКИ== | |||
* [http://www.iredmail.org/ '''iRedMail'''— open-source почтовый сервер, основанный на Postfix и Dovecot.] | |||
Текущая версия от 05:59, 2 января 2026
ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ
- После изменить данные файлы как в примере:
/etc/postfix/main.cf ... # HELO restriction smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks permit_sasl_authenticated check_helo_access pcre:/etc/postfix/helo_access.pcre reject_non_fqdn_helo_hostname reject_unknown_helo_hostname # Sender restrictions smtpd_sender_restrictions = permit_mynetworks permit_sasl_authenticated reject_non_fqdn_sender reject_unlisted_sender check_sender_access pcre:/etc/postfix/sender_access.pcre reject_unknown_sender_domain # Recipient restrictions smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 reject_unauth_destination check_policy_service inet:127.0.0.1:12340 ... mynetworks = 127.0.0.1, 10.0.0.0/24 # добавить тут вашу сеть.. ...
- В каталоге заменить ссылками сертификаты на полученные от certbot:
rm /etc/ssl/private/iRedMail.key rm /etc/ssl/certs/iRedMail.crt ln -s /etc/letsencrypt/archive/mail.mydomain.ru/privkey1.pem /etc/ssl/private/iRedMail.key ln -s /etc/letsencrypt/archive/mail.mydomain.ru/fullchain1.pem /etc/ssl/certs/iRedMail.crt
- В /etc/hosts
... 127.0.0.1 localhost localhost.localdomain 2.11.1.7 mydomain.ru 2.11.6.3 mail.mydomain.ru
- В /etc/mailname
mail.mydomain.ru
- В /opt/iRedAPD-5.9.1/settings.py
... # Enabled plugins. ##plugins = ["reject_null_sender", "wblist_rdns", "reject_sender_login_mismatch", "greylisting", \ "throttle", "amavisd_wblist", "sql_alias_access_policy", "sql_ml_access_policy"] plugins = ["reject_null_sender", "wblist_rdns", "reject_sender_login_mismatch", "throttle", \ "amavisd_wblist", "sql_alias_access_policy", "sql_ml_access_policy"] ...
ПОЛЕЗНОЕ
- iRedAdmin-Pro crack бесплатно установка
- Исправление кода веб-интерфейса
- Дополнительные настройки iRedMail
- Настройка iredmail на debian 10 (buster)
- Полноценный почтовый сервер с iRedMail на Ubuntu или Debian
- Полноценный почтовый сервер с iRedMail на Ubuntu
