This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
reference:lua_smtp_mx_control [2016/12/16 10:08] – [Remote Server Settings] paul | reference:lua_smtp_mx_control [2023/07/28 15:41] (current) – paul | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Lua SMTP MX Control====== | ======Lua SMTP MX Control====== | ||
- | Every time VPOP3 is going to send messages using direct MX sending, it runs a script called **mxout.lua** in the VPOP3 directory. | + | Every time VPOP3 is going to send messages using direct MX sending, it runs a script called **mxout.lua** |
=====Messages to be sent===== | =====Messages to be sent===== | ||
Line 30: | Line 30: | ||
=====Remote Server Settings===== | =====Remote Server Settings===== | ||
If you need to tweak how VPOP3 connects to remote servers you can write a **ServerDetails** function. VPOP3 calls this function before sending each message. | If you need to tweak how VPOP3 connects to remote servers you can write a **ServerDetails** function. VPOP3 calls this function before sending each message. | ||
+ | |||
+ | (This function was [[https:// | ||
The function signature is: | The function signature is: | ||
Line 64: | Line 66: | ||
Example - don't use SSL when connecting to ' | Example - don't use SSL when connecting to ' | ||
- | function ServerDetails(params, | + | function ServerDetails(params, |
- | if (params[" | + | if params[" |
actions[" | actions[" | ||
end | end | ||
Line 72: | Line 74: | ||
| | ||
+ | =====ParseURL===== | ||
+ | (VPOP3 8.0 and later) |