User Tools

Site Tools


reference:lua_smtp_mx_server_rules

This is an old revision of the document!


Lua SMTP MX Server Rules

Every time VPOP3 checks for remote MX server for sending messages using direct MX sending, it runs a script called mxserverrules.lua which can be created/edited in Settings → Scripts (or in the VPOP3 directory in VPOP3 v6.6 or earlier).

GetCheckCache

GetCheckCache(“<Domain>”, numRetries, messageSize)

returns true if VPOP3's DNS cache should be used, or false to do a fresh DNS lookup

GetOverrides

GetOverrides(“<Domain>”, numRetries, messageSize)

returns DNS Server Map, continue

If continue is false, then VPOP3 will act as if there were no MX/A records defined for this destination

CheckServer

(VPOP3 7.10 and later)

CheckServer(“<Domain>”, “<MX Server>”, numRetries, messageSize)

returns true if the MX server is OK to use, false if it should be ignored

reference/lua_smtp_mx_server_rules.1552905656.txt.gz · Last modified: 2019/03/18 10:40 by paul