> > no, the file is not "created" when an alias is added,
> > we added the virtusertable files directly the skel, it seems that
> > becuase admin has no access to write to etc that both files need to be
> > created, otherwise the makemap command craps....
> > touch ./etc/virtusertable
> > chown admin.admin ./etc/virtusertable
> > touch ./etc/virtusertable.db
> > chown admin.admin ./etc/virtusertable.db

was certainly created on all our VS's when we added an alias in the web
control panel - and we didn't add it to the skel - which means admin doesn't
need write access -

In a straight install of sendmail on a linux box which would be controlled
from command line, after making makemap, you create /etc/virtusertable text
file containing mail aliases:
  [username]@newdomainname LOCAL_USER (or remote user elsewhere)

where [username] is optional. If USERNAME is omitted, all mail coming to
NEWDOMAINNAME will be delivered to the specified person.
Create a new hash table of aliases:
    makemap hash /etc/virtusertable < /etc/virtusertable

which will create /etc/virtusertable.db database file. But using the web
admin script and adding an alias saves you from doing this

Gary



> >
> >> surely this is only created once an alias is added? so isn't a fault?
> >>
> >> Gary
> >> ----- Original Message -----
> >> From: Ben Kennish <[EMAIL PROTECTED]>
> >> To: <[EMAIL PROTECTED]>
> >> Sent: Thursday, June 14, 2001 10:54 AM
> >> Subject: /etc/virtusertable.db
> >>
> >>
> >> > The above file is not created by default by freeVSD when generating
> > a
> >> > skel and hence the ...
> >> >
> >> > makemap hash /etc/virtusertable.db < /etc/virtusertable
> >> >
> >> > ..command gives permission denied (admin user doesn't have write
> >> > permissions to it.)  All that needs to be done is to go into the
> >> > skel-repo and ...
> >> >
> >> > touch ./etc/virtusertable.db
> >> > chown admin.admin ./etc/virtusertable.db
> >> >
> >> > Could this be in skel-repo by default?
> >> >
> >> > Thanks,
> >> >
> >> > --
> >> > Ben Kennish
> >> >
> >> > e: [EMAIL PROTECTED]
> >> > w: www.fubra.com
> >> >
> >>
> >>
> >
> > --
> > Ca Linux Systems.
> > http://www.calinuxsystems.com
> >
> > http://www.newsforge.com/article.pl?sid=01/05/16/1113211&mode=thread
> >
>
> ---End reply
>
> _______________________________________________________
> Urivan Saaib
> Presidente
> CiberNET Mexico
> Email: [EMAIL PROTECTED]
> Tel: (6) 175.71.95
>
>

Reply via email to