OSEC

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

From: Matt Eckhaus (mattvncmathomat.net)
Date: Wed Aug 02 2006 - 01:13:58 CDT


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?

Thanks,
Matt