Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Formatting was changed.

Настройка Архива

...

  1. Click Configuration->Listeners.
  2. Select Milter Listener in the drop down and then click the New Listener button.
  3. Check "Listen for incoming Sendmail/Postfix requests"
  4. Leave the Sendmail Milter port as 8092
  5. Click Save
To test whether Архива's milter server is actually listening on port 8092, drop to the command prompt and telnet to port 8092. 

...

  1. создайте и настройте Milter коннектор на порт 8092 
  2. проверьте с помощью telnet соединение на порту 8092 на сервере где установлена Архива 

    Code Block
    languagebash
    $telnet mailarchiva.local 8092
Настройки SendMail
  1. добавьте данные строки в файл sendmail.mc, где 8092 - это порт, в 127.0.0.1 - адрес Архива 

    Code Block
    languagebash
    titlesendmail.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

...

  1. скомпилируйте sendmail.mc

...

  1. Code Block
    languagebash
    $m4 /etc/mail/sendmail.mc >/etc/mail/sendmail.cf

...

  1. перезапустите sendmail 

    Code Block
    languagebash
     /etc/init.d/sendmail restart