aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFiles
* Fix uninitialized value $set in quotemetaGuilhem Moulin2018-05-091
|
* Add support for untagged ESEARCH responses from RFC 4731.Guilhem Moulin2018-05-091
|
* Library: new API idle_start() and idle_stop().Guilhem Moulin2018-05-091
|
* Ensure the lower bound of UID ranges is at least 1.Guilhem Moulin2017-05-291
|
* "fingerprint" now only pins the cert's SPKI, not the cert itself.Guilhem Moulin2016-12-011
|
* Net::IMAP::InterIMAP, interimap: Add support for IMAP NOTIFY [RFC 5465].Guilhem Moulin2016-03-121
| | | | | Unsollicited LIST responses are currently ignored, hence interimap won't detect mailbox creation/deletion/subcription/unsubscription.
* Net::IMAP::InterIMAP: quit idling when a time jump of at least 30s is detectedGuilhem Moulin2016-03-121
| | | | | This forces a write, so we can better detect detect dead peers after hibernation for instance.
* Net::IMAP::InterIMAP: set SO_{RCV,SND}TIMEO on the socket so we can detect ↵Guilhem Moulin2016-03-121
| | | | dead peers
* Net::IMAP::InterIMAP: set binmode on the socket (and our pipe ends)Guilhem Moulin2016-03-121
|
* Net::IMAP::InterIMAP optimisation: ignore a new message that's immediately ↵Guilhem Moulin2016-03-121
| | | | | | expunged (before we had a chance to sync it)
* Net::IMAP::InterIMAP: Don't increase UIDNEXT when receiving EXISTS responses.Guilhem Moulin2016-03-121
| | | | | | | | | | | Indeed, if the server sends * n EXISTS * n EXPUNGE meaning a new message is received, and is immediately removed afterwards, the server might have allocated a new UID for the removed message.
* wibbleGuilhem Moulin2016-03-111
|
* IDLE: fix race condition when an untagged response is received after the DONEGuilhem Moulin2016-03-101
|
* Net::IMAP::InterIMAP: change argument order in slurp and _resp.Guilhem Moulin2016-03-101
|
* Net::IMAP::InterIMAP: don't print undefined cache values in debug messages.Guilhem Moulin2016-03-091
|
* pullimap: keep trying to pull new messages after issuing any IMAP command.Guilhem Moulin2016-03-091
| | | | | Indeed we might get an untagged EXISTS response, meaning that a new message has been received meanwhile.
* wibbleGuilhem Moulin2016-03-091
|
* typo: F_[GS]ETFL → F_[GS]ETFDGuilhem Moulin2016-03-091
|
* Net::IMAP::InterIMAP: try again if connect(2) was interrupted.Guilhem Moulin2016-03-081
|
* wibbleGuilhem Moulin2016-03-071
|
* Add an option "purge-after" to remove old messages.Guilhem Moulin2016-03-071
|
* pullimap: Remove "logfile" config option.Guilhem Moulin2016-03-071
|
* typoGuilhem Moulin2016-03-071
|
* Ensure the FD_CLOEXEC bit is 1 on sockets, logger and state files.Guilhem Moulin2016-03-051
|
* pullimap: add support for IMAP IDLE (RFC 2177).Guilhem Moulin2016-03-051
|
* pullimap: mark downloaded messages as \SeenGuilhem Moulin2016-03-051
|
* pullimap (IMAP part only)Guilhem Moulin2016-03-051
|
* Inspect the select(2) syscall's return value.Guilhem Moulin2016-03-041
|
* Relax parsing of continuation requests for for empty resp-text.Guilhem Moulin2016-03-031
| | | | | microsoft's IMAP server violates RFC 3501 by skipping the trailing space for empty resp-text.
* Don't modify the state when receiving an unsolicited FETCH response without UIDGuilhem Moulin2016-03-031
| | | | | We require QRESYNC support (RFC 7162) for syncing, which requires UID (MODSEQ) in unsolicited FETCH responses, cf RFC 7162 section 3.2.4.
* fix slurp(), useful for IDLE and NOTIFY.Guilhem Moulin2016-03-031
|
* Log and debug messages: don't prefix with a ':' for nameless clients.Guilhem Moulin2016-03-031
|
* Ensure the inbox is always used in upper-case internally.Guilhem Moulin2016-03-031
| | | | | | | | | RFC 3501: INBOX is case-insensitive. All case variants of INBOX (e.g., "iNbOx") MUST be interpreted as INBOX not as an astring. An astring which consists of the case-insensitive sequence "I" "N" "B" "O" "X" is considered to be INBOX and not an astring.
* Add an option 'SSL_protocols'.Guilhem Moulin2015-10-191
|
* Fix byte count for compression streams.Guilhem Moulin2015-10-061
|
* Bump version number.Guilhem Moulin2015-09-281
|
* Display source UIDs upon APPEND.upstream/0.2Guilhem Moulin2015-09-221
|
* Use TCP keepalive to detect dead peers.Guilhem Moulin2015-09-211
|
* Move SSL fingerprint verification to the the verify callback.Guilhem Moulin2015-09-161
|
* Display the certificate chain, SSL protocol and cipher in debug mode.Guilhem Moulin2015-09-161
|
* Set X.509 certificate purpose to 'SSL Server' for SSL_verify=YES.Guilhem Moulin2015-09-161
|
* Don't set SO_KEEPALIVE on the socket.Guilhem Moulin2015-09-151
| | | | | This is most likely useless in our case since the TCP keepalive time is usually much higher than the IMAP timeout.
* Remove support for the Binary Content extension [RFC3516].Guilhem Moulin2015-09-151
| | | | | | | | | | | | | “If the server does not know how to decode the section's CTE, it MUST fail the request and issue a "NO" response that contains the "UNKNOWN-CTE" extended response code.” — [RFC3516 section 4.3] Unfortunately the client doesn't know which message couldn't be decoded, so it can't fallback and use BODY instead. This made ‘use-binary=NO’ pretty much mandatory. Hence we remove support for BINARY [RFC3516]. Instead, we increase the thresold for when to add Zlib full flush points from 4096 to the buffer size (32768).
* Add the ability to proxy TCP connections through a SOCKSv5 proxy.Guilhem Moulin2015-09-151
|
* Replace IO::Socket::INET dependency by the lower lever Socket to enable IPv6.Guilhem Moulin2015-09-151
|
* Accept non-fully qualified commands.Guilhem Moulin2015-09-141
|
* Pass literals by reference to save memory.Guilhem Moulin2015-09-141
|
* Replace IO::Socket::SSL dependency by the lower level Net::SSLeay.Guilhem Moulin2015-09-131
| | | | | | | | | | | | Also, * Rename the 'SSL_verify_trusted_peer', 'SSL_ca_path', and 'SSL_cipher_list' options to 'SSL_CApath', 'SSL_verify' and 'SSL_cipherlist', respectively. * Add an option 'SSL_CAfile' to specify a file containing trusted certificates to use during server certificate authentication. * Replace Compress::Zlib dependency by the lower level Compress::Raw::Zlib.
* Fix detection of boolean options.Guilhem Moulin2015-09-131
|
* Use 0/1 internally for 'NO'/'YES'.Guilhem Moulin2015-09-111
|