Skip to content

Commit

Permalink
plugins: add description for check_loop
Browse files Browse the repository at this point in the history
Copy across the description from qpsmtpd for the check_loop
plugin so when we have some infrastructure for generating
documentation we can have a nice section for all our plugins
  • Loading branch information
damoxc committed Oct 10, 2011
1 parent a8b1f27 commit 1403c91
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions plugins/check_loop.py
Expand Up @@ -20,6 +20,18 @@
# Boston, MA 02110-1301, USA.
#

"""
This plugin detects loops by counting "Received" and "Delivered-To" header
lines. It's a kluge but it duplicates what qmail-smtpd does, and it does
at least prevent messages from looping forever.
Takes one optional parameter, the maximum number of "hops" ("Received"
lines plus "Delivered-To" lines) allowed. The default is 100, the same
as in qmail-smtpd.
Based off the original from qpsmtpd, written by Keith C. Ivey
"""

import logging

from vsmtpd import dsn
Expand Down

0 comments on commit 1403c91

Please sign in to comment.