Fulltext results:
- Password Strength Checking Script
- assword' then return false else return true end end </code> A more complex example is: <code> blockedWords = {"password", "letmein", "computer"} minT... == string.lower(Username) then return false end for _, value in pairs(blockedWords) do if ... owerPassword == value then return false end end local hasDigit = 0 local hasCaps = 0 lo
- External Message Store Scripting
- x[1]["msgdataid"]} else return {} end end function DownloadFromExternal(msgid, data, filename) ret,retstr = VPOP3Net.S3Get(url, bucket,... e, data else return false, retstr end end function UploadToExternal(msgid, filename) ret,retstr = VPOP3Net.S3Put(url, bucket, acc
- End()
- =====End()===== ''End()'' This function is called by VPOP3 when the SMTP service session ends ======SMTP Serv... the message terminator . has been received at the end of a message * **CheckRecipients()** - (v6.3+ Enterprise Only) called at the end of a message to check if recipients are allowed
- Outgoing Message Scripting
- if not SenderSubject then SenderSubject = "..." end end if string.upper(v[1]) == "TO" then SenderAddressTo = v[2] if not SenderAddressTo then SenderAddressTo = "..." end end if string.upper(v[1]) == "FROM" then -- SenderAddressFrom = "Alexander <alexander@my-sec
- Lua SMTP Relay Control
- time.hour < 19) then actions["SkipSend"] = 1; end; if size > 5000000 then actions["Priority"] = 1; end; return actions; end; </code> As an example, if you want messages over 50000 bytes to go through ma... senderid ~= 0 then actions["SkipSend"] = 1; end; else if senderid ~= 1 then actions["SkipSe
- Quarantine Report Mailer Scripting
- he class 'lt' applied * ~rowtemplate~<template>~end~ - this sets the template for each row in the qua... our3~ - colours in report * ~spamforward~<data>~end~ - <data> is added if forwarding to spam filter is allowed * ~limitreached~<data>~end~ - <data> is added if the row limit was reached * ~comment~<data>~end~ - removed during processing - useful for comment
- Group a user's folders into letter groups
- S NULL THEN RAISE EXCEPTION 'No such User'; END IF; IF RIGHT(v_prefix, 1) <> '/' THEN v_prefix := v_prefix || '/'; END IF; v_prefixlength := LENGTH(v_prefix); v_cou... AND userid=v_userid; v_count := v_count + 1; END IF; END LOOP; RETURN v_count; END; $$; </code> Then, you can run something like: SELECT pg_temp.
- IMAP4 Server Scripting
- pabilities (a space is added at the beginning and end to make finding words simpler) The function shou... tring.gsub(caps, " IDLE ", " ") return caps end ====DoListResult function==== if (m_Lua.C... o nothing return true, attributes, extended end ====GetEncryption function==== (Added in ... ) if (svrport==993) then enc = 1; end return enc; end ====FilterCommand funct
- Signature Script
- "<p>This is the HTML signature for domain1</p>" end elseif string.find(Sender, "@domain2%.com$") the... "<p>This is the HTML signature for domain2</p>" end end end </code> If you need, we can produce a script for you, but there would be a cost for this - contac
- User Routing Script
- localdomain%.com$") then ShouldForward = false; end </code> ====If the sender is user@domain.com for... m"; UseForwards = true; ShouldForward = true; end </code> ====If the time is currently in the morn... 12 then Assistants = "otheraddress@example.com" end </code> ====If the current time is between 10:00... 0") then Forwards = "person@mycompany.com"; UseForwards = true; ShouldForward = true; end </code>
- Batch file to end a database backup
- ======Batch file to end a database backup====== VPOP3 runs pg_dump.exe to perform the regular database... Ending this process through Task Manager will not end the back-end database processes creating the backup data. This batch file will do it for you. Save th
- POP3 Client Lua Scripting
- ctions need to be performed on the message. * **End()** - called at the end of the POP3 session. =====ProcessMessage()===== ''ProcessMessage("<mailfrom>... rt of the message where this section starts * End number - the offset from the start of the message
- Lua SMTP MX Server Rules
- t) > 5 then return false, 10; end end end </code> =====FinalOverrides===== (VPOP3 8.6 and later)
- Reset Message Folder Counts
- s totsize, sum(case when newflag then 1 else 0 end) as newcnt, count(case when read and not hold then null else msgid end) as unreadcnt, sum(case when hold then 1 else 0 end) as holdcnt from messages.folders left join (m
- Spam Filter Rules: Goto
- === Basic example <code> If ${Score} >= 100 Goto End Endif # Anything placed here will only run if ${Score} < 100 and "Goto End" is not executed :End </code> An infinite loop - you should **never** allow this to happen <code> :