Hi,

Thanks for your answer.

for the moment, I have configured exim like this :
[...]
domainlist local_domains = stg.com:frog.com:localhost
[...]
smarthost_stg:
  driver = manualroute
  domains = +local_domains
  local_parts = lsearch;/etc/exim/valid_mailboxes_stg
  transport = remote_smtp
  route_list = "* 192.168.102.12"

smarthost_frog:
  driver = manualroute
  domains = +local_domains
  local_parts = lsearch;/etc/exim/valid_mailboxes_frog
  transport = remote_smtp
  route_list = "* 192.168.102.12"
...

So, if I replace smarthost_stg and smarthost_frog section by :

data = [EMAIL PROTECTED]/etc/aliases}}

and if I configure /etc/aliases like this :
[EMAIL PROTECTED]
[EMAIL PROTECTED]

is it ok ?

What I don't understand is how it will work :
if [EMAIL PROTECTED] receives an e-mail, in which mailboxe will it goes ?
/home/toto1/Maildir/new ?
and how does it work for [EMAIL PROTECTED] ? Will the mail goes in
/home/toto1/Maildir/new directory ?
What I want is to have 2 different directories (one for each domain)

thanks for your precious help ;-)
JPB

2006/7/5, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> > When I send an e-mail to [EMAIL PROTECTED] or [EMAIL PROTECTED]
> > it goes in the same mailbox : user1 My problem is that I
> > need to have 2 different mailboxes : One for [EMAIL PROTECTED]
> > and another one for [EMAIL PROTECTED]
>
> This is because Exim router for local delivery doesn't take into
> account different domains. So you need to modify and build a
> domain based local delivery.
>
> For example a alias file per domain etc.
>
> http://www.exim.org/exim-html-4.50/doc/html/FAQ_4.html
>
> See: Q0405
>
> BR,
> Jori
>
-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to