importing multiple users.

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

csbishop
Posts: 10
Joined: Wed Mar 15, 2006 2:34 pm

importing multiple users.

Postby csbishop » Tue May 09, 2006 3:10 pm

I'm tryin to have Scalix live by this Friday with just over 300 users and I want to import them for obvious reasons. I have followed 2 how-to's on this, one of them doesn't work. the other only adds the new user as an internet use, and not a community user.

What I have is a CSV (named email.csv) in 5 colums, as follows

1 First Name
2 Last Name
3 Blank
4 Blank
5 Internet address

I then run from the admin resource kit dir:

Code: Select all

omloadfile -f email.csv


I then goto my tmp dir and run:

Code: Select all

omaddent -f omloadfile.out.omaddent


it adds the users, but only as internet users, I need them to be added as Community users.

What am I doing wrong, and how do I accomplish adding my users since I already have the data?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue May 09, 2006 6:14 pm

Hi csbishop,

Which How-To's are you referring to? In general omloadfile is used when migrating users because there is a co-existence period when some users are on Scalix and some are still on the legacy mail system.

If you're just trying to create 300 mailboxes, then you're much better off using the ommaddu with the --bulk option. The command line would be something like:

Code: Select all

omaddu --bulk --class limited -p password -e mailnode users.txt


which will create the users are limited with the pre-expired password of "password". Replace "mailnode" with your mailnode and "users.txt" with the list of your user names. The format of the users.txt file is:

@ Firstname Lastname
@ Firstname Lastname
@ Firstname Lastname

and so on. Or if you want to specify their Internet Addresses, the format would be:

@ Firstname Lastname/ia=firstname.lastname@domain.com
@ Firstname Lastname/ia=firstname.lastname@domain.com
@ Firstname Lastname/ia=firstname.lastname@domain.com

Take a look and the man pages for omaddu for details.

Thanks,
Rachel


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 9 guests

cron