|
|
Appendix C. Command Line Applications
IMail Server's command line applications are useful for automating tasks that would otherwise be tedious to perform. These applications can accept input from the Windows NT Command Prompt; likewise, they send messages to the Command Prompt display.
You can run these applications in a number of ways. You can type commands at the Command Prompt, run commands in a batch file, or run commands that are saved in a text file.
Command line applications can be used in conjunction with input from a web browser. For example, a system administrator can have users fill out a web form specifying a host name; the administrator can then use a script to execute adddomain.exe to create a virtual host on the IMail Server. Or, the administrator can take text from a web form and call imail1.exe to create a mail message from the text.
This appendix covers the following IMail Server command line applications:
- addalias.exe - adds, modifies, and deletes aliases
- adddomain.exe - adds, modifies, and deletes virtual hosts
- adduser.exe - adds, modifies, and deletes users
- imail1.exe - creates a mail message
- immsgexp.exe - deletes old messages from a user's directory
- ldaper.exe - populates the LDAP database
- mailall.exe - sends a mail message to all users on a host
- regback.exe - backs up IMail registry keys
- smtp32.exe - delivers a message
- isplcln.exe - deletes old messages in the Spool directory
Note: In most command line utilities, you can use either a hyphen or a forward slash as a delimiter, the argument may or may not be preceded by a space, and most flags can be upper or lower case. In other words, -hhostname, -h hostname, /hhostname,
/h hostname, and -H hostname are equivalent.
|
Ipswitch, Inc. http://www.ipswitch.com |
| ©Ipswitch 2001 | |||
| IMail Server Support Center |
|||