Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Eviter l'envoi de mail dont l'utilisateur N'existe pas

1 réponse
Avatar
pcouas
Bonjour,

J'utilise POSTFIX.
Existe t il un moyen simple d'eviter l"envoi de mail par des comptes
mail ou alias Inconnu sur mon serveur.

Merci
Philippe

1 réponse

Avatar
Frank Alt
wrote:

Bonjour,

J'utilise POSTFIX.
Existe t il un moyen simple d'eviter l"envoi de mail par des comptes
mail ou alias Inconnu sur mon serveur.

Merci
Philippe


voir dans la doc de postfix le fichier sample-smtpd.cf

#
# SENDER ANTI-SPOOFING
#

# The smtpd_sender_login_maps parameter specifies the (SASL) login
# name that owns a sender (MAIL FROM) address.
#
# Specify zero or more maptype:mapname entries. Maps are created with
# postmap(1) or with equivalent means. The maps are searched in the
# specified order. Regexp tables are allowed.
#
# Each map entry specifies a sender address and the login name that
# owns the address. The search order is:
#
# 1) owner
#
# This form has the highest precedence.
#
# 2) user owner
#
# This matches when site is equal to $myorigin, when site
# is listed in $mydestination, or when it is listed in $inet_interfaces.
#
# 3) @domain owner
#
# This matches every address in the specified domain, and has the
# lowest precedence.
#
#smtpd_sender_login_maps =