Re: [exim] how to debug a TLS connection

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: Cyborg
CC: exim-users
Subject: Re: [exim] how to debug a TLS connection
On 2012-07-12 at 12:53 +0200, Cyborg wrote:
> is there an option to activate a SMTP log to see what a client sends to
> the server if TLS is active?


Assuming that you're on at least Exim 4.73, then you can turn on the
debug log in an ACL.

Define an ACL which turns on debugging and set the name of that ACL as
the value of acl_smtp_starttls in the main config section.

Per NewStuff:

----------------------------8< cut here >8------------------------------
 6. There is a new ACL control called "debug", to enable debug logging.
    This allows selective logging of certain incoming transactions within
    production environments, with some care.  It takes two options, "tag"
    and "opts"; "tag" is included in the filename of the log and "opts"
    is used as per the -d<options> command-line option.  Examples, which
    don't all make sense in all contexts:


      control = debug
      control = debug/tag=.$sender_host_address
      control = debug/opts=+expand+acl
      control = debug/tag=.$message_exim_id/opts=+expand
----------------------------8< cut here >8------------------------------


-Phil