We talked about this on the list last week. Henning Brauer straightened me
out...

First, read about how virtual domains work in Life with Qmail.

Then, here's an example of how I set it up:

in /var/qmail/control/virtualdomains:
nettonettech.de:quser
nettonettech.co.uk:quser
nettonettech.net:quser

in ~quser/.qmail-default:
|/var/qmail/bin/preline /var/qmail/bin/forward $[EMAIL PROTECTED]

--David


> From: "Ace Suares" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 13 Apr 2001 23:41:47 +0100
> To: [EMAIL PROTECTED]
> Subject: Domain Forwarding
> 
> Hi Ya,
> 
> I was wondering if it was possible to do something like the
> mailertable in sendmail did: forwarding entire domains, where
> [EMAIL PROTECTED] becomes [EMAIL PROTECTED]
> 
> I am using Qmail-LDAP, without the controls patch.
> 
> The reason is:
> Clients have a domain (let's say pastaebasta.nl) with 25 addresses,
> and now they want pastabasta.nl with the same 25 addresses. In
> Apache, I use ServerAlias to make both websites
> (http://www.pastaebasta.nl) look the same, but in Qmail I have no
> clue how to do such a thing.
> 
> Thanks in advance for any answer !
> 
> _Ace Suares_
> 
> 
> | Ace Suares, Internet Consultancy and Training
> | Keizersgracht 132, 1015 CW AMSTERDAM, NL
> | phone: 06 557 06 554    (+31 6 557 06 554)
> | fax: 020 870 770 5      (+31 20 870 770 5)
> | mailto:[EMAIL PROTECTED] PGP Key idea: 0x39B81FE5
> | http://www.suares.com
> 
> 

Reply via email to