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