Setting Server Options
The following command line parameters let you set configuration options. Some of these parameters can be changed from the "Server Configuration" Web Interface page. The command line
versions are included for convenience (particularly when you need to change options that are critical to the Lyris List Manager web interface). For more information, see Server Config
.
Activate Set Lyris List Manager activation code Number to that specified on the command line. Usage:
In the above example, you would substitute "code" with your own activation code. Note: "lyris serial XXX" is the same command as "lyris activate XXX"
Getactivation Checks the database for a Lyris List Manager activation code. Usage:
If you have a valid activation code, the utility will print that code. If you do not have a valid activation code, or do not have one at all, the utility will only print a blank
line.
Dns Set Domain Name Server to the TCP/IP address specified on the command line. DNS Server. Usage:
lyris dns ip_address [ip_address2] [...]
In the above example, you would substitute "iip_address" with the IP address of your DNS server. If you want to specify multiple DNS servers, you may do so by separating them with
a space.
Email Sets the email address of the administrator of this Lyris List Manager. Usage:
In the above example, you would substitute "emailaddress" with the email address of the person who is the primary server admin.
Forward Set mail forwarding rule to "ip-address port". Usage:
lyris forward ip_address port
In the above example, you would substitute "ip_address" with the IP address of the machine you want Lyris List Manager to forward non-Lyris LM mail to, and you would substitute
"port" with the port number on that machine that will be receiving mail. For more information, see Forward Mail.
Retrytiming Allows you to set the number of retries and retry interval for this Lyris List Manager. The command takes any number of parameters, separated by commas. Usage:
lyris retrytiming interval1 [,interval2] [,interval3] [...]
Each interval measures the time, in minutes, between the previous try and the next try. The smallest acceptable retry interval is five minutes and the largest acceptable retry
interval is 1440 minutes (24 hours). Retry intervals which are not within the acceptable range will be ignored.
For example, if you want to establish a retry schedule of 30 minutes, two hours, eight hours, and 24 hours, you would issue the following command:
lyris retrytiming 30,120,480,1440
The default retry schedule is 30 minutes, two hours, four hours, eight hours, and 16 hours.
Please note that the retry interval is measured in relation to the time of the last retry, not the time the message was originally sent.
For most lists, three to five retries is more than enough. Also, it is a good idea to schedule one retry a full 24 hours after the message originally went out, to guard against temporary network
outages.
Lcp Add the TCP/IP address specified on the command line to the list of allowed LCP hosts. Usage:
In the above example, you would substitute "ip_address" with the IP address of the machine that will be making LCP connections with this Lyris List Manager host.
Lcpport Sets the TCP/IP port that Lyris List Manager accepts incoming LCP connections on. The default is 2020. Usage:
In the above example, you would substitute "port" with the port you want LCP to run on. For more information, see LCP Port.
Lcppass Sets the password that the LCP protocol uses to log into this Lyris List Manager host. Usage:
In the above example, you would substitute "password" with the password you want LCP to use. Note: the password= line of the lyris.plc file must match this password.
Moderatenotification Sets the type of moderated message notification for this Lyris List Manager host. Usage:
lyris moderatenotification [old | new]
Use the "old" argument to receive traditional moderation notifications. Use the "new" argument to receive MIME-digest style moderation notifications.
Tcpip Specifies the TCP/IP addresses that this Lyris List Manager host is allowed to use. Usage:
lyris tcpip ip_address [ip_address2] [...] [127.0.0.1]
In the above example, you would substitute "ip_address1" with the IP address you want Lyris List Manager to listen on. If you want your Lyris LM host to listen to more than one IP
address, you can specify multiple IP adresses.
Alternatively, you can issue the following command:
The above command will instruct Lyris to listen to all IP addresses on the host machine.
If you are running the web interface on the same machine, it is important to include the localhost IP address (127.0.0.1) in order for the web interface to function properly. For more information,
see Multiple TCP/IP addresses.
Gettcpip Specifies the TCP/IP address that you should use when you register your serial number to obtain an activation code. Usage:
Url Set URL that goes to Lyris List Manager Web Interface. Usage:
lyris url http://yourserver/cgi-bin/lyris.pl
In the above example, you would substitute "http://yourserver/cgi-bin/lyris.pl" with the URL to your Lyris List Manager Web Interface. For more information, see
Lyris List Manager URL.
Version Displays the version of Lyris List Manager that is running. Usage:
Help Displays the command line help. Usage:
Smtpport Sets the TCP/IP port that Lyris List Manager accepts incoming SMTP connections on. The default is 25. Usage:
lyris smtpport port_value
In the above example, you would substitute "port_value" with the port you want Lyris List Manager to listen on for SMTP connections. For more information, see SMTP Port
.
Nntpport Sets the TCP/IP port that Lyris List Manager accepts incoming NNTP connections on. The default is 119. Usage:
lyris nntpport port_value
In the above example, you would substitute "port_value" with the port you want Lyris List Manager to listen on for NNTP connections. For more information, see
Newsgroup Port.
Helotext Sets the string Lyris List Manager uses in the HELO portion of the SMTP transaction. Usage:
In the above example, you would substitute "hostname" with the text you want Lyris List Manager to use in the HELO statement. This is extremely useful if you are behind a firewall
and machines on the Internet cannot resolve the hostname your machine uses.
Mailreceive Sets the domains/hostnames the Lyris List Manager should accept mail for. Usage:
lyris mailreceive domain [domain_2] [...]
In the above example, you would substitute "domain" with the domain you want Lyris List Manager to accept mail for. This is extremely useful when you have Lyris List Manager
coexisting with another mail server on the same machine, and the List Manager will be accepting mail for well defined domains, and passing all other mail onto the other mail server.
|