Manual Page: recorder.8


recorder - IMAP connection recorder


/usr/local/archiveopteryx/sbin/recorder srcport address destport file


The recorder program relays data between an IMAP client and server, and records the session in a format which allows the Archiveopteryx developers to replay and analyse it later.

If you have problems getting archiveopteryx(8) to work with a particular IMAP client, you can make the client connect to the recorder, instead of directly to imapd, and recorder will produce a transcript of the IMAP session. If the client opens more than one connection, recorder stores more than one file.

The file format is pure ASCII and can be edited. We suggest that you edit out your password, then send the rest to and we may be able to find out what's happening.

We have debug tools that can replay the connection, so we can fix any bugs on the server's side. In some cases, we can also add the file to our regression tests, so we can be sure that new versions of archiveopteryx(8) do not have the same error.


To intercept and record traffic to the IMAP server on and place a record of the connections in files called /tmp/bugreport* you can do the following:

Disable TLS

recorder does not work when TLS is being used. (To TLS, a tool like recorder looks like a man-in-the-middle attack.)

To disable TLS, set the variable use-tls to disabled in /usr/local/archiveopteryx/archiveopteryx.conf (see the archiveopteryx.conf(5) man page for more information.)

Restart Archiveopteryx

The change to use-tls only takes effect when you restart Archiveopteryx, e.g. by issuing the following command:

/usr/local/archiveopteryx/lib/archiveopteryx restart

Start recorder

To make recorder listen on port 1430 and forward connections to the real server on port 143:

/usr/local/archiveopteryx/sbin/recorder 1430 143 /tmp/bugreport

Connect to recorder

With the IMAP client, you connect to port 1430 on this host instead of the real server, and work as usual. Please don't do much more than is necessary to reproduce the problem, because it makes the bugreport files grow very large.


Just hit Control-C to stop recorder when you're done. The files called /tmp/bugreport* contain the IMAP session transcripts.

Remove passwords

Please edit the files to remove any passwords or other confidential data. If you can, don't change the number of words or bytes. It's best to change all the letters in passwords and confidential words to 'x'.

That's it. Now you can send an excellent bug report to


The Archiveopteryx Developers,


This man page covers Archiveopteryx version 3.1.3, released 2010-03-10,


archiveopteryx(8), archiveopteryx.conf(5), deliver(8), logd(8),