| 
   version: 0.01 (22 May 2003)
    
   disclaimer: this addon is based on code of ucspi-tcp-0.88
   written by D. J. Bernstein. It may or may not work
   with previous/later versions of the ucspi-tcp package.
    
   recordio is useful to trace communication, but e.g. on big mailservers it is a pain
   to trace one special conversation. this is why I modified recordio to only record
   a connection if the environment variable RECORDIO is set. to make the
   recorded data easier to find in logfiles my addon also adds hostname:ip_address
   information.
    
   Both modifications are shielded by #ifdefs, so you can enable/disable them at compile time.
    
   example:
   Loglines now look like:
     recordio: pid 18639: mail.example.com:10.0.0.1 > 220 mail.space.net ESMTP? 
    recordio: pid 18639: mail.example.com:10.0.0.1 < EHLO mail.example.com? 
    recordio: pid 18639: mail.example.com:10.0.0.1 > 250-mail.space.net? 
    recordio: pid 18639: mail.example.com:10.0.0.1 > 250-PIPELINING? 
    recordio: pid 18639: mail.example.com:10.0.0.1 > 250-ETRN? 
    recordio: pid 18639: mail.example.com:10.0.0.1 > 250 8BITMIME? 
    recordio: pid 18639: mail.example.com:10.0.0.1 > 451 timeout (#4.4.2)? 
    recordio: pid 18639: mail.example.com:10.0.0.1 > [EOF] 
    the following assumes a life with qmail setupto enable recordio for the ip address 10.0.0.1 (life with qmail setup) add the following line to your /etc/tcp.smtp
     10.0.0.1:allow,RECORDIO=""and build a new /etc/tcp.smtp.cdb with     # qmailctl cdbnow you have to modify /var/qmail/supervise/qmail-smtpd/run and add recordio so that the last line looks like this:     .... 0 smtp recordio /var/qmail/bin/qmail-smtpd 2>&1at last restart qmail-smtpd with the command     # qmailctl restart 
   download:
    |