Frequently Asked Questions | Dec 10, 2024 - 01:37pm |
|
|
Frequently Asked Questions Operational Questions
Problems with "Email list and/or newsgroup" Names or Registering a New User
Question |
|
|
I have created a new folder and given it an Email/Newgroup List name, yet when I go back and edit the folder Web Crossing has tacked on a number.
Example: "Test", became "Test2" or "Test3"
Or I am trying to register a new user, and Web Crossing is refusing. |
Answer |
Usually this is because you already have a folder somewhere with an identical Email/Newsgroup name (see code snippet below).
However it can also mean that you have either a User Name or User Access Group with that same name.
Users, user groups, and email/Newgroup names are all checked when a new user/email/newsgroup name is assigned, because they can all be the recipient of emails (email to a newsgroup is like email to an email list). So all the possible destinations for email have to have unique names.
Here is a code snippet that will allow you to walk your database and print out Folder-to-"Email/newsgroup Name" Mappings. Handy when trying to figure out where a newsgroup name is assigned to a folder. Both macros below are required. After installed, and your cache reset, call "checkForNewsgroups". |
Example |
%% macro checkNewGroupsLoop %%
%% setPath( _folder ) %%
%% if pathNewsgroup %%
%% set newsLocations newsLocations & location & " " %%
%% endif %%
%% set _lists pathSelect("type=f") & " end " & _lists %%
%% set _folder _lists.split %%
%% while _folder != "end" %%
%% if _folder %%
%% use checkNewGroupsLoop %%
%% endif %%
%% set _folder _lists.split %%
%% endwhile %%
%% endmacro %%
%% macro checkForNewsgroups %%
%% set _folder "/" %%
%% use checkNewGroupsLoop %%
%% set temp newsLocations %%
%% while temp %%
%% setPath (temp.split) %%
%% set path.tempNewsSortKey pathNewsgroup %%
%% endwhile %%
%% set newsLocations newsLocations.trim.pathSort("path.tempNewsSortKey") %%
%% while newsLocations %%
%% setPath (newsLocations.split) %%
<a href="%% urlBase %%14@%% certificate %%@%% location %%">%% pathTitle %%</a> - %% pathNewsgroup %%<br>
%% set path.tempNewsSortKey "" %%
%% endwhile %%
%% endmacro %% |
|
|
|
|