MBOX-Line: From jjmckay at comaxis.com  Mon Feb 18 15:03:55 2019
To: imap-protocol@u.washington.edu
From: Jeff McKay <jjmckay@comaxis.com>
Date: Mon Feb 18 15:04:16 2019
Subject: [Imap-protocol] Gmail IMAP server session timeout
Message-ID: <87f58114-8169-d911-2e2b-e1679c598941@comaxis.com>

I've got an application that puts messages into Gmail via IMAP. 
Sometimes the application will have to sit there for a considerable 
time, while logged in, waiting for processing to catch up on the source 
end.? I am seeing Gmail shutdown, giving me "BYE session expired, please 
login again".? I tried to prevent this by issuing NOOP commands every 5 
minutes.? The server accepts the NOOP but that doesn't seem to reset its 
timer.? Is that expected behavior?? Is there something else I need to do 
to prevent the session from timing out?


