Skip to main content

Recipe for installing MaildropHost

Project description

cns.recipe.maildrophost is simple recipe used for installing MaildropHost from tarball with ability to configure the product by modifying config.py file. No other changes, except download, untar and modify config.py are made.

Example:

[maildrophost]
recipe = cns.recipe.maildrophost
version = 1.22
target = ${buildout:directory}/products
MAILDROP_HOME=/tmp/maildrop
MAILDROP_SPOOL=/tmp/maildrop/spool
MAILDROP_VAR=/tmp/maildrop/var
MAILDROP_PID_FILE=/var/run/maildrop/maildrop.pid
MAILDROP_LOG_FILE=/var/log/maildrop/maildrop.log
PYTHON=/usr/bin/python
SMTP_HOST=localhost
SMTP_PORT=25
MAILDROP_INTERVAL=120
DEBUG=0
DEBUG_RECEIVER=
MAILDROP_BATCH=0
MAILDROP_TLS=0
MAILDROP_LOGIN=
MAILDROP_PASSWORD=
WAIT_INTERVAL=0.0
ADD_MESSAGEID=0
SUPERVISED_DAEMON=0

version is optional and defaults to 1.22

target is optional. Defaults to ${buildout:directory}/products

All other options (with capital letters) are MaildropHost specific options. See MaildropHost/config.py for exact meaning.

Option MAILDROP_USER (not included above) is specific to maildropctl control script, which is generated to ${buildout:directory}/bin. If you want to run maildrop process under specific user, add MAILDROP_USER option to the buildout configuration. Otherwise current user will be used to start maildrop daemon process.

Do not change anything in MaildropHost directory by hand!

Version 1.5.2

Fixed config file name in maildropctl script

Version 1.5.1

Fixed overriding commented items

Version 1.5

Updated to work with MaildropHost 1.22 - config.py file is now ‘config’ only. Both versions are supported. If there is no config.py, config will be used. MaildropHost 1.22 is default now.

Version 1.4

Fixed MAILDROP_USER option. This option did not work. Thanks to dhigu.

Version 1.3

Fixed download_dir - if download_directory is not available using download_cache or downloads dir in buildout.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cns.recipe.maildrophost-1.5.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

cns.recipe.maildrophost-1.5.2-py2.4.egg (7.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page