Hi,

On Tue, 2019-10-22 at 17:55 -0500, Jerry Malcolm wrote:
> Hi Matthieu,
> 
> I can add some log/trace statements into the low-level imap
> processing.  
> I tried digging into the source, but got pretty bogged down.  If you
> can 
> point me to the best java class to put the logging code, I can make
> that 
> happen.
> 
> In the meantime, to try to keep moving on the problem, I just did a 
> tcpdump on my phone's ip address.   Not quite as clean as a
> formatted 
> imap trace.  But the info is there.   Hopefully someone knows what
> to 
> look for in the trace.  It was too large to include inline.  It's at 
> https://jwmhosting.com/imaptrace.txt

Do you have a raw tcpdump file (instead of a text version) so that I
can open it in wireshark?

> Let me know where to insert the imap trace in the code, and I'll try
> to 
> get a cleaner trace tomorrow.
> 

I had a second look at that but it's not as easy as I thought:
actually, Netty is providing a ChannelBuffer to
NettyImapRequestLineReader but this class, despite its name, is not
line-oriented, so it's not straightforward to have line-oriented logs.

I'm reluctant to modify this code for now as I have little knowledge of
the way it work.

So I suggest we go ahead with tcpdump strategy.

Cheers,

-- 
Matthieu Baechler


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to