1
|
# IMAP - Internet Message Access Protocol (A common e-mail protocol)
|
2
|
# Pattern attributes: great fast fast
|
3
|
# Protocol groups: mail ietf_proposed_standard
|
4
|
# Wiki: http://www.protocolinfo.org/wiki/IMAP
|
5
|
# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
|
6
|
#
|
7
|
# This matches IMAP4 (RFC 3501) and probably IMAP2 (RFC 1176)
|
8
|
#
|
9
|
# This pattern has been tested and is believed to work well.
|
10
|
#
|
11
|
# This matches the IMAP welcome message or a noop command (which for
|
12
|
# some unknown reason can happen at the start of a connection?)
|
13
|
imap
|
14
|
^(\* ok|a[0-9]+ noop)
|