Novell Home

NetMail 3.1 Commands and Utilities

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 28 Feb 2003
 

Here's a handy list of NetMail commands and utilities used to manage the messaging server and provide statistical information.

NetWare Commands
  • NetWare Startup Commands:
    To launch NetMail 3.1, enter load ims at the console prompt.
    To stop NetMail, enter ims u at the console prompt.

  • To load and unload NetMail Agents:
    1. Stop the agent using the UNLOAD command.
      For example, unload nmapd
    2. Restart the agent using the LOAD command.
      For example, load nmapd

  • NetWare Server Commands:
    MAIL: The MAIL command is specific to NetWare systems. It provides monitoring and control of the message queue. The following NetWare MAIL commands allow you to manage the message queue:
    • MAIL STAT:Gives you a static snapshot of the messaging server's statistics at a command prompt.
    • MAIL QUEUE: Identifies the target domains for outbound messages and the number of messages going to those domains in the current server's message queue. The information is written to QUEUE.IMS in the server /DBF directory.

    • MAIL REMOVE: domain Removes all queued messages that are going to the specified domain.
    • MAIL SPAM: reports statistics that correspond to specific anti-SPAM features. Reported values are dependent on whether the associated properties are configured.

    WEBADMIN: If you would prefer to manage NetMail from your Web browser, either locally or remotely, you can use WebAdmin instead of NetWare Administrator. To launch WebAdmin on a NetWare server, enter load WebAdmin at the console prompt. In your Web browser, enter the URL or host name of the server where you installed NetMail.

  • NetWare Server Utilities:
    MAILCON: The MAILCON utility is used on NetWare systems to monitor a messaging server's performance. Using the Available Options menu, you can select which server you want to monitor, set monitoring options, open the Statistics Details window, or exit the program.

    SYSLOG: SYSLOG is used on NetWare and Windows systems to log NetMail activity. It provides extensive logging and report options that you can use to diagnose problems and fine-tune messaging server performance. The Messaging Server automatically launches SYSLOG every time it loads; however, you can also manually load SYSLOG at the command line before the messaging server tries to load it. The following is a listing of the commands and switches you can use to manage SYSLOG at the command line:
    • SYSLOG CONFIG: Identifies what log level has been configured and the file names to which log messages are being written.
    • SYSLOG FLUSH: By default, the messaging server's Syslog files are written to memory. If Log to File is marked in either the Internet Services or server object's Syslog Configuration page, the messaging server continues to write the Syslog file to memory but intermittently flushes the log file to disk. The SYSLOG FLUSH command forces the messaging server to flush the log file in memory to disk.

    IMSAUDIT: IMSAUDIT is used on all platforms to count the total number of people who have logged in to the messaging system. This utility allows administrators to determine the total number of NetMail mailboxes on their messaging system. Disabled users or users who have never logged in are not counted.

    NIMSEXT: The NIMSEXT utility is used on all platforms to add or remove the NetMail schema from NDS. NIMSEXT is used by the installation program to extend the NDS schema during initial installation.

    MAIL LOAD: When server resources are abundantly available, the NMAP agent attempts to instantaneously fulfill all mail requests. However, when the mail load becomes heavy, NMAP tries to preserve server resources by limiting the number of threads that can be used for message delivery.

    RMBOX: RMBOX is a command line utility used on all platforms to remove mailboxes and their associated directories, as well as any associated SCMS files referenced in the mailstore. This utility can also be used in conjunction with IMSAudit to delete accounts that have not been accessed in (x) days.
    Important: An RMBOX action CANNOT be undone. Therefore, use this utility with caution.


Windows Commands
  • Windows Startup Commands:
    To load or unload NetMail on Windows, you must start or stop the NetMail Manager service:
    1. Click Start > Settings > Control Panel.
    2. Open the Services window.
      1. On Windows NT, select Services.
      2. On Windows 2000 and XP, select Administrative Tools > Services.
    3. In the list of installed services, right-click NetMailManager and select Start or Stop from the quick menu.

  • To load and unload NetMail Agents:
    1. Go to a DOS window and enter nimsstop <program name> For example, nimsstop nmapd
    2. Restart the agent in the DOS window by entering the agent's program name.
      For example, nmapd

  • Windows Server Commands:
    MAILCON: On Windows systems, MAILCON provides a static snapshot of the messaging server's statistics at a command prompt. You must enter the command again to update the statistics.

  • Windows Server Utilities:
    SYSLOG: SYSLOG is used on NetWare and Windows systems to log NetMail activity. It provides extensive logging and report options that you can use to diagnose problems and fine-tune messaging server performance. The Messaging Server automatically launches SYSLOG every time it loads; however, you can also manually load SYSLOG at the command line before the messaging server tries to load it. The following is a listing of the commands and switches you can use to manage SYSLOG at the command line:
    • SYSLOG CONFIG: Identifies what log level has been configured and the file names to which log messages are being written.
    • SYSLOG FLUSH: By default, the messaging server's Syslog files are written to memory. If Log to File is marked in either the Internet Services or server object's Syslog Configuration page, the messaging server continues to write the Syslog file to memory but intermittently flushes the log file to disk. The SYSLOG FLUSH command forces the messaging server to flush the log file in memory to disk.

    IMSAUDIT: IMSAUDIT is used on all platforms to count the total number of people who have logged in to the messaging system. This utility allows administrators to determine the total number of NetMail mailboxes on their messaging system. Disabled users or users who have never logged in are not counted.

    NIMSEXT: The NIMSEXT utility is used on all platforms to add or remove the NetMail schema from NDS. NIMSEXT is used by the installation program to extend the NDS schema during initial installation.

    MAIL LOAD: When server resources are abundantly available, the NMAP agent attempts to instantaneously fulfill all mail requests. However, when the mail load becomes heavy, NMAP tries to preserve server resources by limiting the number of threads that can be used for message delivery.

    RMBOX: RMBOX is a command line utility used on all platforms to remove mailboxes and their associated directories, as well as any associated SCMS files referenced in the mailstore. This utility can also be used in conjunction with IMSAudit to delete accounts that have not been accessed in (x) days.
    Important: An RMBOX action CANNOT be undone. Therefore, use this utility with caution.


