File: biff.pat

package info (click to toggle)
l7-protocols 20090528-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,372 kB
  • sloc: ansic: 1,128; cpp: 261; sh: 231; makefile: 30
file content (16 lines) | stat: -rw-r--r-- 563 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Biff - new mail notification 
# Pattern attributes: good fast fast undermatch overmatch
# Protocol groups: mail
# Wiki: http://www.protocolinfo.org/wiki/Biff
# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
#
# Usually runs on port 512
#
# This pattern is completely untested.

biff
# This is a rare case where we will specify a $ (end of line), since
# this is the entirety of the communication.
# something that looks like a username, an @, a number.
# won't catch usernames that have strange characters in them.
^[a-z][a-z0-9]+@[1-9][0-9]+$