Command line mode
From ASSPSMTP
Command line mode (also referred to as command mode) is a way of running ASSP so that all script errors that are occurring in Perl can be seen. ASSP's maillog cannot trap all error conditions within the confines of the script, but running in command line mode provides a way of seeing all output generated by the Perl process. To run ASSP in command line mode, follow the instructions below.
On This Page |
Configure to not run as a Service or Daemon
To see all the output from the Perl process, ASSP needs to be configured to know it will not be running as a Service or Daemon.
- Configure ASSP to not run as a Service or Daemon:
- In the Server Setup section of the web interface, un-check the AsAService (for Windows platforms) or AsADaemon (for Unix-like platforms) feature in the Server Setup section, and click the Apply Changes button.
- Or, in the assp.cfg file, nullify the values for AsAService:= (for Windows platforms) or AsADaemon:= (for Unix-like platforms) and save the file. Null values disable a feature. Null values are blank - not 0 (zero).
- Stop ASSP
- Open a command prompt
- Change to the ASSP root directory
- Start ASSP with: perl <directory-path>assp.pl
Monitor ASSP's output
Output from ASSP will scroll as it performs its functions. When it crashes, there should be useful information in the tail-end of the information scroll - hopefully providing details regarding went wrong - that you can use to report the issue in the forums or to one of the e-mail distribution lists.
Reconfigure back to run as a Service or Daemon
Once error monitoring is complete, re-enable Service or Daemon support in ASSP so that it can again run fully automated.
- Configure ASSP to run as a Service or Daemon:
- In the Server Setup section of the web interface, check the AsAService (for Windows platforms) or AsADaemon (for Unix-like platforms) feature in the Server Setup section, and click the Apply Changes button.
- Or, in the assp.cfg file, add the value 1 for AsAService:= (for Windows platforms) or AsADaemon:= (for Unix-like platforms) and save the file. Only 1 (the number one) is a valid value for enabling either of these features.
- Stop ASSP
- Start ASSP as a Windows Service or Unix-like platform Daemon


