Настройка Архива
...
- Click Configuration->Listeners.
- Select Milter Listener in the drop down and then click the New Listener button.
- Check "Listen for incoming Sendmail/Postfix requests"
- Leave the Sendmail Milter port as 8092
- Click Save
To test whether Архива's milter server is actually listening on port 8092, drop to the command prompt and telnet to port 8092.
...
- создайте и настройте Milter коннектор на порт 8092
проверьте с помощью telnet соединение на порту 8092 на сервере где установлена Архива
Code Block language bash $telnet mailarchiva.local 8092
Настройки SendMail
добавьте данные строки в файл sendmail.mc, где 8092 - это порт, в 127.0.0.1 - адрес Архива
Code Block language bash title sendmail.mc INPUT_MAIL_FILTER(`mailarchiva', `S=inet:8092@127.0.0.1')dnl
If Архива resides on another server, replace 127.0.0.1 above with the IP address of the Архива server
...
скомпилируйте sendmail.mc
...
Code Block language bash $m4 /etc/mail/sendmail.mc >/etc/mail/sendmail.cf
...
перезапустите sendmail
Code Block language bash /etc/init.d/sendmail restart