[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IP Based Virtual Hosting
>>Instead of dropping joeblow into ~joeblow - I need it to
>>drop him into /virtual/virt1.com.
>>Also, let's say the sales department of both virt1.com and virt2.com
>>want the e-mail alias 'sales'. One of them would be out of luck -
>>as only one alias would be possible - unless there was a virtual
>>sendmail setup - each virtual with their own aliases and passwd.
>>
>>Anyone know anything about this?
>Yes.
>It's possible to alias user names in sendmail; in Red Hat there's an /etc/alias
>file.
No, don't use /etc/aliases, that will make the aliases global to all domains
hosted by the sendmail server, at least as I understand it. Multiple
domains on sendmail is MUCH easier than one first thinks >>INSERT DEVILISH
LAUGHTER HERE <<
See:
http://www.sendmail.org/virtual-hosting.html for a step-by-step
Some people rave that qmail is easier and more flexable, but I've tried it
and while it looks great it is in the same catagory as LDAP and Kerberos...
a great system with NO STINKING DOCUMENTATION.
>tricks. This would best be done gently, by looking at the existing sendmail.cf
>file in /etc
I don't think looking there will help you at all. Use the m4 config file
generators with great abandon, and avoid trying to work in /etc/sendmail.cf
manually at all cost.
>
>Seems that telnet and some other services would go to the "right" place as a
>result of DNS, but it's no clear how to do the same logon name to a host with
>two different domains.
>
Hmm, I don't think things like telnetd have much support for ip aliasing. A
telnetd simply binds to all available interfaces (as far as I know). With
things like LDAP I think a machine can handle "who that user is" in a much
more complicated manner, but I'm not sure how that all works.A
>Perhaps one of the network admins here can chime in?
Ding!