Some scalability concerns when using .qmail-domain-default:
We did the same thing when acquiring a company that was approximately 75%
or size. To a point the following solution seemed perfect since it ony
required that we change the duplicate email users' settings to include the
prefix. Everyone else could simply use their old settings. But then
every message to a majority of the users (not including the duplicates)
experiences a two delivery attempts. So if the following was true:
if 1 qmail user = 1 unit of load to the server
us: 12000 users
company A: 8000 users (including 500 duplicates)
assuming a message to the remaining 7500 must be delivered twice,
we just added approximatly 15000 units of load to a server group that was
doing 12000
Obviously pop3 logins and remote deliveries are increased only by the
number of users.
Anyway, we decided to proceed with the following for future growth.
Add all customers of the new domain with a prefix (included in
virtualdomains, of course). Then implement a second instance of
checkpassword that attaches the prefix on login. We based it on port
number because we could redirect port25 on an address to port xxxx on the
server with the help of an Alteon layer4 switch. But smaller
establishments could do this by patching checkpassword to attach a prefix
based on the incoming IP address. That way you just grab companyB.com's
DNS records and map mail.companyB.com to an additional IP that you specify
for one of you interfaces. Of course you'd only be able to specify 253
additional IP addresses per NIC....<shrug>
Let me know if I am completely off my rocker here !
Harald Hanche-Olsen wrote:
> put the following in ~alias/.qmail-domain-default:
>
> |forward "$DEFAULT"@example.com
>
> (RTFM qmail-command for the meaning of environment variables)
>
> - Harald
--
------------------------------------------------------------------------
// Jere Cassidy - System Administration - D&E SuperNet
email: [EMAIL PROTECTED] phone: (717)738-7054
web: http://www.desupernet.net/jere
pager/pcs: [EMAIL PROTECTED] - (717)203-0042
~~~ "While sowing the seeds of Utopia,
you invoked a convenient amnesia" -BR ~~~
------------------------------------------------------------------------