On Tue, Aug 22, 2000 at 11:37:35PM +1000, Mighty Dragon wrote:
> Hi folks,
> 
> If I configured the Sendmail on my server ( say: [EMAIL PROTECTED] ),  can I 
>configure the Sendmail to receive emails for virtual hosted sites on the same server, 
> say : [EMAIL PROTECTED] and [EMAIL PROTECTED] ?
> Thanks for the replies.

        Yes. If all you want is a direct mapping of virtual1 and virtual2 onto myhost 
then you can just put hose domains into sendmail.cw for sendmail <=8.9 or 
local-host-names >=8.10.

        If you want the domains mapping to be different then you need to use a virtual 
user table. Makesure virtusertable is enabled in you're sendmail.mc like such
FEATURE(virtusertable)dnl
then recreate your .cf (just a make in /etc/mail on debian)
then add entries like the following in /etc/mail/virtusertable

[EMAIL PROTECTED]    [EMAIL PROTECTED]
[EMAIL PROTECTED]    user
@virtualTwo.com.au      [EMAIL PROTECTED]

etc

I could probably clarify this a bit better, but I'm hoping you actually wanted the 
first option :)

> 
> Lewis

-- 
John


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to