Fulltext results:
- Spam Filter Rules: ForEach @reference
- l **ForEach** statements must be followed by an **EndFor** statement ^ Type ^ Description ^ Data ^ Ver... <code> ForEach URL FoundURLs Log "${FoundURLs}" EndFor #There should be a separate entry in the log f... ReplyAddr} ${Score} += 100 [whitelist] Break EndIf EndFor </code> The following example loops through all of the header lines of the message, and look
- SMTP Server Lua Scripting @reference
- cessing each message line received by VPOP3 * **EndMessage()** - (v5+) called when 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 ... ients()** - (v6.3+ Enterprise Only) called at the end of a message to allow customised logging of recip
- Password Strength Checking Script @reference
- assword' then return false else return true end end </code> A more complex example is: <code> blockedWords = {"password", "letmein", "computer"} minT... if Password == Username then return false end for _, value in pairs(blockedWords) do if ... owerPassword == value then return false end end hasDigit = 0 hasCaps = 0 hasLower = 0
- Outgoing Message Scripting @reference
- 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
- Spam Filter Rules: IfMatch @reference
- *IfMatch** statement must be terminated with an **EndIf** and may contain an **Else** statement, just l... wiki>^</nowiki> characters match at the start and end of a line rather than the start and end of the entire data | ^n |An empty string is not considered to... g | ^D |The dollar character matches only at the end of the search string. Without this, it can also m
- Lua SMTP Relay Control @reference
- 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
- Misc -> Advanced Tab @reference
- x problems with sending mail. ====Allow Any Line Endings==== In email, all lines must strictly end with a CR/LF pair (ASCII codes 13 + 10). Any other combi... rs (CR, LF, or LF/CR) are not interpreted as line endings. Usually VPOP3 will follow the standards, ho... o follow the standards, and to use incorrect line endings. In this case, you can check this option to t
- Formatting Syntax @wiki
- e two backslashes followed by a whitespace or the end of line. This is some text with some linebreaks\... at the two backslashes are only recognized at the end of a line\\ or followed by\\ a whitespace \\this ... the two backslashes are only recognized at the end of a line\\ or followed by\\ a whitespace \\thi... ow 3 Col 3 | Table rows have to start and end with a ''|'' for normal rows or a ''^'' for heade
- Batch file to end a database backup @reference
- ======Batch file to end a database backup====== VPOP3 runs pg_dump.exe to perform the regular database backups. 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
- Spam Filter Rules: BulkScan @reference
- arch specifier 1> <search specifier 2> #... EndBulkScan The <search specifier> requires a data p... of the search specifiers between the BulkScan and EndBulkScan statements. Where there is a match, the v... **BulkScan** statement must be terminated with **EndBulkScan** * No statements may be included between **BulkScan** and **EndBulkScan**, with the exception of [[spamrules_stat
- Spam Filter Rules: If @reference
- * All **If** statements must be followed by an **EndIf** statement * You may optionally include an *... amples===== <code> If ${score} < 100 # Statements EndIf </code> Note that it is not possible to combin... re} < 100 If ${subject} = "Hello" # Statements EndIf EndIf </code> Using the **Else** statement <code> If ${score} < 100 # Statements Else # Statements
- IMAP4 Server Scripting @reference
- 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 ... n(client, svr, svrport, enc) if (svrport==993) then enc = 1; end return enc; end
- POP3 Client Lua Scripting @reference
- the remote server,just before it saves it. * **EndMessage()** - called when VPOP3 has finished downl... 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
- Repairing corrupted database @how_to
- atabase====== With PostgreSQL (as with most high-end databases) the database system will automatically... raise notice '% rows inspected', curid; end if; begin SELECT msgdata INTO... e % is corrupt', badid; continue; end; end loop; end; $f$; </code> This will read all the messages from the database, and tell you which me
- Spam Filter Rules: IfInBag @reference
- l **IfInBag** statements must be followed by an **EndIf** statement *You may optionally include an **... example <code> IfInBag mybag "value" # Statements EndIf </code> Using an **Else** statement <code> IfI... nBag mybag "value" # Statements Else # Statements EndIf </code> Using a regular expression <code> IfInBag mybag "/@domain\.com/i" # Statements EndIf </code> Using a wildcarded expression <code> I