OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: alias domain and undeliverable mail reports

From: Noel Jones (njonesmegan.vbhcs.org)
Date: Fri Aug 10 2007 - 09:59:04 CDT


At 06:43 AM 8/10/2007, c.baegert-listeslixium.fr wrote:
>Hi,
>
>I use virtual domains to handle several domains for all the adresses on the
>same account. But there's a problem with this configuration, because if a
>spammer sends a mail to randomemaildomain1.com, postfix answers that the
>user does not exist, without sending a mail (perfect), but if he sends it to
>randomemaildomain2.com, postfix sends 250 OK, forwards it to
>randomemaildomain1.com, and then an "undeliverable mail" is sent to the
>spammer (and of course, its address doesn't exist...). This is the most
>important part of the load of my mail server !!!
>
>my main.cf :
>virtual_maps = mysql:/etc/postfix/mysql-virtual.cf
>
>Any idea ?

Don't use wildcard rewrites such as:
domain1.tld domain2.tld

Rather use specific entries for each domain.

--
Noel Jones