--- qmail-log.5.orig  1998-06-15
+++ qmail-log.5       2007-03-21
--- .././qmail-1.03/qmail-log.5	Mon Jun 15 12:53:16 1998
+++ ../qmail-1.03.2418/qmail-log.5	Wed May  3 22:26:48 2006
@@ -108,6 +108,13 @@
 is
 .IR q .
 .TP
+.B double bounce: discarding ...
+Message
+.I m
+was discarded due to an \'empty\' recipient in 
+.
+.IR doublebounceto .
+.TP
 .B triple bounce: discarding ...
 Message
 .I m
@@ -232,6 +239,11 @@
 is unable to queue a bounce message,
 usually because the machine is almost out of memory.
 It will try again later.
+This can also be caused by incorrect settings of
+.B $QMAILQUEUE
+or errors in a program or script which
+.B $QMAILQUEUE
++points to.
 .TP
 .B unable to stat ...
 .B qmail-send
@@ -257,5 +269,172 @@
 .B qmail-queue
 or
 .BR qmail-send .
+
+.SH "SPAMCONTROL INFORMATION"
+.B qmail-smtpd
+logs additional information in the extensible format
+\fIAction::Type::Condition:\fB \fIInformation\fB.
+
+.I Action 
+is either
+.IR Reject , 
+or 
+.IR Accept .
+.I Type
+is one from 
+.IR SMTP ,
+.IR SNDR ,
+.IR ORIG ,
+.IR RCTP , 
+or
+.IR DATA . 
+.I SNDR 
+is the hostname of the sending MTA,
+.I ORIG
+is the return path \fF:<Return-Path>\fB,
+.I RCPT
+is the forwarding path \fIT:<Forwarding-Path>\fB,
+.I DATA
+is the message.
+
+The following Condition and Information are currently provided:
+.TP
+.I Bad_Helo
+the client's HELO/EHLO greeting string was found in 
+.IR badhelo
+or rejected because of one of the following conditions indicated
+in the information section: '!' (HELO/EHLO not provided/empty)
+, '\.'/'*' (HELO/EHLO rejected due to a direct/wildmat match with entries in
+.IR badhelo ).
+.TP
+.I Bad_Loader
+the content of a base64 encoded MIME part matched an
+entry in 
+.IR badloadertypes.cdb .
+.TP
+.I Bad_MIME
+a base64 encoded MIME part matched an entry n
+.IR badmimetypes.cdb . 
+.TP
+.I Bad_Mailfrom 
+the provided <Return-Path> matched an entry in
+.I badmailfrom 
+additionally with the rejection conditions: '@' (address), '*'
+(wildmat), '-' (badmailfromunknown), and '+' (spoofing). 
+.TP
+.I Bad_Rcptto
+the provided <Forwarding-Path> matched an entry in
+.IR badrcptto .
+
+.TP 
+.I DNS_Helo 
+the client's HELO/EHLO greeting did not match it's
+FQDN or no DNS A/MX RR was found as indicated with the 
+following symbols: '=' (HELO/EHLO does not match 
+.BR TCPREMOTEHOST )
+, 'A' (DNS A-Name lookup failed for HELO/EHLO)
+, 'M' (DNS MX lookup failed for HELO/EHLO).
+.TP
+.I DNS_MF 
+no DNS MX RR was found for the <Return-Path>.
+
+.TP 
+.I Failed_Rcptto
+the <Forwarding-Path> did not match entry in the provdided
+cdbs as per
+.IR recipients .
+
+.TP
+.I Invalid_Relay 
+the none-RELAYCLIENT provided a <Forwarding-Path> not
+allowed as per
+.I rcpthosts 
+or 
+.IR morercpthosts.cdb .
+.TP
+.I Invalid_Sender
+the <Return-Path> of a RELAYCLIENT did not match the 
+provided value of LOCALMFCHECK or did not match against
+.I mailfromrules.cdb
+or was not found in 
+.I rcpthosts
+or 
+.IR morercpthosts.cdb . 
+.TP
+.I Invalid_Size 
+the message size exceeded the maximum as provided by
+DATEBYTES or 
+.IR databytes .
+
+.TP
+.I Toomany_Rcptto 
+the number of Recipients ('RCPT TO:') exaggerated the
+value provided as MAXRECPIENTS.
+
+.TP
+.I Start_TLS
+TLS session encryption started.
+.TP
+.I Missing_TLS
+TLS was required for this connection but not achieved.
+
+.TP
+.I Failed_Auth 
+in SMTP authentication, the user could not authenticated.
+.TP
+.IR Missing_Auth ,
+SMTP authentication was required (REQAUTH), but was not granted.
+.TP
+.IR Valid_Auth 
+SMTP authentication was granted.
+
+.TP
+.I Recipients_Rcptto
+the <Forwarding-Path> matched an entry in the cdbs available per 
+.IR reccients .
+.TP
+.I Recipients_Verp
+the Forwarding-Path was recogized as VERP and matched an entry
+in the cdbs available per
+.IR recipients .
+.TP 
+.I Recipients_Domain
+the Forwarding-Path matched a wildcard domain entry in the cdbs
+available per
+.IR recipients .
+.TP 
+.I Rcpthosts_Rcptto
+the domain part of the <Forwarding-Path> matched an entry in
+.I rcpthosts
+or
+.IR morercpthosts.cdb .
+
+.TP
+.I P:protocol
+the effective ESMTP protocol variant in use.
+.TP
+.I S:IP:FQDN
+the clients IP and FQDN address available via
+TCPREMOTEIP and TCPREMOTEHOST.
+.TP
+.I H:string
+the clients HELO/EHLO greeting string.
+.TP
+.I F:Return-Path
+the provided 'MAIL FROM:' address (if any).
+.TP
+.I T:Forwarding-Path
+the given 'RCPT TO:' address.
+.TP
+.I 'authtype' ?= 'userid' 
+in case of SMTP authentication it's type and the userid.
+.TP
+.I 'cipher' != 'DN'
+in case of TLS the actual cipher used and the client's
+\'Subject\' Distinguished Name (DN) - if available
+(otherwise \'unknown\').
+
 .SH "SEE ALSO"
-qmail-send(8)
+qmail-send(8),
+qmail-smtpd(8),
+qmail-control(9)


syntax highlighted by Code2HTML, v. 0.9.1