OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Relaying to a domain but *not* subdomains?

postfixbitfreak.org
Date: Wed Aug 02 2006 - 01:51:00 CDT


Matt Eckhaus wrote:
> I need to setup postfix to relay to a domain, say "example.com". But
> "virtual1.example.com" and "virtual2.example.com" are virtual domains
> hosted on this server.
>
> The problem is that "virtual.example.com" seems to match
> "example.com" as a relay domain, so Postfix considers it to be listed
> twice, as a relay and as a virtual domain.
>
> Is there any way to specify just "example.com" without matching
> subdomains?

Remove relay_domains from parent_domain_matches_subdomains.