User Tools

Site Tools


reference:archive_script

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
reference:archive_script [2018/11/14 10:45] – external edit 127.0.0.1reference:archive_script [2018/12/05 12:54] paul
Line 6: Line 6:
 The message headers will still be archived, along with the explanation text returned by the script. The message headers will still be archived, along with the explanation text returned by the script.
  
-The Lua script is stored in a file called **archive.lua** in the VPOP3 directory. VPOP3 calls a function called **ArchiveRules** which should have the following prototype:+The Lua script is stored in a file called **archive.lua** which is stored in the VPOP3 directory in VPOP3 v6.6 and earlier, or managed through the Settings → Scripts page in VPOP3 v6.7 and later. 
 + 
 +VPOP3 calls a function called **ArchiveRules** which should have the following prototype:
  
   ArchiveRules(<return path>, <subject>, <time>, <type>, <sender email>, <authenticated sender>, <ip address>, <message-id>, <size>, <attachments>, <recipients>, <references>, <header>, <content>)   ArchiveRules(<return path>, <subject>, <time>, <type>, <sender email>, <authenticated sender>, <ip address>, <message-id>, <size>, <attachments>, <recipients>, <references>, <header>, <content>)
reference/archive_script.txt · Last modified: 2023/03/25 23:33 by paul