Lo,
I use exim+tpop3d...
Everything completely MySQL driven, and I don't use local deliveries at all
(mail recipients for which there are a account on the server). My primary
domain name, is also setup as a virtual host, and goes into the same fashion
as the rest of the domains as listed below.
All mail goes to /var/spool/mail/(.primary|.secondary)/xx/(domain
name)/(user name)
or, /var/mail/spool/.primary/ab/abc.com/username for example.
tpop3d picks up the mail, and delivers it to the user via a user@domain
authentication method, while authentication without a (@|!|:)domain part
defaults to my primary domain name. Secondary MX mail (backups) are stored
in BSMTP under mail/.secondary/(domain) and re-injected once the host is
back online (which is checked by different software and more MySQL
jargon(tm)). Of the few ten thousand users I currently host on a few
thousand domains, not one single ${local_part} has a account on my server(s)
for mail access. Everything's done under generic UID/GIDs which only Exim
and tpop3d can access, whilst all authentication, management, routing and
directing happens from generic MySQL databases configured and managed by my
customers... Furthermore, I've also implemented some generic stuff, such as
virus scanning, mailing lists, aliasfiles, rbl, SSL, authentication, pop b4
smtp, etc.
It works pretty neat, and I do allot of additional MySQL jargon(tm) such as
blocking senders based on specific recipients and all kinds of stuff. Even
aliases and forwarders (originally the .forward files) are managed through
MySQL jargon(tm) which is in return, all setup in a nice little PHP
interface allowing my customers to manage their email, *click* Just like
that!
I'd definitely have to take my hat of to Philip for the excellent platform
(exim) to implement such awesome mailing systems on. I'm hooked on Exim
till the day I die!
--
me
----- Original Message -----
From: "James Harr" <james@???>
To: <exim-users@???>
Sent: Saturday, July 13, 2002 10:25 PM
Subject: [Exim] Virtual Host woes
> Hi,
>
> I've been searching for some virtual-hosting solutions. Something where I
> don't have to worry about mapping virtual users to local users.
>
> I've seen proprietary setups for users like:
> /home/fubar/etc/passwd
> All the uids are set to the same thing as fubar's uid (an actual system
> account).
>
> Then they use a proprietary pop3/smtp server to retreive email (by using a
> full email address for logins).
>
> Any idea on an equivalent?
>
> Just thought I'd search for what some people use for a solution.
>
> Thanks,
> James Harr
> PS - I don't care whether it is a blackbox approach or not, I just want
> something that works and isn't a half-assed setup.
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at
http://www.exim.org/ ##
>
>
>