All user in the aliases file

How do i set the msg6.0 aliases file to send the messages to all users in mail system ?
My mail server has 2,000 user s in ldap.
It difficult to add 2,000 users in aliases file.
And Can i set the privilege to user admin only to send the message to All users aliases ?

I would not do this in the aliases file.
I would create a dynamic group:
http://docs.sun.com/source/817-4216-10/commcli_ref.html#wp16536
Please note the -f parameter. Use a LDAP search that finds all your user. done.
There's a certain mindset for Messaging Server. It's very different from Sendmail, and uses LDAP for much more. If you assume you have to do things in LDAP, you're not far wrong.

Similar Messages

  • HT1660 how can I use one single library for all users on the same laptop?

    how can I use one single library for all users on the same laptop?

    You are most of the way there. Each user having access to hard drive is the key. If users are limited in file privileges this is harder.
    Any files you add to your library and any files she adds to her library are available to the other. Just not automatically. Each user must add the files to their own library using the add file or add folder option from menu bar.
    What I have done is set library location to a location outside of My Documents\My Music. On my network storage I have a folder names s:\itunes. Both accounts iTunes are set to use this location for the library.

  • How to use the .aliases file to resolve a host's address?

    I am trying to setup a communication between a
    RT PXI system and a windows computer using network shared variables
    (shortened to "shared variables" in the further text). Both of the
    computers shall run compiled executables. The documentation concerning
    this topic has been spread over several places and this is what I ended
    up with.
    There are three different possible setups.
    1.
    I am using shared variable nodes both on the RT PXI and on the windows
    computer. The shared variables on the RT PXI are defined as "target
    absolute" and are residing in a library on the RT PXI. The shared
    variables on the windows computer will be set to "target relative" and
    are residing in a library on the windows computer. The variables used
    on the windows computer will be bound to the corresponding variables on
    the RT PXI. If I run the applications on computers different from the
    ones I used during development, I have only to change the .aliases file
    for the windows computer and set there the correct IP for the RT PXI.
    Additionally,
    I have to deploy the library both on the RT PXI and on the windows
    computer. This can be done from the windows computer, as the RT PXI
    target does not support the invoke node that has to be used for this
    purpose. Running the invoke node twice, once for localhost with the
    client library and once for the IP of the RT PXI system and the host
    library, I can deploy the libraries containing the shared variables
    programmatically. At this point, the magic of the .aliases file will
    fail and I have to find the IP of the RT PXI either by user input or
    maybe by running the RT ping controllers.vi. The "Target IPAddress"
    property of the "Deploy Library" invoke node makes sense in this
    combination as we can deploy libraries also to other computers or
    platforms.
    See attached Shared Setup 1.png.
    2. I am
    using shared variable nodes both on the RT PXI and on the
    windows computer. The shared variables on the RT PXI are defined as
    "target absolute" and are residing in a library on the RT PXI. The
    shared variables on the windows computer will also be set to "target
    absolute" and will be taken from the library that resides on the RT
    PXI. If I run the applications on
    computers different from the ones I used during development, I have
    only to change the .aliases file for the windows computer and set there
    the correct IP for the RT PXI.
    Additionally, I have to deploy
    the library only on the RT PXI. Again, this can done by a helper
    application on windows when the IP of the RT PXI is known or found by
    using RT ping controllers.vi.
    See attached Shared Setup 2.png.
    3. I am using
    shared variable nodes only on the RT PXI. The shared variables on the
    RT PXI are defined as
    "target absolute" and are residing in a library on the RT PXI. On the
    windows side, I use direct access to the PSP by using DataSocket
    functions. I can address a variable by using a DataSocket Open function
    and inputting psp://IP_or_Hostname_of_RT_PXI/LibraryName/VariableName.
    The magic of the .aliases files will fail already at this step. So I
    have to find the correct IP or hostname by user input, setting a DNS
    server to point to the correct IP or using the RT ping controllers.vi.
    As
    always, I have to deploy the library containing the shared variables to
    the RT PXI. Again, this can done by a helper application on windows
    when the IP of
    the RT PXI is known or found by using RT ping controllers.vi.
    As
    I can use this approach to setup an array of valid variable names and
    process the array by one single DataSocket read function inside of a
    for loop more conveniently than using a case selector inside of a
    for-loop and reading from different shared variable nodes, I prefer
    this approach over the others.
    See attached Shared Setup 3.png.
    For approaches 2 and 3, at least the deploy process can be run by an
    installer application independently of the main application as the
    library will remain on the PXI until I manually undeploy it, even if I
    reboot the PXI controller.
    My questions are:
    1. Did I describe the possible setups regarding the use of the shared variables correctly?
    2.
    Is there any means to get the IP address mapping from the .aliases
    file, needed for deploying and for approach 3, other than opening and
    reading the file itself?
    Attachments:
    Shared Setup 3.png ‏52 KB
    Shared Setup 1.png ‏42 KB
    Shared Setup 2.png ‏51 KB

    Thank you for the reply... I am using a hardcoded filename for the
    connection manager. How do I take the variable and change the filename in the connection manager?
    Also there will be multiple filename and I would like to take the latest file and not just check if the same file has been updated.
    UPDATE: I added the dynamic filename to the expression of the connection
    manager and it worked.
    You can use Foreach loop with file enumerator for that. It will iterate through files in folder and you can retrieve filenames using a variable created. Then pass variable as a parameter to script task.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • You do not have sufficient privileges to complete this installation for all users of the machine. Log on as administrator and then retry this installation

    Hi all
    Have seen a couple threads regarding this but unfortunately nothing that solves my problem thus far!
    Right now, our developers are using the Domain Admin account to promote their website code using MSI files.  I'd like to change this as I feel the Domain Admin account should be on lock down and only used when absolutely necessary, pretty common.  The
    same goes for my account too, I would like to absolve as much use of the Domain Admin as I can.
    Problem is, when they run installers from their own accounts, they receive this error: You do not have sufficient privileges
    to complete this installation for all users of the machine. Log on as administrator and then retry this installation
    The accounts they are using are part of the Built In Administrators group and the Domain Admins group... I'm not sure what other permission you'd need in a domain?  We've gone as far as explicitly giving them local admin access on this server and still
    nothing changes.
    Is there a Group Policy or something that I can change to provide install rights and possibly remove these accounts as Domain Admin and more along the line of Power User?
    Thanks much for your help!
    Ryan

    Hi,
    You could use Software Restriction Policies (SRP’s) or Applocker(supported on Windows server 2008 R2/Windows 7 only) to restrict the running
    of the application for specific user.
    Description of the Software Restriction Policies
    http://support.microsoft.com/kb/310791
    HOW TO: Restrict Users from Running Specific Windows Programs
    http://support.microsoft.com/kb/323525
    How to Implement Group Policy Security Filtering
    http://www.windowsnetworking.com/articles_tutorials/Group-Policy-Security-Filtering.htmlPlease remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Cancel download method when the user cancel the download file

    I have a method that download a file ("downloadLog_action()")when the user click over the comandlink component and the dialog box is opening to save the file, but how to know that the user canceled the download file to cancel all accions.
    This is the code of the commandlink in the jspx page that call the method and pass one parameter:
    <af:commandLink binding="#{ConsultaValidacion.commandLink1}"
    id="commandLink1"
    action="#{ConsultaValidacion.descargarLog_action}"
    text="Log">
    <f:param name="codInstitucion"
    value="#{row.CodInstitucion}"
    binding="#{ConsultaValidacion.codInstitucion}"
    id="codInstitucion"/>
    </af:commandLink>
    This is the method to download the file:
    HttpServletResponse response = (HttpServletResponse)fctx.getExternalContext().getResponse();
    response.setContentType("application/x-download");
    response.setHeader("Content-Disposition", "attachement; filename=\"Log_" +
    codigoInstitucion + ".txt\"");
    response.setContentLength((new Long(blob.getLength())).intValue());
    //Streams de entrada y salida
    InputStream is;
    OutputStream out;
    try {
    //Obtenemos el stream de entrada el cual se lo extrae de la BD
    is = blob.getInputStream();
    //Obtenemos el stream de salida para el cliente
    out = response.getOutputStream();
    //Sección de código que me permite escribir los datos en el stream de salida
    int size = (new Long(blob.getLength())).intValue();
    byte[] buffer = new byte[size];
    int length = -1;
    while ((length = is.read(buffer)) != -1) {
    out.write(buffer, 0, length);
    //Cerramos los streams
    out.flush();
    is.close();
    out.close();
    *//Una vez descargado todo el LOG actualizamos el contador. HERE IS THE PROBLEM BECAUSE THE COUNTER IS UPDATING WHEN THE USER CANCEL THE DOWNLOAD!!! AND ITS WRONG*
    row.setNumDescargaLog(new Number(num + 1));
    //Guardamos los cambios
    webRvc.getAppModuleWebRvc().getDBTransaction().commit();
    //Request lifecyce understands that the response is completed and no further action needs to happen
    fctx.responseComplete();
    } catch (IOException e) {
    e.printStackTrace();
    webRvc.close("Consulta bitacoras validacion");
    return null;
    } catch (JboException ex) {
    webRvc.getAppModuleWebRvc().getDBTransaction().rollback();
    webRvc.close("Consulta bitacoras validacion");
    return null;
    This works fine.
    The problem occurs when the user cancels the download, because all the sentences run including updating the counter downloads, the counter only to be updated only when the user chooses to save the file.

    Hi.
    The problem is when the user cancel the dowload I do not know how to capture the user's response.
    How to capture the response?
    if(cancelled) <------Is there a parameter to tell me this?
    ......<your cancel code>..... none
    else
    .....<your non-cancel code>...THE METHOD THAT DOWNLOAD THE FILE - "downloadLog_action()" and increment the counter
    Thanks.

  • Adobe Captivate 7 - distributing settings to all users on the same computer?

    Is there a way to share preference to all users on the same computer?
    Perference->General settings:
    [ ] show welcome screen
    Publish at: c:\newpublishdir\
    Project cache: c:\projectcachedir\
    Perference-> Recording->video demo:
    Working folder: c:\testdir\
    The dirs I listed is just for example

    Hi there
    If what you are asking is if there is a way to configure all users so they have identical preferences, you might try this:
    From any account on the computer, open Captivate. Click Edit > Preferences and ensure the settings are pointing to a common location shared by all accounts on the computer. Dismiss preferences.
    Now click File > Export > Preferences... and save them to a file in a known location that is also shared by all accounts.
    Now open each of the other accounts on the computer, start Captivate and click File > Import > Preferences... and see if things are configured accordingly. If so, repeat the process for all accounts on the computer.
    Cheers... Rick

  • How can i get the all values from the Property file to Hashtable?

    how can i get the all values from the Property file to Hashtable?
    ok,consider my property file name is pro.PROPERTIES
    and it contain
    8326=sun developer
    4306=sun java developer
    3943=java developer
    how can i get the all keys & values from the pro.PROPERTIES to hashtable
    plz help guys..............

    The Properties class is already a subclass of Hashtable. So if you have a Properties object, you already have a Hashtable. So all you need to do is the first part of that:Properties props = new Properties();
    InputStream is = new FileInputStream("tivoli.properties");
    props.load(is);

  • Two users opened the same file at the same time with file on Win2K Server

    I just had a problem with a file that could not be saved. After a little investigation I discovered that two users had the same file open at the same time. This is with both users using InDesign CS2 and saving to a Windows 2000 Server. Any ideas how this even happened? The only thing I can think of is if they both opened the file at the exact same time but even that I doubt. I guess the more likely possibility is that the user on 10.5 (which we have had a lot of problems with, it's hard to tell how many of them are CS3 problems (yes CS3) and how many are Windows 2003 Server problems) had InDesign CS2 flake out and not tell her the file was open. Has anybody else seen this? The other user was using 10.4. Both computers have the most recent updates for the OS and for their various adobe products.

    I have videos on mov file and my quick time player does not play them.
    The MOV file container is the generic QT file container. Any audio and video data compatible with the computer system used to create the file can be placed in the MOV file container. Unfortunate, other systems cannot play the file unless they too are configured with the same components as those used to create the file. The normal procedure here is to use the Finder "Info" or alternative media play "Inspector" window to determine what codecs were used to create the original file and, if they are available for your Mac, install them on your system for playback use. Also be advised that some "legacy" codecs may require playback in the QT 7 Player for proper QT support.
    I opened with other players, there is no sound. Then I opened the same file on my windows 7, it plays perfectly with the sound and everything? What is the problem?
    This would indicate these players either access your QT codec component configuration which does not include the required codec or the app has its own built-in codec support which does not include the required audio codec but you Windows 7 media player is configured with the required codec support. This may incidate the use of a really old codecs that may or may not be available/supported on a Mac any longer.

  • Where do I put a workflow so that all users on the Mac can access?

    Where do I put a workflow so that all users on the Mac can access it from Automator?
    Also. why does the search pattern "users" AND "workflows" return results whitch math "and" (lowercase)? I thought "AND" (in caps) is for boolean searches.

    Hi, Mike.
    1. You wrote: "Where do I put a workflow so that all users on the Mac can access it from Automator?"Either:
    • Macintosh HD > Users > Shared
    • Macintosh HD > Applications (if you're the Admin user).
    All users (unless restricted by Parental Controls) have access to those folders.
    2. You wrote: "Also. why does the search pattern "users" AND "workflows" return results whitch math "and" (lowercase)? I thought "AND" (in caps) is for boolean searches."It's unclear as to what search facility you are referring, and a bit hard to follow given the spelling errors in your question.
    Do you mean Discussions search? If so, have you reviewed the Search Tips? They're also available from the search page, where one can click "Tips" under the Search Terms field.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Using Powershell to delete all users from the Portal

    Summary
    This script will delete all users from the Portal except for Administrator and the Built-In Sync account.
    Based on Markus's "Delete a User" script.
    Useful when developing your system if you want to quickly clear out the data and start again.
    set-variable -name URI -value "http://localhost:5725/resourcemanagementservice' " -option constant
    function DeleteObject
    PARAM($objectType, $objectId)
    END
    $importObject = New-Object Microsoft.ResourceManagement.Automation.ObjectModel.ImportObject
    $importObject.ObjectType = $objectType
    $importObject.TargetObjectIdentifier = $objectId
    $importObject.SourceObjectIdentifier = $objectId
    $importObject.State = 2
    $importObject | Import-FIMConfig -uri $URI
    if(@(get-pssnapin | where-object {$_.Name -eq "FIMAutomation"} ).count -eq 0) {add-pssnapin FIMAutomation}
    $allobjects = export-fimconfig -uri $URI `
    –onlyBaseResources `
    -customconfig "/Person"
    $allobjects | Foreach-Object {
    $displayName = $_.ResourceManagementObject.ResourceManagementAttributes | `
    Where-Object {$_.AttributeName -eq "DisplayName"}
    if([string]::Compare($displayName.Value, "Administrator", $True) -eq 0)
    {write-host "Administrator NOT deleted"}
    elseif([string]::Compare($displayName.Value, "Built-in Synchronization Account", $True) -eq 0)
    {write-host "Built-in Synchronization Account NOT deleted"}
    else {
    $objectId = (($_.ResourceManagementObject.ObjectIdentifier).split(":"))[2]
    DeleteObject -objectType "Person" `
    -objectId $objectId
    write-host "`nObject deleted`n" $displayName.Value }
    Go to the FIM ScriptBox
    http://www.wapshere.com/missmiis

    The DeleteObject function opens and closes a connection for each object.  This approach is faster:
    http://social.technet.microsoft.com/wiki/contents/articles/23570.how-to-use-powershell-to-delete-fim-users-that-have-a-null-attribute-name.aspx
    Mike Crowley | MVP
    My Blog --
    Planet Technologies

  • Creating an shortcut for all users on the desktop

    I want to create a shortcut for all users on the desktop that will appear for all users that login to the computer.  How is this done in Windows 7?  In Widows XP this was done at the "All Users" profile, but I cannot find such a profile  in Windows 7. 

    the users have windows vista , 7 or 8 have a chortcut i created and the users have windows xp isn't created on them desktop
    Do you have a question? If so then your best bet is to create a new post (this one is 5 years old and marked as "answered"!) and spell it out there.

  • Move the Cache files for all user in the domain, which work with the PC

    Is there a possibility to chance the Cache file for all User.
    If i logon with a new user the Cache is written automatically in Proflie of the user.
    can configure to Java in such a way that with announce a user the Cache file get automatically moved to c:\temp.
    Thanks for your help

    oh, too bad, it is part of the requirement-we need to do it automatically through web.
    Any easier method to change the client machine deployment.properties through web?
    Need to deploy the application to thousands PC and the PC configuration may be different one by one.
    oldguy

  • All users share the same iCal

    I want all the users on my iMac to share the same Calendar. How do I do it?

    Here's how to share iCal calendars among multiple users on a single Mac.
    What you need to do is to move the iCal folder to a shared folder that is accessible to all users and then replace the iCal folder in each user's library folder with a "symbolic link' to the shared iCal folder. The symbolic link looks like an "alias", but if you try this using "aliases" to the shared iCal folder it will not work (trust me). You can create symbolic links using the Terminal, but I have no idea how, and the idea of using the Terminal scares me. The easiest way that I know of to create a symbolic link is with a shareware application called Cocktail. It allows you to do a number of different things including System Maintenance, Network Optimization, etc. It took me a while to remember how to do this; I originally found the information in the Discussions when iCal was first released, but apparently none of those original postings are listed in the forums anymore.
    Here's how to do it (you must have Administrator privileges):
    First locate your iCal folder (your user name > Library > Application Support > iCal) and make a copy of it (Finder > File > Duplicate). Drag the copy to your Desktop until you're sure iCal is being shared between users.
    Next move the original iCal folder into a Shared folder in the Users folder (Hard Disk > Users > Shared > iCal). To make sure all users can access the information, select the Shared folder, choose File > Get Info, click the little Lock icon, then under "Ownership & Permissions -> Details" make sure that the "Owner" is "System", "Group" is "Wheel" and "Access" for Owner, Group and Others is "Read & Write". Do the same with the iCal folder within the Shared folder, but this time, under "Ownership & Permissions -> Details" make sure that the "Owner" is "your user name", "Group" is "Staff" and "Access" for Owner, Group and Others is "Read & Write" and click the "Apply to Enclosed Items" button. I basing this information on what the Ownership & Permissions are for each of the folders in my system.
    Open Cocktail (I'm using version 3.6.5). Once the app is open (you must enter an administrator's user name and password) click on the "Files" button, then click on the "Links" button. Where it says "Create Symbolic Link" click on the "Choose" button. Navigate to the iCal folder (Hard Disk > Users > Shared > iCal) and click "Choose" again. In the "Save As" box that appears enter "iCal", then navigate to the Application Support folder in your Home folder (your user name > Library > Application Support) and click "Save". Quit Cocktail and open iCal. You should see all of your calendars as you did before.
    Log in under each additional User, move that User's iCal folder (user name > Library > Application Support > iCal) onto the Desktop, then create another Symbolic Link to replace it, using Cocktail as described above. In each case you should see the same calendar information as when you were logged in under your user name. As a test, add a New Event or To Do in iCal under one user, log out and back in under another user and you should see the changes when you open iCal.
    Once everything appears to be working, you can delete the iCal folders from each User's Desktop.
    As an additional maintenance measure, use Disk Utility to repair Disk Permissions.
    Unfortunately, if each User has his/her own calendars in iCal they will not be in the shared calendars. Only the calendars in the first iCal folder used to set up the shared folder will be available and I don't know of any way to merge or combine the other user's calendars into one.
    Hope this helps and good luck!

  • How to make all users have the same working environment?

    Hi guys,
    thanks for helping out on this issue.
    Is there a way to set all users on your system to have the same working environment? I believe, as root you can edit the /etc/profile. But when I looked at the file, I was confused. I had no idea where to add stuff because it was a script.
    Please if anyone can help me explain how to customize system wide working environments, I will be very grateful .
    Thank you
    Arrey

    Hi.
    It's not clear what you understand under system wide working environments ?
    /etc/profile it's one possible solution.
    Another way - put custimozed .profile to all users and use customezed */etc/skel* for new users.
    Regards.

  • PL/SQL web service--all users share the same database session

    Hi, Is anyone else running into this? If I set a package variable in a pl/sql package through the web service from one client and then connect with another client, I can see the value of the package variable set by the first client. So it appears that instead of being 'stateless', as the documentation claims, that all users are actually connecting to the very same session--and sharing the same memory and variable values.
    When I test my application by myself, I don't run into any problems. But the application I'm working on allows over 1000 students to select dorm rooms concurrently. The timing for that large a group is fine enough that I do have more than one person executing the same section of code simultaneously. This is a serious problem! I'm going to try using pragma serially reuseable on my packages to see if that will take care of it.
    Has anyone else run into this problem? What do you do about it? Is this an issue with the web service? Or the application server?

    Hello!
    I have a question. You seem to be getting somewhere. In the reference (in your post) there is no mention of web.xml Is it a generated file or a file created by you? I am getting IOException error when generating EAR file. What could be wrong? Please help
    TAI
    habeeb

Maybe you are looking for