<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
On Thu, 2006-05-18 at 10:02 -0400, Aaron Vegh wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi all,</FONT>
<FONT COLOR="#000000">I've scoured the net in vain for an answer to this question, and it</FONT>
<FONT COLOR="#000000">may be as much because I'm not sure if I'm asking my question</FONT>
<FONT COLOR="#000000">correctly. Which is why I turn to the geniuses on this list... :-)</FONT>
<FONT COLOR="#000000">I have a server hosting multiple domains. My user on that machine,</FONT>
<FONT COLOR="#000000">aaron, wants to have separate POP accounts for the machine. So I'd</FONT>
<FONT COLOR="#000000">like to have</FONT>
<FONT COLOR="#000000"><A HREF="mailto:aaron-WNbSnoOWcWBBDgjK7y7TUQ@public.gmane.org">aaron@domain1.com</A>, and</FONT>
<FONT COLOR="#000000"><A HREF="mailto:aaron-dL8jOpOjefRBDgjK7y7TUQ@public.gmane.org">aaron@domain2.com</A></FONT>
<FONT COLOR="#000000">Currently, mail sent to either address goes to both POP accounts in my</FONT>
<FONT COLOR="#000000">mail client. This makes sense of course because I'm logging in as the</FONT>
<FONT COLOR="#000000">same user.</FONT>
<FONT COLOR="#000000">But how can I have separate logins? I've seen where some ISPs do</FONT>
<FONT COLOR="#000000">sufficient aggregations that they change their system so you have to</FONT>
<FONT COLOR="#000000">log in with your complete email address. I'd like to keep the same</FONT>
<FONT COLOR="#000000">user on the system, but segregate the email somehow.</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
You really need two things. <BR>
<BR>
1. You need to setup your email server (sendmail, postfix) to virtualize domains. In Sendmail this is done in the virtusertable. This allows you to route the addresses differently. I think this is one of the pieces that you aremissing.<BR>
<BR>
2. you need a way to identify users differently. The easy approach is to create accounts with slightly different names (e.g. aaron1 aaron2.) The most elegant way is to use the email address, but IIRC this requires a patch.<BR>
<BR>
For this solution I use sendmail (my fav) and cyrus-imap then would layer it with LDAP. Cyrus gives you a lot of benefit here in that it doesn't require operating system users. This way you don't have to worry about your users SSHing in. Although if that's preferrable, it doesn't stop you.<BR>
<BR>
If this is for an ISP type setup, rather than something simple, check out ISPMAN.net<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
<TABLE CELLSPACING="0" WIDTH="500">
<TR>
<TD>
<B>John Van Ostrand</B>
</TD>
<TD ALIGN="right">
<B>Net Direct Inc.</B>
</TD>
<TD>
</TD>
</TR>
<TR>
<TD VALIGN="top">
<I>Chief Technology Officer</I>
</TD>
<TD ALIGN="right">
564 Weber St. N. Unit 12<BR>
Waterloo, ON N2L 5C6
</TD>
<TD VALIGN="top">
<A HREF="http://maps.google.ca/maps?q=Net+Direct+Inc.,+564+Weber+St.+N.+Unit+12,+Waterloo,+ON+N2L+5C6,+canada&ll=43.494599,-80.548222&spn=0.038450,0.073956&iwloc=A&hl=en">map</A>
</TD>
</TR>
<TR>
<TD>
<A HREF="mailto:john-Da48MpWaEp0CzWx7n4ubxQ@public.gmane.org">john-Da48MpWaEp0CzWx7n4ubxQ@public.gmane.org</A>
</TD>
<TD ALIGN="right">
Ph: 519-883-1172
</TD>
<TD>
ext.5102
</TD>
</TR>
<TR>
<TD>
<A HREF="http://www.netdirect.ca">Linux Solutions / IBM Hardware</A>
</TD>
<TD ALIGN="right">
Fx: 519-883-8533
</TD>
<TD>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>