Changes

From SME Server
Jump to navigationJump to search
Line 58: Line 58:  
  rm -f /usr/share/qpsmtpd/plugins/connection_time
 
  rm -f /usr/share/qpsmtpd/plugins/connection_time
 
  signal-event email-update
 
  signal-event email-update
 +
= PERLDOC =
 +
 +
 +
 +
<span id="_top">[[Qpsmtpd#Plugins]]</span>
 +
== [[#___top|NAME]] ==
 +
 +
connection_time - log the duration of a connection
 +
 +
== [[#___top|DESCRIPTION]] ==
 +
 +
The '''connection_time''' plugin records the time of a connection between the first and the last possible hook in qpsmtpd (''pre-connection'' and ''post-connection'') and writes a <tt>LOGINFO</tt> (default, see below) line to the log.
 +
 +
== [[#___top|CONFIG]] ==
 +
 +
=== [[#___top|loglevel]] ===
 +
 +
Adjust the quantity of logging for this plugin. See [https://github.com/smtpd/qpsmtpd/blob/master/docs/logging.md docs/logging.pod]
 +
<pre> connection_time loglevel +1  (less logging)
 +
 +
connection_time loglevel -1  (more logging)</pre>
 +
<!-- Generated Tue Jul 18 05:51:22 EDT 2017 using
 +
perldoc -T -ohtml /usr/share/qpsmtpd/plugins/connection_time |pandoc -f html -t mediawiki |sed 1 i\\n\n\n<span id="_top">[[Qpsmtpd#Plugins]]</span> |sed -e s#</d.>##
 +
-->
    
----
 
----

Navigation menu