Solaris Commands
  • Solaris Startup Commands
    To load or unload NetMail on Windows, you must start or stop the NetMail Manager service:
    /etc/init.d/nims start
    /etc/init.d/nims stop


  • Solaris Server Commands:
    NMAIL: NMAIL provides a static snapshot of the messaging server's statistics at a command prompt. You must enter the command again to update the statistics.
    • NMAIL STAT: Gives you a static snapshot of the messaging server's statistics at a command prompt. You must enter the command again to update the statistics.
    • NMAIL SPAM: reports statistics that correspond to specific anti-SPAM features. Reported values are dependent on whether the associated properties are configured.

    WEBADMIN: If you would prefer to manage NetMail from your Web browser, either locally or remotely, you can use WebAdmin instead of NetWare Administrator. To launch WebAdmin on a Solaris server, enter /opt/NOVLnims/bin/WebAdmin.sh. In your Web browser, enter the URL or host name of the server where you installed NetMail.

  • Solaris Server Utilities:
    IMSAUDIT: IMSAUDIT is used on all platforms to count the total number of people who have logged in to the messaging system. This utility allows administrators to determine the total number of NetMail mailboxes on their messaging system. Disabled users or users who have never logged in are not counted.

    NIMSEXT: The NIMSEXT utility is used on all platforms to add or remove the NetMail schema from NDS. NIMSEXT is used by the installation program to extend the NDS schema during initial installation.

    MAIL LOAD: When server resources are abundantly available, the NMAP agent attempts to instantaneously fulfill all mail requests. However, when the mail load becomes heavy, NMAP tries to preserve server resources by limiting the number of threads that can be used for message delivery.

    RMBOX: RMBOX is a command line utility used on all platforms to remove mailboxes and their associated directories, as well as any associated SCMS files referenced in the mailstore. This utility can also be used in conjunction with IMSAudit to delete accounts that have not been accessed in (x) days.
    Important: An RMBOX action CANNOT be undone. Therefore, use this utility with caution.


Linux Commands
  • Linux Startup Commands
    To load or unload NetMail on Windows, you must start or stop the NetMail Manager service:
    /etc/rc.d/init.d/nims start
    /etc/rc.d/init.d/nims stop


  • Linux Server Commands:
    NMAIL: NMAIL provides a static snapshot of the messaging server's statistics at a command prompt. You must enter the command again to update the statistics.
    • NMAIL STAT: Gives you a static snapshot of the messaging server's statistics at a command prompt. You must enter the command again to update the statistics.
    • NMAIL SPAM: reports statistics that correspond to specific anti-SPAM features. Reported values are dependent on whether the associated properties are configured.

    WEBADMIN: If you would prefer to manage NetMail from your Web browser, either locally or remotely, you can use WebAdmin instead of NetWare Administrator. To launch WebAdmin on a Linux server, enter /usr/local/nims/bin/WebAdmin.sh.. In your Web browser, enter the URL or host name of the server where you installed NetMail.

  • Linux Server Utilities:
    IMSAUDIT: IMSAUDIT is used on all platforms to count the total number of people who have logged in to the messaging system. This utility allows administrators to determine the total number of NetMail mailboxes on their messaging system. Disabled users or users who have never logged in are not counted.

    NIMSEXT: The NIMSEXT utility is used on all platforms to add or remove the NetMail schema from NDS. NIMSEXT is used by the installation program to extend the NDS schema during initial installation.

    MAIL LOAD: When server resources are abundantly available, the NMAP agent attempts to instantaneously fulfill all mail requests. However, when the mail load becomes heavy, NMAP tries to preserve server resources by limiting the number of threads that can be used for message delivery.

    RMBOX: RMBOX is a command line utility used on all platforms to remove mailboxes and their associated directories, as well as any associated SCMS files referenced in the mailstore. This utility can also be used in conjunction with IMSAudit to delete accounts that have not been accessed in (x) days.
    Important: An RMBOX action CANNOT be undone. Therefore, use this utility with caution.


Related Links:


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell