Всем Добрый день!
Решил подключить RSPAMD, для фильтрации спама
Интеграция с MTA судя по документации проходит только через RMILTER
При подключении rmilter в main.cf
#rsapmd
smtpd_milters = unix:/var/run/rmilter/rmilter.sock;
milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}
milter_protocol = 6
milter_rcpt_macros = i {rcpt_addr}
# #skip mail without checks if milter will die
milter_default_action = accept
В логах var/log/maillog.
warning: connect to Milter service unix:/var/run/rmilter/rmilter.sock;: No such file or directory
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: "j"
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: result "mail.site.ru"
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: "{daemon_name}"
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: result "mail.site.ru"
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: "v"
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: result "Postfix 2.6.6"
Jan 26 13:28:05 status postfix/smtpd[16870]: milter8_connect: non-protocol events for protocol version 6:
Jan 26 13:28:05 status postfix/smtpd[16870]: milter8_connect: transport=unix endpoint=/var/run/rmilter/rmilter.sock;
Jan 26 13:28:05 status postfix/smtpd[16870]: warning: connect to Milter service unix:/var/run/rmilter/rmilter.sock;: No such file or directory
Jan 26 13:28:05 status postfix/smtpd[16870]: milter8_conn_event: skip milter unix:/var/run/rmilter/rmilter.sock;
....
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: "i"
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: "{mail_addr}"
Jan 26 13:28:05 status postfix/smtpd[16870]: ctable_locate: leave existing entry key tester@site.ru
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: result "tester@site.ru"
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: "{client_addr}"
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: result "127.0.0.1"
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: "{client_name}"
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: result "localhost"
Jan 26 13:28:05 status postfix/smtpd[16870]: milter_macro_lookup: "{auth_authen}"
Jan 26 13:28:05 status postfix/smtpd[16870]: milter8_mail_event: skip milter unix:/var/run/rmilter/rmilter.sock;
-
Postfix не в chroot
-
В /var/run/rmilter/
оба файла rmilter.sock и rmilter.pid лежат