summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/StringIO.py
diff options
context:
space:
mode:
authorbwarsaw2000-02-19 03:41:58 +0000
committerbwarsaw2000-02-19 03:41:58 +0000
commitd2629e5926401d9bf7eb5ed94752bea9204d8058 (patch)
treef94e447fd612844bbf2c16dd2fa9392edd01fec0 /Mailman/pythonlib/StringIO.py
parent3437fef258f79a70d0d342fea73e0d48e18a66af (diff)
downloadmailman-d2629e5926401d9bf7eb5ed94752bea9204d8058.tar.gz
mailman-d2629e5926401d9bf7eb5ed94752bea9204d8058.tar.zst
mailman-d2629e5926401d9bf7eb5ed94752bea9204d8058.zip
Autoresponder: New mixin class which contains attributes and
configuration information for the new replybot functionality. Mailman can now send automatic responses to mailing list posts or -admin emails (-request autoreplies aren't necessary since that's a bot anyway). The following new configuration attributes control this feature: autorespond_postings - boolean which controls autoreplies to mailing list posts. autorespond_admin - same as above the -admin address. autoresponse_postings_text - the mailing list post autoreply text. This is %(string)s interpolated with a dictionary as described below. autoresponse_admin_text - same as above for the -admin address. autoresponse_graceperiod - the number of days between automatic responses to the same email author. This variable controls both autoresponses. If this is <= 0, then there is no grace period. The following non-configurable attributes store the state: postings_responses - a dictionary of email addresses (lower cased) to the time.time() that the grace period expires. admin_responses - same as above for the -admin address. autoresponse_postings_text and autoresponse_admin_text are string interpolated with the following dictionary: listname - the mailing list's "real_name" listurl - the list's "listinfo" url requestemail - the list's -request address adminemail - the list's -admin address We should probably add others.
Diffstat (limited to 'Mailman/pythonlib/StringIO.py')
0 files changed, 0 insertions, 0 deletions