Import Users

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

Import Users

Postby rudi » Thu Apr 05, 2007 10:41 am

Hi,

what is the best way to import this user (and there are many more) into a scalix system:

S=Surname/OU1=MAILNODE/ENTRY-TYPE=1/INTERNET-ADDR=Office-@company.com/JOB-TITLE=Office/EMPL-ORG=Electronic/EMPL-MAILSTOP=Wallstreet 16, New York, US/PHONE-1=112345/PHONE-2=1123456/FAX=12345 99/S-TX=Surname/CN=Surname

Thanks for help!!!

ssiekmann

Postby ssiekmann » Thu Apr 05, 2007 3:53 pm

Hi,

omaddent -f filename

will import an entry like the one below.

The entry in question has be the content of this file, each entry on its own line.

Cheers,

Sascha.

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

Postby rudi » Fri Apr 06, 2007 3:44 am

Hi,

but first I have to create the users with omaddu, isn't it?

Thanks for your help!!!!

ssiekmann

Postby ssiekmann » Fri Apr 06, 2007 3:35 pm

Yes, adding the users as actual Scalix users works a little different, but not much.

Have a look at the man page of omaddu. It states:

To add many users, including John Smith with aliases of John R. Smith
and Jon Smith and with a default authentication-id:

omaddu --bulk ny,hq,mis - <<EOF
...
@ John Smith
John R. Smith
Jon Smith
...
EOF
Of course, you could redirect the input from a file containing just names and AuthIDs - so I think that is what you are looking for, right?

Cheers,

Sascha.

kairos

Postby kairos » Sat Apr 07, 2007 2:57 am

I've been looking all over for this.

We are building another mail server for one remote location and since we already have one already built with hundreds of internet mail listed on the system directory, we were looking for a way to simply import what we have already created.

I did a man on omaddent and would just like to know if the below is correct to add internet mail users with such names and email addresses.

omaddent -f <filename>

entries on file:

"g=william/s=smith/INTERNET-ADDR=email@domain.com"
"g=ann/s=black/INTERNET-ADDR=email@otherdomain.com"

Thanks.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 11 guests

cron