On Tue, Aug 22, 2000 at 11:37:35PM +1000, Mighty Dragon wrote:
Hi,
> 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.
>
you have to edit your sendmail.mc
add the following line to your std.mc
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable')
generate you new cf file
m4 std.mc >std.cf
edit your /etc/mail/virtusertable
looks like this:
virtual account local-mailbox account
----
[EMAIL PROTECTED] usr1
[EMAIL PROTECTED] usr2
----
generate the db-File
makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable
restart sendmail
P.S. dont forget to put the domainnames to local-host-names / Sendmail
8.11.0 or sendmail.cw < 8.10.0
amu
--
Lat: 39 55 N Long: 32 50 E
----------------------------------------------------------------------
Public-gpg-Key: http://tr.debian.net/amu/amu.key
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug