This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
reference:lua_smtp_server_script [2018/09/19 11:33] – paul | reference:lua_smtp_server_script [2024/05/01 13:12] (current) – [ProcessMessage()] paul | ||
---|---|---|---|
Line 67: | Line 67: | ||
* **RBLRejectMessage** | * **RBLRejectMessage** | ||
* **RBLHeader** | * **RBLHeader** | ||
+ | |||
+ | ===V7.10 and later=== | ||
+ | * **Encryption** - (IN) - boolean - Is the session encrypted | ||
+ | * **EncryptionDetails** - (IN) - string - SSL/TLS version and SSL/TLS cipher being used (if encrypted) | ||
=====SMTP Server " | =====SMTP Server " | ||
'' | '' | ||
Line 223: | Line 227: | ||
* Reason string - text string to use if a reason is needed for the action | * Reason string - text string to use if a reason is needed for the action | ||
* Recipients table - table containing new/ | * Recipients table - table containing new/ | ||
- | * HeaderModifiers table - list of message header modifications to make | + | * HeaderModifiers table - list of message header modifications to make - each entry is the full header line (eg "From: < |
* <message MIME structure> | * <message MIME structure> | ||
* Path string - the IMAP style path to the message section | * Path string - the IMAP style path to the message section | ||
Line 245: | Line 249: | ||
This function should return <new actions table>, <results string> | This function should return <new actions table>, <results string> | ||
- | In this function the VPOP3 ProcessMessage helper functions can be used. | + | (In version 7.0 and later, the returned ' |
+ | |||
+ | In this function the [[lua_scripting# | ||
=====CheckRecipients()===== | =====CheckRecipients()===== | ||
'' | '' |