Bug#312667: exim4 uses /etc/email-addresses to send, but not to recieve

Marcos D. Marado Torres "Marcos D. Marado Torres" <marado@student.dei.uc.pt>, 312667@bugs.debian.org
Thu, 9 Jun 2005 14:02:18 +0100 (WEST)


Package: exim4
Version: 4.50-8

Greetings,
Probably this problem is a misconfiguration of mine, but I didn't see anyware
in the doc's or google'ing explaining this issue...

In a server with two hosts, I want that mails to user@domain1.com go to user's
Maildir, and mails to user@domain2.com go to test's Maildir (being 'user' and
'test' two users in the machine).

With postfix (which I used earlier) adding a line like 
test: user@domain2.com
to /etc/email-addresses would solve my problem. The issue is that, with exim4,
that line makes (and gladly it does) sent e-mails by test user to go as
"user@domain2.com", but e-mails sent to user@domain2.com still goes to user's
Mailbox instead of going to test's Mailbox! Is this a bug or do I need to do
something else so the mails go to "test" instead of "user"? If I need to do
something else, what?

Thanks for your time,
Marcos Marado

-- 
/* *********************************************************** */
    Marcos Daniel Marado Torres     AKA      Mind Booster Noori
    http://student.dei.uc.pt/~marado  -	 marado@magicbrain.biz
    () 	Join the ASCII ribbon campaign against HTML e-mail and
    /\ 	Microsoft attachments.        They endanger the World.
/* *********************************************************** */