ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libspf/docs/qmail/tcpserver_vars.html
Revision: 1.1
Committed: Tue Nov 13 00:51:34 2007 UTC (18 years, 11 months ago) by root
Content type: text/html
Branch: MAIN
CVS Tags: HEAD
Log Message:
initial import of libspf-1.0.0-p5 from freebsd ports

File Contents

# User Rev Content
1 root 1.1 <html>
2     <head>
3     <link rel="stylesheet" type="text/css" href="./libSPF.css">
4     <title>qmail - tcpserver variables defined by libSPF</title>
5     </head>
6     <body>
7    
8     <!-- File: tcpserver_vars.txt -->
9     <!-- Author: James Couzens <jcouzens@codeshare.ca> -->
10     <!-- Date: February 4, 2004 -->
11     <!-- Updated: August 3, 2004 - Added SPF_DEBUG_STATE -->
12     <!-- MTA: qmail - http://qmail.org -->
13     <!-- Info: Describes the 'tcpserver' variables defined by libSPF in the -->
14     <!-- libSPF qmail patch. -->
15    
16     <!-- Start outside table -->
17     <table cellspacing=0 cellpadding=0 border=0 width=600>
18     <tr>
19     <td class=out>
20    
21     <!-- Start inside header table -->
22     <table cellspacing=1 cellpadding=1 border=0 width=100%>
23     <tr>
24     <td class=hdr colspan=2>tcpserver Global Vars:</td>
25     </tr>
26     </table>
27     <!-- End inside header table -->
28    
29     </td>
30     </tr>
31     <tr>
32     <td></td>
33     </tr>
34     <tr>
35     <td class=out>
36    
37     <!-- Start inside control vars tabel -->
38     <table cellpadding=4 cellspacing=1 border=0 width=100%>
39     <tr>
40     <td>&nbsp;<b><a href=control_files.html#spfaction target=_self>SPF_ACTION</a></b>&nbsp;</td>
41     <td>&nbsp;Type of action to take based on SPF result</td>
42     </tr>
43     <tr>
44     <td>&nbsp;<b><a href=control_files.html#spftarpit target=_self>SPF_TARPIT</a></b>&nbsp;</td>
45     <td>&nbsp;Enable/Disable tarpitting</td>
46     </tr>
47     <tr>
48     <td>&nbsp;<b><a href=control_files.html#spftarpittime target=_self>SPF_TARPIT_TIME</a></b>&nbsp;</td>
49     <td>&nbsp;How long to tarpit for</td>
50     </tr>
51     <tr>
52     <td>&nbsp;<b><a href=control_files.html#spfsexplainstate target=_self>SPF_EXPLAIN_STATE</a></b>&nbsp;</td>
53     <td>&nbsp;Enable/Disable 'SPF Explanations'</td>
54     </tr>
55     <tr>
56     <td>&nbsp;<b><a href=control_files.html#spfsexplanation target=_self>SPF_EXPLANATION</a></b>&nbsp;</td>
57     <td>&nbsp;Define the Explanation to message provide</td>
58     </tr>
59     <tr>
60     <td>&nbsp;<b><a href=control_files.html#spftrustedstate target=_self>SPF_TRUSTED_STATE</a></b>&nbsp;</td>
61     <td>&nbsp;Enable/Disable 'Trusted Forwarder' mode</td>
62     </tr>
63     <tr>
64     <td>&nbsp;<b><a href=control_files.html#spftrustedforwarder target=_self>SPF_TRUSTED_FORWARDER</a></b>&nbsp;</td>
65     <td>&nbsp;Define the Trusted Forwarder SPF Query to execute</td>
66     </tr>
67     <tr>
68     <td>&nbsp;<b><a href=control_files.html#spfguessstate target=_self>SPF_GUESS_STATE</a></b>&nbsp;</td>
69     <td>&nbsp;Enable/Disable 'Best Guess' mode</td>
70     </tr>
71     <tr>
72     <td>&nbsp;<b><a href=control_files.html#spfbestguess target=_self>SPF_BEST_GUESS</a></b>&nbsp;</td>
73     <td>&nbsp;Define the Best Guess SPF Query to execute</td>
74     </tr>
75     <tr>
76     <td>&nbsp;<b><a href=control_files.html#spfheaderstate target=_self>SPF_HEADER_STATE</a></b>&nbsp;</td>
77     <td>&nbsp;Enable/Disable 'Received-SPF:' header tagging</td>
78     </tr>
79     <tr>
80     <td>&nbsp;<b><a href=control_files.html#spfdebugstate target=_self>SPF_DEBUG_STATE</a></b>&nbsp;</td>
81     <td>&nbsp;Enable/Disable libSPF debug logging (/var/log/spf.log)</td>
82     </tr>
83     </table>
84     <!-- End inside control vars table -->
85    
86     </td>
87     </tr>
88     <tr>
89     <td></td>
90     </tr>
91     <tr>
92     <td class=out>
93    
94     <!-- Start inside control vars table -->
95     <table cellspacing=1 cellpadding=4 border=0 width=100%>
96     <tr>
97     <td class=hdr>
98     By setting these in your environment with appropriate values you can nicely
99     alter the behaviour of libSPF for an individual person or groups of people on
100     your network. A great example is by placing <b>SPF_ACTION</b> inside of
101     tcp.smtp and setting it to a 0 for 127.0.0.1.
102     </td>
103     </tr>
104     <tr>
105     <td class=hdr>
106    
107     <table cellpadding=1 cellspacing=1 border=1 width=100%>
108     <tr>
109     <td class=example>
110     127.:allow,RELAYCLIENT="",RBLSMTPD="",SPF_ACTION="0"
111     </td>
112     </tr>
113     </table>
114    
115     </td>
116     </tr>
117     <tr>
118     <td class=hdr>
119     This way 127.0.0.1 never has SPF checks performed on them. I'm sure you get
120     the idea.
121     </td>
122     </tr>
123     </table>
124     <!-- End inside control vars table -->
125    
126     </td>
127     </tr>
128     </table>
129     <!-- End outside table -->
130    
131     <br>
132     <br>
133    
134     <!-- Start footer table -->
135     <table cellpadding=0 cellspacing=0 border=0 width=600>
136     <tr>
137     <td><p class=footer align=center>
138     (c) 2004 James Couzens (jcouzens@codeshare.ca)
139     </p>
140     </td>
141     </tr>
142     </table>
143     <!-- End footer table -->
144    
145     <br>
146    
147     </body>
148     </html>