LINUX:Postfix-Configuration finale
But
Par soucis de clarté, une petite synthèse de la configuration s'impose. Lors des articles précédents, nous avons proposés divers choix pour certaines options. Nous en prendrons une mais c'est adaptable.
Configuration des processus
Voici le contenu final du fichier "/etc/postfix/master.cf":
# ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (no) (never) (100) # ========================================================================== smtp inet n - n - - smtpd smtp unix - - n - - smtp local unix - n n - - local pickup unix n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr unix n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap relay unix - - n - - smtp -o syslog_name=postfix/$service_name showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n - - discard virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache postlog unix-dgram n - n - 1 postlogd # Envoi vers Proximus smtp-proximus unix - - n - - smtp -o smtp_tls_security_level=encrypt -o smtp_enforce_tls=yes -o smtp_tls_wrappermode=no -o smtp_generic_maps=hash:/etc/postfix/generic-proximus # Envoi vers Central smtp-central unix - - n - - smtp -o smtp_tls_security_level=encrypt -o smtp_enforce_tls=yes -o smtp_tls_wrappermode=yes -o smtp_generic_maps=hash:/etc/postfix/generic-central
Activation
Les commandes suivantes sont à lancer:
systemctl restart postfix