Ejemplo n.º 1
0
   void
   POP3Connection::_ProtocolQUIT()
   {
      _SaveMailboxChanges();
      _UnlockMailbox();

      _SendData("+OK POP3 server saying goodbye...");
   }
Ejemplo n.º 2
0
 void
 POP3Connection::OnConnectionTimeout()
 {
    // Fix for mailbox remailing locked even after timeout
    // http://www.hmailserver.com/forum/viewtopic.php?f=7&t=22361
    _UnlockMailbox();
    String sMessage = "-ERR Autologout; idle too long\r\n";
    SendData(sMessage);
 }
Ejemplo n.º 3
0
   void
   POP3Connection::_ProtocolQUIT()
   {
      // NEED FOR BUG FIX: Unlock should not be allowed unless user was auth'd
      // because next pop check is allowed even if in-use!
      // Problem is people have grown accustomed to this & could cause more
      // issues if fixed.
      _SaveMailboxChanges();
      _UnlockMailbox();

      _SendData("+OK POP3 server saying goodbye...");
   }