2017-02-18 20:17:07 +00:00
|
|
|
filetype: mail
|
|
|
|
|
2017-03-21 19:07:39 +00:00
|
|
|
detect:
|
2017-02-18 20:17:07 +00:00
|
|
|
filename: "(.*/mutt-.*|\\.eml)$"
|
2024-03-23 20:44:27 +00:00
|
|
|
header: "^From .* \\d+:\\d+:\\d+ \\d+"
|
2017-02-18 20:17:07 +00:00
|
|
|
|
|
|
|
rules:
|
2017-03-21 19:07:39 +00:00
|
|
|
- type: "^From .*"
|
2017-02-18 20:17:07 +00:00
|
|
|
- identifier: "^[^[:space:]]+:"
|
|
|
|
- preproc: "^List-(Id|Archive|Subscribe|Unsubscribe|Post|Help):"
|
|
|
|
- constant: "^(To|From):"
|
2017-03-21 19:07:39 +00:00
|
|
|
- constant.string:
|
|
|
|
start: "^Subject:.*"
|
|
|
|
end: "$"
|
2024-03-22 16:56:09 +00:00
|
|
|
rules:
|
2017-03-21 19:07:39 +00:00
|
|
|
- constant.specialChar: "\\\\."
|
2017-02-18 20:17:07 +00:00
|
|
|
- statement: "<?[^@[:space:]]+@[^[:space:]]+>?"
|
|
|
|
- default:
|
|
|
|
start: "^\\n\\n"
|
|
|
|
end: ".*"
|
2017-03-21 19:07:39 +00:00
|
|
|
- comment:
|
|
|
|
start: "^>.*"
|
|
|
|
end: "$"
|