procmail.syntax 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. # procmail definition
  2. # created by Michelle Konzack <linux4michelle@tamay-dogan.net>
  3. # This definition is under the GNU GPL version 3.0.
  4. context default
  5. keyword whole linestart #*procmail\n brightcyan black
  6. keyword whole #*\n brown
  7. wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._
  8. ##############################################################
  9. # Vars from procmail
  10. keyword whole MAILDIR brightgreen
  11. keyword whole DEFAULT brightgreen
  12. keyword whole LOGFILE brightgreen
  13. keyword whole VERBOSE brightgreen
  14. keyword whole LOGABSTRACT brightgreen
  15. keyword whole LOG brightgreen
  16. keyword whole ORGMAIL brightgreen
  17. keyword whole LOCKFILE brightgreen
  18. keyword whole LOCKEXT brightgreen
  19. keyword whole LOCKSLEEP brightgreen
  20. keyword whole LOCKTIMEOUT brightgreen
  21. keyword whole TIMEOUT brightgreen
  22. keyword whole MSGPREFIX brightgreen
  23. keyword whole HOST brightgreen
  24. keyword whole UMASK brightgreen
  25. keyword whole SHELLMETAS brightgreen
  26. keyword whole SHELLFLAGS brightgreen
  27. keyword whole SENDMAIL brightgreen
  28. keyword whole SENDMAILFLAGS brightgreen
  29. keyword whole NORESRETRY brightgreen
  30. keyword whole SUSPEND brightgreen
  31. keyword whole LINEBUF brightgreen
  32. keyword whole DELIVERED brightgreen
  33. keyword whole TRAP brightgreen
  34. keyword whole EXITCODE brightgreen
  35. keyword whole LASTFOLDER brightgreen
  36. keyword whole MATCH brightgreen
  37. keyword whole SHIFT brightgreen
  38. keyword whole INCLUDERC brightmagenta
  39. keyword whole SWITCHRC brightgreen
  40. keyword whole PROCMAIL_VERSION brightgreen
  41. keyword whole PROCMAIL_OVERFLOW brightgreen
  42. keyword whole COMSAT brightgreen
  43. keyword whole DROPPRIVS brightgreen
  44. keyword whole LOGNAME brightgreen
  45. keyword whole HOME brightgreen
  46. keyword whole PATH brightgreen
  47. keyword whole SHELL brightgreen
  48. keyword whole ST brightgreen
  49. keyword whole STN brightgreen
  50. keyword whole NL brightgreen
  51. ##############################################################
  52. # Vars used by tdtools-procmail
  53. keyword TDTP_DIRPREFIX brightgreen
  54. keyword TDTP_INC brightgreen
  55. keyword TDTP_DIR brightgreen
  56. keyword TDTP_USE_SEPARATOR brightgreen
  57. keyword TDTP_SHOW_MSGINFO brightgreen
  58. keyword TDTP_USE_SERNO brightgreen
  59. keyword TDTP_SERNO_MAX brightgreen
  60. keyword TDTP_LEFT_MAX brightgreen
  61. keyword TDTP_SHOW_FILTERS brightgreen
  62. keyword TDTP_USE_TAG_N_DROP brightgreen
  63. keyword TDTP_HITS_MIN brightgreen
  64. keyword TDTP_USE_L10N brightgreen
  65. keyword TDTP_USE_MAILHEADERS brightgreen
  66. keyword TDTP_DATE_PREFIX brightgreen
  67. keyword TDTP_USE_LISTDIR brightgreen
  68. keyword TDTP_LISTDIR_SEPARATOR brightgreen
  69. keyword TDTP_USE_EXPURGATE_BULK brightgreen
  70. keyword TDTP_SPAM_AT_END brightgreen
  71. keyword TDTP_MAXSIZE brightgreen
  72. keyword DATE_NOW_RFC brightgreen
  73. keyword DATE_NOW_SER brightgreen
  74. keyword FROM brightgreen
  75. keyword TO brightgreen
  76. keyword CC brightgreen
  77. keyword ENVTO brightgreen
  78. keyword SIZE brightgreen
  79. keyword DATE_DATE brightgreen
  80. keyword DATE_RFC brightgreen
  81. keyword DATE_SER brightgreen
  82. keyword DATE_RECV_RFC brightgreen
  83. keyword DATE_RECV_SER brightgreen
  84. keyword MSG_HOUR brightgreen
  85. keyword MSG_DAY brightgreen
  86. keyword MSG_WEEK brightgreen
  87. keyword MSG_MONTH brightgreen
  88. keyword MSG_YEAR brightgreen
  89. keyword TDTP_LISTDIR brightgreen
  90. keyword TDTP_NAME brightgreen
  91. keyword SPAMTAG brightgreen
  92. keyword FILTER brightgreen
  93. keyword TDTP_HITS_TOT brightgreen
  94. keyword whole linestart TDTP_L10N_* brightgreen
  95. keyword TDTP_L10N_LL_CC brightgreen
  96. keyword TDTP_L10N_LL brightgreen
  97. keyword TDTP_L10N_FILE brightgreen
  98. keyword TDTP_EMAIL_NET brightgreen
  99. keyword TDTP_EMAIL_TDAUTOBUILDER brightgreen
  100. keyword TDTP_EMAIL_TDCONTROL brightgreen
  101. keyword TDTP_EMAIL_TDAUTODOWNLOADER brightgreen
  102. keyword TDTP_EMAIL_BUSINESS brightgreen
  103. keyword TDTP_EMAIL_BTS_DEBIAN brightgreen
  104. keyword TDTP_EMAIL_ML brightgreen
  105. keyword TDTP_EMAIL_PRI brightgreen
  106. keyword tdmcRDATE brightgreen
  107. keyword tdmcSDATE brightgreen
  108. keyword tdmcNL brightgreen
  109. keyword USEWNAME brightgreen
  110. keyword USEWLIST brightgreen
  111. keyword WLIST brightgreen
  112. keyword USEBNAME brightgreen
  113. keyword USEBLIST brightgreen
  114. keyword BLIST brightgreen
  115. keyword USETNAME brightgreen
  116. keyword USETLIST brightgreen
  117. keyword TLIST brightgreen
  118. keyword USEHNAME brightgreen
  119. keyword USEHLIST brightgreen
  120. keyword HLIST brightgreen
  121. keyword RESULT brightgreen
  122. keyword PACKAGE brightgreen
  123. keyword SUB brightgreen
  124. keyword COUNT brightgreen
  125. keyword NEWMSG brightgreen
  126. keyword OLDMSG brightgreen
  127. keyword TMPMSG brightgreen
  128. keyword ADDR_ME brightgreen
  129. keyword ADDR_LISTS brightgreen
  130. keyword HIT brightgreen
  131. keyword STRING brightgreen
  132. keyword STRG brightgreen
  133. keyword SHOW_FILTER brightgreen
  134. keyword TMPSPAM brightgreen
  135. ##############################################################
  136. # Vars used by other recipes from the procmail mailinglist
  137. keyword PROCMAIL_DIR brightgreen
  138. keyword PROCMAILDIR brightgreen
  139. keyword PROCDIR brightgreen
  140. keyword OCTET brightgreen
  141. keyword DOTQUAD brightgreen
  142. keyword RCVD brightgreen
  143. keyword RCVD_COUNT brightgreen
  144. keyword FROMX brightgreen
  145. keyword RETX brightgreen
  146. keyword GPGFROM brightgreen
  147. keyword GPGGET brightgreen
  148. keyword GPGEXP brightgreen
  149. keyword EMAIL brightgreen
  150. keyword DUMMY_EXEC brightgreen
  151. keyword DUMMY brightgreen
  152. keyword TMPVAL brightgreen
  153. keyword TMPVAR brightgreen
  154. keyword HOMEDIR brightgreen
  155. keyword NULL brightgreen
  156. keyword whole H_From* brightgreen
  157. keyword whole on red
  158. keyword whole true red
  159. keyword whole yes red
  160. keyword whole off red
  161. keyword whole false red
  162. keyword whole no red
  163. keyword whole all red
  164. keyword whole :0*\n black magenta
  165. keyword whole \**\n cyan
  166. keyword whole |*\n yellow
  167. keyword whole !*\n brightblue
  168. keyword ${*} brightgreen
  169. keyword ` brightred
  170. keyword { brightcyan
  171. keyword } brightcyan
  172. context " " green
  173. keyword ${*} brightgreen
  174. context exclusive ` ` lightgrey black
  175. keyword '*' green
  176. keyword " green
  177. keyword \\` brightred
  178. keyword ; brightcyan
  179. keyword $(*) brightgreen
  180. keyword ${*} brightgreen
  181. keyword { brightcyan
  182. keyword } brightcyan
  183. keyword [ brightcyan
  184. keyword ] brightcyan
  185. keyword ( brightcyan
  186. keyword ) brightcyan
  187. keyword -eq brightcyan
  188. keyword -ne brightcyan
  189. keyword wholeright $+ brightgreen
  190. keyword $ brightgreen
  191. keyword >/dev/null brightblue
  192. keyword 2>&1 brightblue
  193. keyword 1>&2 brightblue
  194. keyword && brightblue
  195. keyword || brightblue
  196. keyword >> brightblue
  197. keyword ES=$? brightgreen
  198. wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._
  199. keyword | cyan
  200. keyword whole --* cyan
  201. keyword whole -*\s cyan
  202. keyword whole \+* cyan
  203. keyword whole \** cyan
  204. keyword whole /* cyan
  205. keyword whole *: cyan
  206. keyword whole bash cyan
  207. keyword whole bc cyan
  208. keyword whole cp cyan
  209. keyword whole cut cyan
  210. keyword whole date cyan
  211. keyword whole echo cyan
  212. keyword whole egrep cyan
  213. keyword whole env cyan
  214. keyword whole expand cyan
  215. keyword whole formail cyan
  216. keyword whole gpg cyan
  217. keyword whole grep cyan
  218. keyword whole head cyan
  219. keyword whole killall cyan
  220. keyword whole md5sum cyan
  221. keyword whole mimedecode cyan
  222. keyword whole mkdir cyan
  223. keyword whole mv cyan
  224. keyword whole rm cyan
  225. keyword whole sed cyan
  226. keyword whole sendmail cyan
  227. keyword whole sort cyan
  228. keyword whole tail cyan
  229. keyword whole tddebbtsd cyan
  230. keyword whole tdnetsound cyan
  231. keyword whole test cyan
  232. keyword whole touch cyan
  233. keyword whole tr cyan
  234. keyword whole wc cyan
  235. keyword whole which cyan
  236. keyword whole if yellow
  237. keyword whole then yellow
  238. keyword whole else yellow
  239. keyword whole fi yellow
  240. keyword whole for yellow
  241. keyword whole in yellow
  242. keyword whole do yellow
  243. keyword whole done yellow