Mailjam has separate configuration files for the different apps (the daemon and the variety of different clients available). Check below to read more about the configuration file you need to modify depending on what you want to do.
Contents
All the configurations that can be applied to the Mailjam daemon are registered in the mailjam.conf file. That file contains ini-style [1] configuration parameters, separated in different categories.
Note
The mailjam.conf file will be installed in different locations depending on your setup. The usual locations are:
There is a copy of the configuration file in the conf/ directory, within the sources.
This section contains the configuration parameters that modify the behaviour of the daemon when serving content through XMLRPC [2].
These are all the available parameters in this section:
Default: localhost
The address where the daemon will be listening for XMLRPC requests. Use * to listen an all available addresses, or any specific hostname or ip address value.
Default: false (because ssl support hasn’t been added yet)
Enables/disables SSL [3] support in the daemon. If false all the traffic to/from the server will travel unencrypted. If true all the traffic will travel encrypted.
Default: /usr/local/etc/mailjam/ssl/mailjam.key
Path to the ssl key used for encrypted SSL sessions.
Warning
This parameter is not used right now, as ssl support hasn’t been added yet)
This section contains the configuration parameters that modify the way the daemon saves data to disk, using one of the storage backends.
These are all the available parameters in this section:
Default: json
Sets the type of backend the daemon is going to use. Right now the only backend available is json.
Default: /usr/local/mailjam/storage/mailings.json
Path to the file where the identifiers of existing mailing lists will be saved.
Note
The default configuration file contains a dynamic setting for this parameter:
lists_db = %(path)s/mailings.%(backend)s
That means that the parameter will inherit the values of the base path and the extension of the file from the storage.path and storage.backend settings.
See also
More information about this (and other tricks) here:
Default: /usr/local/mailjam/storage/members.json
Path to the file where the identifiers of existing members will be saved.
Note
The same notes as for the lists_db parameter apply to this configuration parameter.
This section contains the configuration parameters that modify the way the daemon saves data to disk, using one of the storage backends.
These are all the available parameters in this section:
Default: true
Enables/disables the archives feature. When enabled, Mailjam saves copies of email address into an archive, so they can be read later, through a web interface.
To disable that feature, set this to false.
Warning
This feature is not ready yet, so it doesn’t matter if you set this to true or false
This section contains the configuration parameters that set the default behaviour for mailing lists.
Warning
This parameters are not currently used in mailjam, we are still working on per-mailing-list configuration parameters.
These are all the available parameters in this section:
This section contains the configuration parameters that set the default behaviour for members.
Warning
This parameters are not currently used in mailjam, we are still working on per-member configuration parameters.
These are all the available parameters in this section:
Default: false
Enables/disables auto-registration of members to mailing lists through a public web application. If true, users can register themselves into mailing lists using a public web interface. If false, only mailing lists administrators will be able to add new members to the list.
Default: false
Enables/disables the option to update passwords by the members themselves.
If true, members of a mailing list will be able to update their passwords using a public web interface. If false, only mailing lists administrators will be able to reset those passwords.
This file contains all the parameters to configure the MTA client properly. It contains ini-style [1] configuration parameters, separated in different categories.
Note
The mailjam-mta.conf file will be installed in different locations depending on your setup. The usual locations are:
There is a copy of the configuration file in the conf/ directory, within the sources.
This section contains the configuration parameters that tell the MTA client where to connect when trying to interact with the Mailjam daemon.
These are all the available parameters in this section:
Default: localhost
The address where the daemon is listening for XMLRPC requests. This is the address to where the client will try to connect to.
Default: 9876
The port where the daemon accepts incoming XMLRPC requests. This is the port to where the client will try to connect to.
Default: http://localhost:9876
This is the URI [4] to where the client will connect to. It is constructed based on the values of the address and port parameters.
Note
The default configuration file contains a dynamic setting for this parameter:
uri = http://%(address)s:%(port)s
That means that the parameter will inherit the values from the address and port parameters.
See also
More information about this (and other tricks) here:
Default: false (because ssl support hasn’t been added yet)
Enables/disables SSL [3] connections to the daemon. If false all the traffic to/from the server will travel unencrypted. If true all the traffic will travel encrypted.
Warning
In order to enable SSL support in the client, you have to be sure the Mailjam daemon supports SSL too (check the ssl parameter in the xmlrpc_server section of the daemon configuration file)
This section contains the configuration parameters that set where the files generated by the client will be stored/saved.
See also
For more information about the kind of files the client does generate, take a look at the MTA client documentation.
These are all the available parameters in this section:
Default: true
Enables/disables the local archive for the client. If true, the client will save a copy of every email sent to the list in an internal archive, that could be checked/queried later. If false, the emails will not be kept on disk after being processed.
Warning
This feature is not ready yet.
This file contains all the parameters to configure the CLI client properly. It contains ini-style [1] configuration parameters, separated in different categories.
Note
The mailjam-cli.conf file will be installed in different locations depending on your setup. The usual locations are:
There is a copy of the configuration file in the conf/ directory, within the sources.
This section contains the configuration parameters that tell the cli client where to connect when trying to interact with the Mailjam daemon.
These are all the available parameters in this section:
Default: localhost
The address where the daemon is listening for XMLRPC requests. This is the address to where the client will try to connect to.
Default: 9876
The port where the daemon accepts incoming XMLRPC requests. This is the port to where the client will try to connect to.
Default: http://localhost:9876
This is the URI [4] to where the client will connect to. It is constructed based on the values of the address and port parameters.
Note
The default configuration file contains a dynamic setting for this parameter:
uri = http://%(address)s:%(port)s
That means that the parameter will inherit the values from the address and port parameters.
See also
More information about this (and other tricks) here:
Default: false (because ssl support hasn’t been added yet)
Enables/disables SSL [3] connections to the daemon. If false all the traffic to/from the server will travel unencrypted. If true all the traffic will travel encrypted.
Warning
In order to enable SSL support in the client, you have to be sure the Mailjam daemon supports SSL too (check the ssl parameter in the xmlrpc_server section of the daemon configuration file)
This section contains the configuration parameters that set the behaviour of the client feature that allows it to save a history of commands provided by the user.
These are all the available parameters in this section:
Default: true
Enables/disables history support in the client. If true all commands provided by an user will be saved to disk. If false nothing will be written to disk.
Default: ~/.mailjam/cli/history
Path to the file where the list of executed commands will be saved.
[1] | (1, 2, 3) http://en.wikipedia.org/wiki/INI_file |
[2] | http://en.wikipedia.org/wiki/XML-RPC |
[3] | (1, 2, 3) http://en.wikipedia.org/wiki/Secure_Socket_Layer |
[4] | (1, 2) http://en.wikipedia.org/wiki/Uniform_resource_identifier |