File: imap.pat

package info (click to toggle)
l7-protocols 20090528-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,356 kB
  • ctags: 104
  • sloc: ansic: 1,128; cpp: 261; sh: 231; makefile: 29
file content (14 lines) | stat: -rw-r--r-- 559 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# IMAP - Internet Message Access Protocol (A common e-mail protocol)
# Pattern attributes: great fast fast
# Protocol groups: mail ietf_proposed_standard
# Wiki: http://www.protocolinfo.org/wiki/IMAP
# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
#
# This matches IMAP4 (RFC 3501) and probably IMAP2 (RFC 1176)
#
# This pattern has been tested and is believed to work well.
# 
# This matches the IMAP welcome message or a noop command (which for 
# some unknown reason can happen at the start of a connection?)  
imap
^(\* ok|a[0-9]+ noop)