sendmail and squirrelmail with multiple domains

"Jeremy Rodriguez" <jeremyrodriguez-ha5VgVVzQG/zxgTakmzh5gC/[email protected]>
Newsgroups gmane.linux.admin.managers
Message-ID <[email protected]>
RH 7.3 Sendmail 8.11, Squirrelmail 1.4
I have two domains being hosted on the same box. I have a local user jondoe,
I want JonhDoe to receive mail for him @ both domain1 & domain2.
When I log into either account www.domain1.com/mail
<http://www.domain1.com/mail>  or www.domain2.com/mail
<http://www.domain2.com/mail>  they both show the same mail.

As of now if I send a mail to [email protected]
<mailto:[email protected]>  and/or [email protected]
<mailto:[email protected]>  he receives the mail but they are in the same
local users mailbox.
When I send a mail from domain1 it shows johndoe-9IKiO1iGCm/[email protected]
<mailto:johndoe-9IKiO1iGCm/[email protected]>  and when I send from domain2 it shows
[email protected] <mailto:[email protected]>

My question is how can I break up the mail for the local user, so that when
john doe logs into domain1 he only gets mail for domain1 and when he logs
into domain2 he only gets mail for domain2.
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.