diff options
| author | Barry Warsaw | 2009-11-24 23:36:14 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-11-24 23:36:14 -0500 |
| commit | a26ed5b02a76dd26a72eb8acad819be47dca3049 (patch) | |
| tree | 916a3a0cacd895519e891cef83930e01c6f3503c /src/mailman/config | |
| parent | 79d9e36a0b824548a0f2bc83cb948fc5ce668151 (diff) | |
| download | mailman-a26ed5b02a76dd26a72eb8acad819be47dca3049.tar.gz mailman-a26ed5b02a76dd26a72eb8acad819be47dca3049.tar.zst mailman-a26ed5b02a76dd26a72eb8acad819be47dca3049.zip | |
Add a development mode setting which changes the basic behavior of mailman.
The only thing it does currently is force the recipients in the low level
connection code to a hard-coded address.
Also:
* Fix the inject command's --filename/-f argument
* Make inject's LISTNAME required
* When inject reads from stdin, capture C-c and print a nicer message
* Extend the members command so that blank lines and lines starting with # are
ignored.
* members command should not fail when an address is already subscribed. Just
warn and continue.
Diffstat (limited to 'src/mailman/config')
| -rw-r--r-- | src/mailman/config/schema.cfg | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/mailman/config/schema.cfg b/src/mailman/config/schema.cfg index 00df3849b..36e736345 100644 --- a/src/mailman/config/schema.cfg +++ b/src/mailman/config/schema.cfg @@ -21,6 +21,13 @@ # options. See <https://launchpad.net/lazr.config> for details. [mailman] +# Setting devmode to true enables certain safeguards and other behavior +# changes that make developing Mailman easier. For example, it forces the +# SMTP RCPT TO recipients to be a test address so that no messages are +# accidentally sent to real addresses. All devmode variables in other +# sections begin with 'devmode_' for easy searching. +devmode: false + # This address is the "site owner" address. Certain messages which must be # delivered to a human, but which can't be delivered to a list owner (e.g. a # bounce from a list owner), will be sent to this address. It should point to @@ -261,10 +268,16 @@ chain: hold [mta] +# Set this to an address to force the SMTP RCPT TO recipents when devmode is +# enabled. This way messages can't be accidentally sent to real addresses. +devmode_recipient: + # The class defining the interface to the incoming mail transport agent. incoming: mailman.mta.postfix.LMTP -# The class defining the interface to the outgoing mail transport agent. +# The callable implementing delivery to the outgoing mail transport agent. +# This must accept three arguments, the mailing list, the message, and the +# message metadata dictionary. outgoing: mailman.mta.deliver.deliver # How to connect to the outgoing MTA. |
