Till Brehm
2016-06-14 a95251e2b49c0c2cb8b81addc3a1afc2300ee650
commit | author | age
413d3b 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
00333e 2 <html><head><title>ISPCOnfig 3 remote API documentation</title>
413d3b 3
T 4   
5
6   
7   
8   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
9   <link rel="stylesheet" type="text/css" href="definitionen.css">
10   <style type="text/css">
11   </style></head>
12
13 <body>
14 <div style="padding:40px">
15 <h1>mail_policy_add(<span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span>);</h1>
16 <br>
17 <p class="headgrp">Description: </p>
18 <p class="margin"> Adds a new mail policy.</p><br>
19 <p class="headgrp">Input Variables: </p> 
20 <p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span></p>
21 <p class="headgrp">Parameters (in <span class="var">$params</span>): </p>
22 <p class="margin"> policy_name&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
23 <p class="margin"> virus_lover&nbsp;&nbsp;(<span class="paratype">enum('N','Y')</span>)</p>
24 <p class="margin"> spam_lover&nbsp;&nbsp;(<span class="paratype">enum('N','Y')</span>)</p>
25 <p class="margin"> banned_files_lover&nbsp;&nbsp;(<span class="paratype">enum('N','Y')</span>)</p>
26 <p class="margin"> bad_header_lover&nbsp;&nbsp;(<span class="paratype">enum('N','Y')</span>)</p>
27 <p class="margin"> bypass_virus_checks&nbsp;&nbsp;(<span class="paratype">enum('N','Y')</span>)</p>
28 <p class="margin"> bypass_spam_checks&nbsp;&nbsp;(<span class="paratype">enum('N','Y')</span>)</p>
29 <p class="margin"> bypass_banned_checks&nbsp;&nbsp;(<span class="paratype">enum('N','Y')</span>)</p>
30 <p class="margin"> bypass_header_checks&nbsp;&nbsp;(<span class="paratype">enum('N','Y')</span>)</p>
31 <p class="margin"> spam_modifies_subj&nbsp;&nbsp;(<span class="paratype">enum('N','Y')</span>)</p>
32 <p class="margin"> virus_quarantine_to&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
33 <p class="margin"> spam_quarantine_to&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
34 <p class="margin"> banned_quarantine_to&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
35 <p class="margin"> bad_header_quarantine_to&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
36 <p class="margin"> clean_quarantine_to&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
37 <p class="margin"> other_quarantine_to&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
38 <p class="margin"> spam_tag_level&nbsp;&nbsp;(<span class="paratype">float</span>)</p>
39 <p class="margin"> spam_tag2_level&nbsp;&nbsp;(<span class="paratype">float</span>)</p>
40 <p class="margin"> spam_kill_level&nbsp;&nbsp;(<span class="paratype">float</span>)</p>
41 <p class="margin"> spam_dsn_cutoff_level&nbsp;&nbsp;(<span class="paratype">float</span>)</p>
42 <p class="margin"> spam_quarantine_cutoff_level&nbsp;&nbsp;(<span class="paratype">float</span>)</p>
43 <p class="margin"> addr_extension_virus&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
44 <p class="margin"> addr_extension_spam&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
45 <p class="margin"> addr_extension_banned&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
46 <p class="margin"> addr_extension_bad_header&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
47 <p class="margin"> warnvirusrecip&nbsp;&nbsp;(<span class="paratype">enum('N','Y')</span>)</p>
48 <p class="margin"> warnbannedrecip&nbsp;&nbsp;(<span class="paratype">enum('N','Y')</span>)</p>
49 <p class="margin"> warnbadhrecip&nbsp;&nbsp;(<span class="paratype">enum('N','Y')</span>)</p>
50 <p class="margin"> newvirus_admin&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
51 <p class="margin"> virus_admin&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
52 <p class="margin"> banned_admin&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
53 <p class="margin"> bad_header_admin&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
54 <p class="margin"> spam_admin&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
55 <p class="margin"> spam_subject_tag&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
56 <p class="margin"> spam_subject_tag2&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
57 <p class="margin"> message_size_limit&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
58 <p class="margin"> banned_rulenames&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
59 <p class="headgrp">Output: </p> 
60 <p class="margin"> Returns the ID of the newly added mail policy.</p>
61 <!--<b>Output:</b> 
62 <p style="margin-left:100px">Gives a record of </p> -->
63 </div>
64
65 </body></html>