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

Re: Re[4]: Sendmail problems



odeda-linux-il@betalfa.org.il writes:

> >odeda-linux-il@betalfa.org.il wrote:
> 
> >Pardon me? Do you mean you prepared the /etc/virtusertable plain text 
> >file
> >and that's all? Sure, you have to produce a db out of it (and this _is_
> >documented correctly :)). E.g.:
> >makemap btree /etc/virtusertable.db < /etc/virtusertable
> 
> >The default is probably the hash table for Linux 
> I thought so, but couldn't figure out how to do it - it seems that I have a program 
> called hash on the system, but it doesn't have any man page . can you tell me the 
> command line to make a hash table ?

Use makemap, just as in the example above:

makemap hash /etc/virtusertable.db < /etc/virtusertable

> >Same should be done for genericstable, if you need it.
> what's that ?

That's for re-writing the senders' addresses. E.g. my username is
oleg, sendmail uses genericstable to rewrite it as
goldshmt@netvision.net.il, which is my email address at the ISP. You
have sendmail-doc installed, haven't you?

-- 
Oleg Goldshmidt          goldshmt@netvision.net.il   
BLOOMBERG L.P. (BFM)     oleg@bfr.co.il

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il