Fulltext results:
- SMTP Server Lua Scripting
- age, or another string (including the SMTP result code). VPOP3 will terminate the connection if a **5xx** or **4xx** result code is given In VPOP3 Enterprise, there are also the... xt string returned should contain the SMTP result code - VPOP3 will terminate the connection if a **5xx** or **4xx** result code is given. =====GetMaxMessageSize()===== ''GetMax
- User Manager Script
- hould translate to: A simple example would be: <code> function TranslateUsername(Protocol, Username) -... Username] end return Username; end </code> or <code> function TranslateUsername(Protocol, Username) -- Remove trailing @company.com from userna... pany%.com$", ""); return Username; end </code> If you need, we can produce a script for you,
- Outgoing Message Scripting
- h depending on the 'From' address in the header <code lua> -- change ReturnPath with address-only accor... " .. SenderAddressTo .. "' with Subject '" .. SenderSubject .. "'") end return actions end </code>
- Spam Filter Rules: GetRFC822Date
- n contain fractions of a day =====Example===== <code> GetRFC822Date ${date} result Log ${result} </code>
- User Routing Script
- d messages from *@localdomain.com addresses==== <code> --Don't forward any messages from any *@localdom... omain%.com$") then ShouldForward = false; end </code> ====If the sender is user@domain.com forward to person@mycompany.com==== <code> --If the sender is user@domain.com forward to p... UseForwards = true; ShouldForward = true; end </code> ====If the time is currently in the morning, ov
- Archive Script
- message as normal. A simple example would be: <code> function ArchiveRules(retpath, subject, time, ty... == "bibble") then return "BibbleTest"; end end</code> If you need, we can produce a script for you, b
- Spam Filter Rules
- fault spamrules.txt file contains the statements <code> include spamrules_initialise.txt include spamrul... cessresults.txt include spamrules_userfinal.txt </code> This means that VPOP3 reads the spamrules_initi
- Use the spam filter scripting to add fixed text to the subject on incoming messages
- t ends the processing of locally sent messages) <code> IfMatch subject /\[external\]/ # modification already exists Else AddHeader "Subject: [external] ${Subject}" EndIf </code>
- VPOP3Net.GetHTTP
- TTPResult - a string containing the HTTP Response code (eg "200") * StatedLength - the length of the
- Spam Filter Rules: DNSBL
- the result and adds onto the spam filter score. <code> DNSBL ${SenderIP} sbl.spamhaus.org dnsresult IfM... (${SenderIP}) found in SBL.Spamhaus (${dnsresult})" ${Score} += 100 [sbl.spamhaus.org] EndIf </code>
- Status Monitor (port 5109) protocol
- line=== An update line beginning with '0' (ASCII code 48) indicates a status line update, shown in the ... tatus=== An update line beginning with '1' (ASCII code 48) indicates a connection status update. This is
- Find biggest messages
- psql (The password is 'vpop3pass') Then, type <code> SELECT username, folder, subject, fromaddr, PG_S... sernumber=f.userid ORDER BY size DESC LIMIT 10; </code> N.B. VPOP3 does not need to be stopped while yo
- Spam Filter Rules: Escape
- rmat Escape <variable name> =====Example===== <code> ${myvar} = "This costs $10.00" Escape myvar # ${myvar} is now "This costs \$10\.00" </code>
- Use the spam filter scripting to add random text to the subject on incoming messages
- t ends the processing of locally sent messages) <code> IfMatch rcpt /^support$/i IfMatch subject /\[[A... .= ${T} Random 0 9 T ${Ref} .= ${T} AddHeader "Subject: [${Ref}] ${Subject}" EndIf EndIf </code>
- Spam Filter Rules: Random
- , the two numbers are swapped =====Example===== <code> Random 5 10 val #${val} contains one of 5, 6, 7, 8, 9, 10 </code>