develooper Front page | perl.qpsmtpd | Postings from May 2012

PATCH: earlytalker

From:
Matt Simerson
Date:
May 21, 2012 14:16
Subject:
PATCH: earlytalker
Message ID:
DC53E9AC-4080-4A52-9C53-CA8C688F443C@tnpi.net

https://github.com/smtpd/qpsmtpd/pull/15


consolidated chunks of code duplicated 4x into log_and_deny and log_and_pass

in apr_*_handler subs, return DECLINED when connection is not available to read (like during tests)

added 23 tests

deprecate action argument
	'action log' did nothing, better logging controls available with loglevel
	'action deny'  ->  reject 1
	'action denysoft' =>  reject 1 reject_type temp

POD
use head2 for config options (instead of over, item, back)
added loglevel section
updated for replacement of action with reject options



`````````````````````````````````````````````````````````````````````````
  Matt Simerson                   http://matt.simerson.net/
  Systems Engineer            http://www.tnpi.net/

  Mail::Toaster  - http://mail-toaster.org/
  NicTool          - http://www.nictool.com/
`````````````````````````````````````````````````````````````````````````




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About