" Procmail log syntax. syn clear syn match MiscChar "[^a-zA-Z0-9(){}]" syn match LowPriorityPM "^procmail:\s\+" syn match LowPriority "^procmail:\s\+\%(Unlocking\|Locking\|Opening\|Acquiring\|Executing\).*$" syn match LowPriorityAssign "^procmail:\s\+Assigning .\%(LASTFOLDER\|LOGABSTRACT\|VERBOSE\|INCLUDERC\)=.*$" syn match Score "Score:\s\+-\?\d\+\s\+-\?\d\+" syn match RecipeMatch "Match\%(ed\| on\)" syn match RecipeNoMatch "No match on" syn match EMailMsgID "[-.\\+_$a-zA-Z0-9]\+@[-.a-zA-Z0-9]\+" syn match Delivery "^\%(From\| Subject:\| Folder:\)\s\+.*$" syn match Process "^procmail: \[\d\+\] [A-Z][a-z][a-z] [A-Z][a-z][a-z] [0-3]\d [0-2]\d:[0-5]\d:[0-5]\d \d\+$" syn match Error "^procmail: \%(Conflicting\|Suspicious rcfile\|Invalid regexp\|Rescue of unfilterted data\|Bad substitution of\|Couldn't \|Internal error:\|Unable to treat as directory\|Skipped \"\).*$" syn match ErrUnexpect "^procmail: \%(Unexpected EOL\|Closing brace unexpected\).*$" syn match ErrMiss "^procmail: \%(Missing \%(rcfile\|action\|closing brace\)\|No space left\|Out of memory\|Insufficient privileges\).*$" syn match ErrLock "^procmail: \%(Kernel-lock failed\|Kernel-unlock failed\|Couldn't unlock\|Lock failure\|Forced unlock denied\|Couldn't determine implicit lockfile\).*$" syn match ErrExec "^procmail: \%(Failed to execute\|Non-zero exitcode\|Program failure\|Terminating prematurely\).*$" syn match ErrExcess "^procmail: \%(Exceeded LINEBUF\|Extraneous\|path too long\|Excessively long rcfile path\|Excessive output quenched\|Assignment to variable with excessively long name\|Quota exceeded while writing\).*$" let b:current_syntax = "procmail-log"