[Exim] A Virtual Domains Problem

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Wayne Swart
Dátum:  
Címzett: Exim Mailing List
Tárgy: [Exim] A Virtual Domains Problem
Hello you guys and girls

I have a bit of a problem (As you coulda guessed)

I have a mailserver (runnin Exim 4.24), that handles mail for about 40 or
so domains and has + - 350 users.

Now I have a primary domain that I want to use, lets say "domain1". All
the rest of the domains are configured in /etc/aliases

system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part@$domain}lsearch{/etc/aliases}}
user = mailnull
group = mail
file_transport = address_file
pipe_transport = address_pipe

Now when I have a user called "bleh@???" and it has a
physical user called bleh on the box, I need to be able to configure a
router that will first check the aliases file, and if it is not found it
must only then deliver the mail for "bleh@domain1", else, it must bounce.

Cause now, if I send mail to to
"bleh@any_domain_my_server_handles_mail_for" it will deliver, since bleh
is a valid user on the box, otherwise I will have to add aliases for each
and every user on my box, includeing all the users for "domain1" :-/ which
I do not wanna do.


Can someone please help?

Thanks

Wayne.


In a world with no boundaries, Who Needs Gates?