[horde] log emails raw data
Mike Poznecki
poz_sa at yahoo.com
Tue Oct 10 17:33:45 UTC 2017
On Friday, September 29, 2017, 10:23:57 AM CDT, Jens Wahnes <wahnes at uni-koeln.de> wrote:
Mike Poznecki wrote:
> Hi, how can I use Horde::log to spit out the emails raw data? I want to see what is in the email coming across the wire. Thanks.
Yes, you can do that using the "debug" option in backends.local.php. Set
that option to the filename where the debug info should be written, e.g.:
$servers['foo'] = array(
# [...]
'debug' => '/tmp/horde-imap-debug.log',
# [...]
);
Note that you well need to enable "debug" in the smtp array as well if
you want logs of both IMAP and SMTP traffic.
If you have several users logged in at the same time and need only one
user's wire traffic, you would probably be best off to create a separate
backend (which has "debug" enabled) in backends.local.php an then set up
a preauthenticate hook in IMP to switch that one user to the new
debug-enabled backend.
Jens
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org
Thanks, I do have the debug turned on, but it still does not even create the log file.
More information about the horde
mailing list