From: Wietse Venema (no email)
Date: Sun Jun 02 2002 - 15:55:42 EDT
While we're improving, the following rules as posted would cause
mail from hotmail etc. to be bounced when the DNS times out.
This fixes it: do client hostname access control only when the
name lookup produced a definite (exists / doesn't exist) result.
strict_client_domain =
reject_unknown_client
check_client_access hash:/etc/postfix/strict_client_map
reject
unknown_client_reject_code = 554
Wietse
Michael Tokarev:
> Wietse Venema wrote:
> []
> > 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
>
> /etc/postfix/strict_sender_map:
> yahoo.com strict_client_domain
> hotmail.com strict_client_domain
>
> strict_client_domain =
> check_client_access hash:/etc/postfix/strict_client_map, reject
>
> (`reject' moved to another place). A bit less typing... ;)
>
> /mjt
> -
> To unsubscribe, send mail to with content
> (not subject): unsubscribe postfix-users
>
>
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users
|
|
|