IA generation rules...

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

timkos

IA generation rules...

Postby timkos » Sat Oct 22, 2005 5:30 am

hi all,

i would like to modify the ia generation rule for already existing and new mailnodes so that emailadresses are generated with an underscore between the name parts (x_y@z).

the relevant part of my general.cfg looks as follows:

# You cannot enter a <value> containing an underscore character (_);
# the underscore character is used to represent a space.
#
USRL_AUTO_GEN_SGI_2_CN="G S"
USRL_AUTO_GEN_AUTHID="G_S"
INET_AUTO_GEN_DOMAIN=xyz.de

i'm a bit confused by the comment btw, because the manual installation instruction states that reg. "general.usrl_authid_rule" underscores are valid?

i guessed that although the authid is already set to "G_S", "orniasys.name_part_1" might not have been set (correctly) by me during manual installation.

so i did "sxconfig --set -t orniasys.name_part_1='"C"<G_S>' " which should change or add the rule, but didn't.

so i tried via " ommodiam -m ´*´ -N ´${G}_${S}´ " which gives out "[OM 29061] Orn to Internet Address Mapping does not exist."

what am i doing wrong or missing here?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Oct 22, 2005 2:21 pm

Tim,

the settings in general.cfg have no influence over the Internet address generation, they will only affect the generation of the display name and the authid.

Internet addresses are generated via another mechanism. This is described in the

Code: Select all

man omiam

Unix manpage. You might also want to check

Code: Select all

man omaddiam

manpage on full instructions on how to set it.

In full, if you want your primary internet address to be created with an underscore instead of a dot, you will probably need a command similar to

Code: Select all

ommodiam -s 1 -n '"C" <G_S>'


If you want an additional email address to be generated instead of replacing the existing generation, you can use

Code: Select all

omaddiam -s 2 -n '"C" <G_S>'

instead. Up to 5 auto-generated eMail addresses are possible (-s 1 to -s 5).

You can also define Internet address generation per mailnode, in that case you would use the -m <mailnode> option to omaddiam/ommodiam instead of the "-s <n>" (system-wide) option.

Hope this helps, cheers,
Florian.
Florian von Kurnatowski, Die Harder!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 10 guests

cron