locals question

2001-06-01 Thread MMP Wolfgang Rupp

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?

example: I want the machine to accept mail to
[EMAIL PROTECTED] and [EMAIL PROTECTED]
but not for [EMAIL PROTECTED] (one www domain)

regards

Wolfgang Rupp
Network Administrator
Mayr-Melnhof Packaging GmbH
Floragasse 7/6
A-1040 Wien
Tel: +43-1-50257-238
Fax: +43-1-50257-260



Summary: locals question

2001-06-01 Thread MMP Wolfgang Rupp

Thank you for the quick response.

After arjen's and Adam's suggestions, I did the following:
- take the www-domains out of locals
- virutaldomains: foo.com:alias-foo
- created $QMAILDIR/alias/.qmail-foo-postmaster

And I did not create a .qmail-foo-default with #, because
I need valid bounces. I can't let the machine ack a message
and then send it to /dev/null.

cheers

Wolfgang Rupp
Network Administrator
Mayr-Melnhof Packaging GmbH
Floragasse 7/6
A-1040 Wien
Tel: +43-1-50257-238
Fax: +43-1-50257-260