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

Ключ

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

...

  1. Убедитесь, что вы используете Postfix версии 2.4.6 или выше.
  2. Настройте Mailarchiva для получения трафика по протоколу Milter
  3. Настройка Postfix
    1. Warning
      Earlier versions of Postfix contain a buggy milter client, causing zeroed body messages to be archived. Currently, Postfix v2.3.4 and earlier is
      known not to work well with the Архива milter capability due to a bug in Postfix. In this case, you may need to take the BCC SMTP approach (see Zimbra integration).
    2. Добавьте данные строки в файл конфигурации main.cf Postfix, где 127.0.0.1:8091 IP адрес и порт где запущен Milter коннектор Архива

      Code Block
      languagebash
      titlemain.cf
      milter_default_action = tempfail
      smtpd_milters = inet:127.0.0.1:8092

...

    1. Перезапустите postfix

       

  1. Restart postfix
sudo /etc/init.d/postfix restart

...

Then, specify your milter configuraiton as follows:
 

Info

Если вы хотите фильтровать спам с помощью Spamassasin предварительно чем отправлять почту в Архива, настройте Spamassasin как milter (Погуглить)

 

Приблизительно это будет выглядеть так:

Code Block
languagebash
titlemain.cf
milter_default_action = tempfail

...



smtpd_milters = unix:/var/run/spamass.sock inet:127.0.0.1:8092

 

In Postfix 2.6, milter_default_action can be set to hold, meaning if the archive server goes down, the messages will be placed indefinitely in a hold queue. Once the archiving service is restored, the administrator can intervene and process the messages in the hold queue.

 


Always BCC Approach

 


This approach involves configuring Postfix to send copies of all emails to a specific journal mailbox and then configuring Архива to retrieve emails from the mailbox using IMAP.

...