|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: (SOLVED) Postfix unknown "the initial dot" for subdomain rules.
From: Truong Tan Son (sontt
fcv.fujitsu.com)
Date: Wed Aug 03 2005 - 19:47:37 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dear Sir,
Follows your advice, I remove "smtpd_access_maps" from "parent_domain_matches_subdomains", now, postfix knows the initial dot for
subdomains.
It run very good.
Thanks you very much.
----- Original Message -----
From: "Magnus Bäck" <magnus
dsek.lth.se>
To: <postfix-users
postfix.org>
Sent: Wednesday, August 03, 2005 4:31 PM
Subject: Re: Postfix unknown "the initial dot" for subdomain rules.
On Wednesday, August 03, 2005 at 11:08 CEST,
Truong Tan Son <sontt
fcv.fujitsu.com> wrote:
> I configured postfix2.2.4 to prevent users send message to subdomains,
> but postfix seem unknown subdomains that I assigned.
>
> There is configuration:
>
> #/etc/postfix/main.cf
> smtpd_recipient_restrictions = check_sender_access
> hash:/etc/postfix/policy_by_senders \
> permit_mynetworks,
> reject_unauth_destination
> smtpd_restriction_classes = only_internal_mail
> only_internal_mail = check_recipient_access
> hash:/etc/postfix/allowed_recipients, reject
>
> #/etc/postfix/policy_by_senders
> virtualdomain.com only_internal_mail
>
> #/etc/postfix/allowed_recipients
> virtualdomain.com permit_mynetworks, reject
> .virtualdomain.com reject
> ^^^^^^^^^^^^^^^^^^^^^^^
> /|\
> |
> Not Effective
Like access(5) says, domain.tld will match subdomains if
smtpd_access_maps is listed in parent_domain_matches_subdomains.
Otherwise, .domain.tld can be used to match subdomains.
Ergo, remove smtpd_access_maps from parent_domain_matches_subdomains.
[...]
--
Magnus Bäck
magnus
dsek.lth.se
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]