I know this can be done easily with Postfix.
Set up your "catchall" in virtual maps like this
@yourdomain.con catchall@???
Everything sent to yourdomain.com will be routed to catchall@???
Then you can set up your actual users in a canonical map
user1@??? localuser1
user2@??? localuser2
You might be able to set up your actual users with alias mapping as well but
I am not sure if the aliases get processed before or after virtual maps.
I am pretty sure that canonical mappings get processed after the virtual
mappings though. The above scheme has worked for me.
I have not found out how to do this with exim.
On 11/18/02 12:17 AM, "Sebastian Lemke" <s.lemke@???> wrote:
> This is a multi-part message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
> Hello @all,
>
> I am very new to exim; actually I use postfix and cyrus with a mysql-db
> for authentification.
>
> I have a little problem; I would like to host multiple domains at one
> server (with one ip-address) - but I would like to have an 'default'
> adress for each domain.
> For example - I am hosting
> domain1.com
> domain2.com
> Now I get an email 'unknown-user@???' and I would like to
> forward this one to an real existing user at domain1.com - the same
> thing for domain2.com. Therefore I don't want mails for unknown-users
> get forwarded to one global account, but to one account per domain.
> If I understand postfix (!) correctly I only can forward mails to
> unknown users to an global account.
> Therefore I looked for another program.
> I have searched the documentation and mailing lists of exim, but
> actually didn't found anything.
>
> Another thing is - is it possible to use an mysql-database for
> authentification (perhaps via pam) ?
>
> Thank you.
> Sebastian
>
> --
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
>
-- web hosting --
http://www.jpkvideo.net