This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
reference:lua_smtp_server_script [2017/01/20 12:01] – [DoMAILFROM()] paul | reference:lua_smtp_server_script [2019/06/05 11:05] – [SMTP Server Global Variables] paul | ||
---|---|---|---|
Line 1: | Line 1: | ||
======SMTP Server Lua Scripting====== | ======SMTP Server Lua Scripting====== | ||
- | The SMTP Server [[http:// | + | The SMTP Server [[http:// |
Each SMTP server instance has its own instance of the SMTPSVR.LUA script. No threading conflicts will occur. | Each SMTP server instance has its own instance of the SMTPSVR.LUA script. No threading conflicts will occur. | ||
Line 59: | Line 59: | ||
* **ServerID** - (IN) - number - ID of SMTP Service in VPOP3 | * **ServerID** - (IN) - number - ID of SMTP Service in VPOP3 | ||
* **ServerName** - (IN) - string - name of SMTP Service in VPOP3 | * **ServerName** - (IN) - string - name of SMTP Service in VPOP3 | ||
+ | |||
+ | ===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) | ||
====In VPOP3 Enterprise Only==== | ====In VPOP3 Enterprise Only==== | ||
* **CheckRBL** | * **CheckRBL** | ||
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 this function the [[lua_scripting# |
=====CheckRecipients()===== | =====CheckRecipients()===== | ||
'' | '' |