General Configuration
|
Setting
|
example value (multiple examples separated by |)
|
Description
|
RootDir
|
"C:\hMailServer\"
|
This is the main directory where you keep your hMailServer files
|
ipslocalhost
|
"127.0.0.1#192.168.1.20"
|
IP Addresses of the localhost separated by # from where you can send mails without authentication. Don't miss this one! In the sample file, you will notice it says 192.100.100.100 - you need to replace this with IP Address of your own hMailServer's machine.
|
user
|
admin@mydomain.com
|
Important! Administrator login username so the script can authenticate. This is needed so the script can log into hMailServer. (yes, it is stored in plaintext!)
|
pw
|
opensesame
|
Important! Administrator login password for the script to authenticate with hMailServer. (yes, it is stored in plaintext!)
|
serveradmin
|
admin@mydomain.com
|
Email address of the server admininistrator
|
write_log_active
|
true | false
|
Instructs the script whether or not to log the actions
|
mail_configuration_active
|
true
|
Set this to false to disable the ListServer functionality. This allows you to have the script installed in your Events.vbs file without actually using it. Set it to true to use the ListServer.
|
apply_std_sett_lists_without_cf
|
true
|
Apply standard settings to lists without list config file
|
apply_std_sett_accounts_without_cf
|
false
|
Apply standard settings to accounts without list config file
|
apply_standard_settings_file
|
""
|
Apply standard setting only to addresses in this file. If empty or not found, standards will be for all. Each address in a new line.
|
apply_standard_settings_file_negate
|
false
|
If true, apply standard setting only to addresses not listed in the file apply_standard_settings_file
|
globally_allowed_list
|
admin@mydomain.com#boss@mydomain.com#bobnewhart@gmail.com
|
Globally allowed email addresses which are allowed to post to the lists, separated by #
|
Subscription Configuration
|
subject_help
|
"help"
|
Subject-line command to receive a list of all the commands
|
subject_list
|
"list"
|
Subject-line command to receive a list of all list members
|
subject_subscription
|
"subscribe"
|
Subject-line command to subscribe using sender's address
|
subject_subscription_address
|
"subscribeaddress"
|
Subject-line command to subscribe a single address given in the body of the message
|
subject_subscription_list
|
"subscribelist"
|
Subject-line command to subscribe a list of addresses given in the body of the message (one on each line)
|
subject_unsubscription
|
"unsubscribe"
|
Subject-line command to unsubscribe the sender
|
subject_unsubscription_address
|
"unsubscribeaddress"
|
Subject-line command to un-subscribe a single address given in the body of the message
|
subject_unsubscription_list
|
"unsubscribelist"
|
Subject-line command to un-subscribe a list of addresses given in the body of the message (one on each line)
|
File Path Configuration
|
logspath
|
RootDir\Logs\
|
is the path where the logs of hMailServer are saved, make sure it ends with a backslash (\) This is set to RootDir\Logs\ by default, so you might not have to change it.
|
configpaths
|
RootDir\config\#RootDir\config\%domain%\
|
Path where to begin searching for config files. Directories should be separated by #, First will be used first. %domain% will be replaced by the domain of the list. Default is RootDir\config\#RootDir\config\%domain%\
|
configfile_standard_settings
|
RootDir\config\config.txt
|
Path and name of standard settings file. The default path is is RootDir\config\config.hms. If this variable is left empty, default settings will be used.
|
Backward Compatibility Settings (to work with hMailServer version 4)
|
using_v5
|
true
|
Are your using hMailServer version 5? If not, this may help with some backwards compatibility if you set it false.
|
SMTP_log_position
|
"C:\hMailServer\Events\smtplogposition.txt"
|
Internal storage file for the scan position in the log, only required in case you are using not v5.
|
delta_pos_log
|
100000
|
Amount of characters to rewind in the log, only required in case you are using not v5. Use 100000 for small installations, 1000000 for large installations
|
smtp_log_search_string
|
"SENT: 220 mail.rch.local ESMTP"
|
String in the log, which is used to start searching for the recipients during smtp session, only required in case you are using not v5
|
ListServer's Own Headers
|
msg_from
|
"ListServer <listServ@%domain%>"
|
When the listserver returns a message, like say, when a person sends a list command to a list address, this is used as the "FROM" address of the ListServer
|
msg_fromaddress
|
"listServer@%domain%"
|
When the listserver returns a message, like say, when a person sends a list command to a list address, this is used as the "Return-Path" address of the ListServer
|