Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

expand email alias

606 views
Skip to first unread message

SANKY

unread,
Jun 1, 2012, 3:50:41 AM6/1/12
to
I have list of email aliases as well as users.

I need to find in tcl whether it is an user or email ailias and if
alias expand it.

is there nay wey?

arjenmarkus

unread,
Jun 1, 2012, 4:00:36 AM6/1/12
to
I do not quite understand what you mean. Could you describe
via a small example what you want to do? We can advise you on ways
to implement it in Tcl then, but right now - at least for me - the
information you have is too vague and incomplete.

Regards,

Arjen

SANKY

unread,
Jun 1, 2012, 4:07:08 AM6/1/12
to
Hi,


If we have something like:

set list [sam devusers jack testusrs]


devusers is an outlook/ldap alias which has eset of users and
similarly testusrs

I has both usernames and alias names:

But I dont know which is user and which is alias.


Hence would like to now there's a way to fin it and exapnd the aliases
as well

Eugene

unread,
Jun 1, 2012, 4:27:26 AM6/1/12
to
You might want to have a look at ldap package then.

--
Best regards, Eugene.

Donald Arseneau

unread,
Jun 4, 2012, 9:50:39 PM6/4/12
to
SANKY <sankar...@gmail.com> writes:

> If we have something like:
>
> set list [sam devusers jack testusrs]
>
>
> devusers is an outlook/ldap alias which has eset of users and
> similarly testusrs
>
> I has both usernames and alias names:
>
> But I dont know which is user and which is alias.

I am guessing that aliases are entries in this pair-wise list,
and real (or local) users are not in the list.

array set aliases $list

if { [info exists aliases($name)] } {
puts "$name is an alias for $aliases($name)"
} else {
puts "$name might be a local username"
}


Is that what you meant?



Donald Arseneau as...@triumf.ca
0 new messages