Перейти к концу метаданных
Переход к началу метаданных

Вы просматриваете старую версию данной страницы. Смотрите текущую версию.

Сравнить с текущим просмотр истории страницы

« Предыдущий Версия 9 Следующий »

ответвление с помощью Milter протокола

  1. Убедитесь, что вы используете Postfix версии 2.4.6 или выше.
  2. Настройте Mailarchiva для получения трафика по протоколу Milter
  3. Настройка Postfix
    1. Icon
      У ранних версий Postfix milter клиент с ошибками, приводящий к архивированию сообщений с пустым телом. Postfix v2.3.4 и более ранних версий не работает с Архива из за ошибки в клиенте Postfix. В этом случае, используйте BCC SMTP.
    2. Добавьте данные строки в файл конфигурации main.cf Postfix, где 127.0.0.1:8091 IP адрес и порт где запущен Milter коннектор Архива

      main.cf
    3. Перезапустите postfix

       

Icon

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

 

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

main.cf

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.

 

BCC ответвление

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.

 

Архива Configuration

 

  1. Click Configuration->Listeners.
  2. Select SMTP Listener in the drop down and then click the New Listener button.
  3. Check "Listen for incoming SMTP/Exchange requests"
  4. Leave the SMTP port as 8091
  5. Click Save
Postfix Configuration
 

To accomplish this:
 

  1. Create a new mailbox called "journal" and set a password (on Unix, you would typically use the useradd command to create a new user)
  2. Add the following line to Postfix's main.cf:
    always_bcc = journal@domain.com (replace journal@domain with your domain)

  1. In Архива, select Connections -> IMAP Client -> New Connection. Add a new IMAP journal account connection to the IMAP service running on the Postfix server.
  2. Optionally: enable IMAP Idle to receive message arrival notification as opposed to polling (if you later find archiving stops after a period, you will need to disable IMAP Idle again)
  • Ни одной