Page 1 of 1

Need help for modifying users

Posted: Wed Dec 26, 2007 1:24 pm
by monetron
Hi,

i have to modify the users authentication id and have to add an additional email address to each user.
Every users authentication address AND email address are Firstname.Lastname@domain.eg
I have got a file with emailAddress ; Personal_ID

I want to modify the authentication ID from emailAddress to Personal_ID
and add Personal_ID@domain.eg to each user as additional address.

can you give me please an example how to use ommodu to do this ????
The script with the loop is no problem,

thank you

Posted: Thu Dec 27, 2007 10:11 am
by techsharp
monetron -

To change a user alias from ommodu add --authid to the username. For instance on my server it would be:

ommodu -n "John Doe" --authid jdoe

And to add email aliases it would be:

ommodu -o "John Doe/mars,blueslate" -n 'John Doe/mars,blueslate/IA="Doe, John" <john.doe@blueslate.net>="Doe, John" <john@blueslate.net>'

The mars,blueslate is the mailnode of your mail server.