Difference between revisions of "Trusted Email Services"

From Halon, SMTP software for hosting providers
Jump to: navigation, search
(Created page with " <hsl type="rcpt"> </hsl> <hsl type="data"> </hsl> <hsl type="predelivery"> </hsl>")
 
Line 1: Line 1:
  
 +
On client submission port (587), use the following script.
  
 
<hsl type="rcpt">
 
<hsl type="rcpt">
 +
if (!tes_check_client_policy())
 +
    Reject("Client is not TES compliant");
 +
</hsl>
  
 +
On server-to-server port (25), use the following script.
 +
 +
<hsl type="rcpt">
 +
if (tes_is_member()) {
 +
if (!tes_check_member_server_policy())
 +
    Reject("Member is not TES compliant");
 +
} else {
 +
if (!tes_check_nonmember_server_policy())
 +
    Reject("Server is not TES compliant");
 +
}
 
</hsl>
 
</hsl>
  

Revision as of 14:48, 14 March 2016

On client submission port (587), use the following script.

if (!tes_check_client_policy())
    
Reject("Client is not TES compliant"); 

On server-to-server port (25), use the following script.

if (tes_is_member()) {
 if (!
tes_check_member_server_policy())
    
Reject("Member is not TES compliant");
} else {
 if (!
tes_check_nonmember_server_policy())
    
Reject("Server is not TES compliant");