User Tools

Site Tools


reference:spamrules_statement_addheader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
reference:spamrules_statement_addheader [2011/11/03 14:22] – Documented differences between insert/replace/remove simonreference:spamrules_statement_addheader [2018/11/14 10:45] (current) – external edit 127.0.0.1
Line 13: Line 13:
   * **AddHeader** should not be used where the header name may appear more than once (e.g. "Received: ...").   * **AddHeader** should not be used where the header name may appear more than once (e.g. "Received: ...").
  
 +From VPOP3 v6.20 onwards, the header modifier format has been extended:
 +  * If you prefix it with -, it will be added at the the start of the final headers
 +  * If you prefix it with +, it will be added at the end of the final headers
 +  * If you prefix it (after the -/+ above) with "{"<username>"}" (eg ''{bob}Subject: Bob's new subject'' ) it will only be added to the headers when placed into that user's mailbox
 +  * If you prefix it with #, it will remove the header if the data matches the regular expression specified in the modifier's data - eg ''#Bibble: ^[a-z]{5}$'' - otherwise the original header will be left in place
 +  * 
  
 =====Examples===== =====Examples=====
reference/spamrules_statement_addheader.1320330134.txt.gz · Last modified: 2018/11/14 10:44 (external edit)