summaryrefslogtreecommitdiff
path: root/Mailman/versions.py
diff options
context:
space:
mode:
authorbwarsaw2002-05-28 03:06:45 +0000
committerbwarsaw2002-05-28 03:06:45 +0000
commit631fc7e2928c96061021db51a78e3aaba9e6aaf1 (patch)
tree5f83b84c4a75de8094ea055d12d853635e0e6961 /Mailman/versions.py
parentbd750d5999c9d16c8996f5363acfc07fc62720ca (diff)
downloadmailman-631fc7e2928c96061021db51a78e3aaba9e6aaf1.tar.gz
mailman-631fc7e2928c96061021db51a78e3aaba9e6aaf1.tar.zst
mailman-631fc7e2928c96061021db51a78e3aaba9e6aaf1.zip
InitVars(): Add a new attribute hold_and_cmd_autoresponses which is a
dictionary mapping sender addresses (they don't have to be members) to a 2-tuple of information (date, count). date is a 3-tuple of (year, month, day) and count is the number of auto-responses sent to the sender today. autorespondToSender(): This method is called whenever we're about to send a response to a -request message, or a hold notification. It returns 1 if the caller should send a normal autoresponse, and 0 otherwise. When we've just exceeded the maximum number of autoresponses, we send a message indicating that no more responses will be sent today (instead of the normal autoresponse).
Diffstat (limited to 'Mailman/versions.py')
0 files changed, 0 insertions, 0 deletions