From: Wietse Venema (no email)
Date: Sat Jun 01 2002 - 10:03:40 EDT
Existing primitives can do this already.
The example stops mail from yahoo.com/hotmail.com unless it comes from
specific systems.
Wietse
smtpd_sender_restrictions =
check_sender_access hash:/etc/postfix/strict_sender_map
smtpd_restriction_classes = strict_client_domain
/etc/postfix/strict_sender_map:
yahoo.com strict_client_domain reject
hotmail.com strict_client_domain reject
strict_client_domain =
check_client_access hash:/etc/postfix/strict_client_map
/etc/postfix/strict_client_map:
yahoo.com OK
hotmail.com OK
friendly.com OK
friendly.com is a host that sends/forwards legitimate mail
with a hotmail etc. sender address.
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users
|
|
|