diff options
| author | bwarsaw | 1999-11-30 23:10:57 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-11-30 23:10:57 +0000 |
| commit | f217680241f3ad0cce29c07c7e3e71963055ed60 (patch) | |
| tree | 206ebc901a5349084fae87060b661afe191f76ea /Mailman/Defaults.py.in | |
| parent | ba8b044b21c08e5fb57d0a6935b8be1d817df9bd (diff) | |
| download | mailman-f217680241f3ad0cce29c07c7e3e71963055ed60.tar.gz mailman-f217680241f3ad0cce29c07c7e3e71963055ed60.tar.zst mailman-f217680241f3ad0cce29c07c7e3e71963055ed60.zip | |
Added DELIVERY_MODULE which selects the actual delivery module to use
in Mailman.Handlers.HandlerAPI. Still defaults to 'Sendmail' although
'SMTPDirect' might be better (it hasn't had enough eyes on it yet
though).
Diffstat (limited to 'Mailman/Defaults.py.in')
| -rw-r--r-- | Mailman/Defaults.py.in | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index 80fb91fb3..a97e2bfdf 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -36,8 +36,6 @@ DELIVERED_BY_URL = '/images/mailman.jpg' # Many site-specific settings # DEFAULT_HOST_NAME = '@FQDN@' -SMTPHOST = '@FQDN@' -SMTPPORT = 0 # default from smtplib DEFAULT_URL = 'http://@URL@/mailman/' PUBLIC_ARCHIVE_URL = '/pipermail' PRIVATE_ARCHIVE_URL = '/mailman/private' @@ -98,10 +96,21 @@ MAX_SPAWNS = 40 # SMTP_MAX_RCPTS = 500 -# -# Command for direct command pipe delivery to sendmail compatible program +# Delivery module for the message pipeline. See +# Mailman/Handlers/HandlerAPI.py for details. Unless overridden specifically +# in that module, this handler is used for message delivery to the list, and +# to an individual user. This value must be a string naming a module in the +# Mailman.Handlers package. +DELIVERY_MODULE = 'Sendmail' +#DELIVERY_MODULE = 'SMTPDirect' + +# Command for direct command pipe delivery to sendmail compatible program, +# when DELIVERY_MODULE is 'Sendmail'. SENDMAIL_CMD = '/usr/lib/sendmail' +# SMTP host and port, when DELIVERY_MODULE is 'SMTPDirect' +SMTPHOST = '@FQDN@' +SMTPPORT = 0 # default from smtplib # 1 to use crypt for passwords instead of md5. # Crypt may not work on all python installs. |
