Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

virtusertable problem 1

Status
Not open for further replies.

rwong

Programmer
Apr 16, 2002
68
0
0
CR
Hi there

I am trying to add a few entries in my virtusertable.db:
my virtusertable file looks like this:

Code:
ricardo@domain.com    bh_ricardo
ricardo@domain2.com   ba_ricardo
john@domain.com       bh_john
john@domain2.com      ba_john

when I type

makemap -r hash /etc/mail/virtusertable < /etc/mail/virtusertable.db

I receive the following error:

makemap: /etc/mail/virtusertable: line 1: line too long (1024 bytes max)
and it repeats for lines 1 to 12,

I read that virtusertable.db is corrupt, how can i fix that?
any ideas?

thanks in advance,

Rick
 
Is this a typo?

makemap -r hash /etc/mail/virtusertable < /etc/mail/virtusertable.db

It should be like this:

makemap -r hash /etc/mail/virtusertable.db < /etc/mail/virtusertable

virtusertable should be a plain text file then makemap creates virtusertable.db from that. If that is a typo then I would guess that there is something wrong with your text file. This can be if you edited it on Windows and/or tranfered it in binary mode.
 
thanks ace,

that was the problem....

:D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top