On Fri, 1 Jun 2001, MMP Wolfgang Rupp wrote:

> Hi all,
> 
> we have here a central mailhub, mail.mm-packaging.com. This host
> treats mail to mm-packaging.com and mail.mm-.. as local. Now I
> also listed it as preferred MX for two domains that are "www-only",
> but since postmaster@ must work, I put these domains into locals,
> as well. Now postmaster mails for these domains also get to me.
> 
> My question: how do I prevent delivery to all other recipients
> for which a .qmail file exists?

If I understand correctly, this should fix it:

put the www-only domains into $QMAILHOMEDIR/control/virtualdomains,
get them out of locals. Map them to one specific user in virtualdomains,
and there you handle it bu using .qmail files. Your local users will never
get mail for these domains.

Of course, give qmail-send a -HUP after finishing...

Grtz,

Arjen.


Reply via email to