I just set up a second web site on my personal server--not in a jail--and realized I wanted to be able to log in as doc@domain2.com and not just doc@domain1.com. Right now I log in to domain1 with ssh but, when I login to domain2.com, my hostname in my prompt shows as domain1.com. So I don't know, or I've forgotten, how to do that if it's possible at all.
What I want to be able to do, among other things, is have the ability to send mail as either doc@domain1.com or doc@domain2.com depending in which domain I logged into. It would be nice to
Can someone get me started or point me in the right direction?
What I want to be able to do, among other things, is have the ability to send mail as either doc@domain1.com or doc@domain2.com depending in which domain I logged into. It would be nice to
su
into either domain, too, and accomplish the same thing but that might involve MASQUERADE
in sendmail.mc. I'm just now looking into that side of things so I'm still trying to get back up to speed and that may be a separate topic altogether.Can someone get me started or point me in the right direction?