Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds code to authenticate against a Dovecot server without resorting to IMAP. It uses Dovecot's Authentication Protocol to communicate directly with Dovecot through a local/unix socket. This is functionally similar to the Courier auth module.
The primary advantage of using this instead of the IMAP module is that a CalDAV sync doesn't cause syslog to be spammed with lots of login/logout events in a short amount of time (I've seen bursts of 10/sec sustained for about a minute during initial download of a calendar).