From: Noel Jones (no email)
Date: Fri Sep 16 2005 - 16:27:31 EDT
At 02:50 PM 9/16/2005, Gordon Thagard wrote:
>Postfix 2.2.5 on shell-access machine
>
># cat /etc/postfix/main.cf
>...
>smtpd_recipient_restrictions =
> check_recipient_access dbm:/etc/postfix/block_mysubdomains,
> reject_unauth_destination,
> permit
>...
>
># cat /etc/postfix/block_mysubdomains
>eng.fsu.edu DUNNO
>.eng.fsu.edu REJECT
The syntax ".example.com" only works if you set
parent_domain_matches_subdomains =
(empty value)
http://www.postfix.org/postconf.5.html#parent_domain_matches_subdomains
An alternative is to use the regexp table as suggested earlier, but
with check_recipient_access.
-- Noel Jones
|
|
|