Utilities: Administration: Server: Server Settings: Advanced: For Programmers

 

Run Program Before Listmanager@

This setting allows you extend ListManager command processing with your own program. When mail is sent to listmanager@… your program will first be run and then your program can do any processing it wishes on the message. If your program wants to stop processing of the message, it can delete it.

 

Run Program After Listmanager@

This setting allows you extend ListManager command processing with your own program. When mail is sent to listmanager@… the message will be processed and then your program can do any additional processing it wishes on the message.

 

Run Extensions

This option allows you turn off the programming "Extensions" feature of ListManager. The fields for "run program before" and "run program after" will continue to appear in the web interface, but they will have no effect. By default, extensions are disabled.

 

Some administrators prefer to not allow extensions on their server, in order to enhance security.

 

Extension Directory

This option allows you to define the directory where all the ListManager extensions are located. This adds a level of security to extensions, as it prevents ListManager from running any program on your computer—only programs in this directory are allowed.

 

Email Scripting Initialization

If specified, the script that will be called when a Tcl interpreter is created for a mailing.

 

These scripts are useful for setting up proxy settings for httpget or setting global variables.

 

These scripts are called in the order Server, Site, and List when a Tcl interpreter is created for a mailing. If no interpreter is required for the mailing, these scripts will not be run.

 

If your message requires these scripts to be run and you are not using TclMerge in your message (i.e., no Tcl scripting is used in your message), you may add the following to your message to cause the interpreter to be instantiated.

 

%%init ; return "%%

 

To set a proxy server, the following lines may be added:

 

package require http 2.3
http::config -proxyhost (proxy ip address) -proxypor