[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sendmail question - virtusertable



2 Jun 1997 ninjaz@peter.syspac.com writes:

> I have the following setup in sendmail.mc, yet, sendmail is ignoring
> /etc/virtusertable file.  I am using tabs, not spaces in
> /etc/virtusertable, and have made sure to restart sendmail to register
> changes.  (used the sendmailconfig program to convert the .mc to .cf). 
> Any pointers would be much appreciated.  :) 
> 
> sendmail.mc:
> divert(0)
> VERSIONID(`@(#)sendmail.mc      8.7 (Linux) 3/5/96')
> OSTYPE(debian)dnl
> FEATURE(always_add_domain)dnl
> FEATURE(use_cw_file)dnl
> FEATURE(use_ct_file)dnl
> FEATURE(redirect)dnl
> FEATURE(nouucp)dnl
> FEATURE(virtusertable)dnl
> MAILER(local)dnl
> MAILER(smtp)dnl
> Cwwebexpress.com netlisting.com
> MASQUERADE_AS(webexpress.com)dnl
> 
> virtusertable:
> @netlisting.com	ninjaz

I think virtusertable needs to be a DB file.  Use makemap to
convert your text virtusertable to virtusertable.db:

    makemap -v hash virtusertable < virtusertable

Also, make sure you have something like this in your
sendmail.cf:

    virtuser hash -o /etc/mail/virtusertable


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: