Outils pour utilisateurs

Outils du site


tutoriaux:install-email-server:install-email-server-part-8

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tutoriaux:install-email-server:install-email-server-part-8 [2023/04/23 16:35] – [Improving Amavis Performance] fratertutoriaux:install-email-server:install-email-server-part-8 [2023/04/23 16:48] (Version actuelle) – [Installation] frater
Ligne 424: Ligne 424:
 <code bash>sudo apt install postgrey</code> <code bash>sudo apt install postgrey</code>
  
-==== Configuration =====+the package is self installing, you have noting to change to the postfix's configuration files. 
 +==== Configuration ====
  
 ''postgrey'' is, out-of-the-box working (by replying to unknown sender to retry sending later (usually 5 minutes). ''postgrey'' is, out-of-the-box working (by replying to unknown sender to retry sending later (usually 5 minutes).
  
-you may want to "whitelist" sender or destination email (by white listing you're **NOT** applying any delay or retry policies).+You may want to "whitelist" sender or destination email (by white listing you're **NOT** applying any delay or retry policies).
  
-edit the two files in ''/etc/postgey/' directory+Edit the two files in ''/etc/postgey/'' directory
  
     * ''whitelist_clients'' is for whitelisting the sender's hostname      * ''whitelist_clients'' is for whitelisting the sender's hostname 
     * ''whitelist_reciepients'' is for not applying **ANY** delay nor retry to specific destination (internal) email.     * ''whitelist_reciepients'' is for not applying **ANY** delay nor retry to specific destination (internal) email.
  
 +==== examples ====
  
 +<code sshconfig whitelist_recipients>
 +# postgrey whitelist for mail recipients
 +# --------------------------------------
 +# put this file in /etc/postgrey or specify its path with --whitelist-recipients=xxx
  
 +# do not delay mail to :
 +postmaster@
 +abuse@
 +</code>
  
 +<code sshconfig whitelist_clients>
 +# postgrey whitelist for mail client hostnames
 +# --------------------------------------------
 +# put this file in /etc/postgrey or specify its path with --whitelist-clients=xxx
 +#
 +# postgrey version: 1.36, build date: 2015-09-01
  
 +# Debian-specific additions
 +# I *know* they run real mail queues, so greylisting only creates bigger load for them.
 +debconf.org
 +debian.org
 +spi-inc.org
 +
 +# you may also add IPs
 +1.1.1.1
 +
 +# or regex expressions:
 +/^mail\d+\.telekom\.de$/
 +</code>
 ===== Skip Virus-Checking for Your Newsletters ===== ===== Skip Virus-Checking for Your Newsletters =====
  
tutoriaux/install-email-server/install-email-server-part-8.1682260547.txt.gz · Dernière modification : 2023/04/23 16:35 de frater