~launchpad-pqm/mailman/2.1

« back to all changes in this revision

Viewing changes to doc/mailman-install/node26.html

  • Committer: Launchpad Patch Queue Manager
  • Date: 2009-10-21 01:06:17 UTC
  • mfrom: (975.1.1 mailman.2112)
  • Revision ID: launchpad@pqm.canonical.com-20091021010617-prbs2ay6nhxx515v
[rs=flacoste] Upgrade Mailman to upstream 2.1.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<link rel="STYLESHEET" href="mailman-install.css" type='text/css' />
 
5
<link rel="first" href="mailman-install.html" title='GNU mailman - installation Manual' />
 
6
<link rel='last' href='about.html' title='About this document...' />
 
7
<link rel='help' href='about.html' title='About this document...' />
 
8
<link rel="next" href="node27.html" />
 
9
<link rel="prev" href="node25.html" />
 
10
<link rel="parent" href="node16.html" />
 
11
<link rel="next" href="node27.html" />
 
12
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
13
<meta name='aesop' content='information' />
 
14
<title>6.2.10 SMTP Callback</title>
 
15
</head>
 
16
<body>
 
17
<div class="navigation">
 
18
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
 
19
<table align="center" width="100%" cellpadding="0" cellspacing="2">
 
20
<tr>
 
21
<td class='online-navigation'><a rel="prev" title="6.2.9 receiver Verification"
 
22
  href="node25.html"><img src='previous.png'
 
23
  border='0' height='32'  alt='Previous Page' width='32' /></a></td>
 
24
<td class='online-navigation'><a rel="parent" title="6.2 using the Exim"
 
25
  href="node16.html"><img src='up.png'
 
26
  border='0' height='32'  alt='Up one Level' width='32' /></a></td>
 
27
<td class='online-navigation'><a rel="next" title="6.2.11 doing VERP with"
 
28
  href="node27.html"><img src='next.png'
 
29
  border='0' height='32'  alt='Next Page' width='32' /></a></td>
 
30
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
 
31
<td class='online-navigation'><img src='blank.png'
 
32
  border='0' height='32'  alt='' width='32' /></td>
 
33
<td class='online-navigation'><img src='blank.png'
 
34
  border='0' height='32'  alt='' width='32' /></td>
 
35
<td class='online-navigation'><img src='blank.png'
 
36
  border='0' height='32'  alt='' width='32' /></td>
 
37
</tr></table>
 
38
<div class='online-navigation'>
 
39
<b class="navlabel">Previous:</b>
 
40
<a class="sectref" rel="prev" href="node25.html">6.2.9 Receiver Verification</a>
 
41
<b class="navlabel">Up:</b>
 
42
<a class="sectref" rel="parent" href="node16.html">6.2 Using the Exim</a>
 
43
<b class="navlabel">Next:</b>
 
44
<a class="sectref" rel="next" href="node27.html">6.2.11 Doing VERP with</a>
 
45
</div>
 
46
<hr /></div>
 
47
</div>
 
48
<!--End of Navigation Panel-->
 
49
 
 
50
<h3><a name="SECTION0016210000000000000000">
 
51
6.2.10 SMTP Callback</a>
 
52
</h3>
 
53
 
 
54
<p>
 
55
Exim's SMTP callback feature is an even more powerful way to detect bogus
 
56
sender addresses than normal sender verification.  Unfortunately, lots of
 
57
servers send bounce messages with a bogus address in the header, and there are
 
58
plenty that send bounces with bogus envelope senders (even though they're
 
59
supposed to just use an empty envelope sender for bounces).
 
60
 
 
61
<p>
 
62
In order to ensure that Mailman can disable/remove bouncing addresses, you
 
63
generally want to receive bounces for Mailman lists, even if those bounces are
 
64
themselves not bounceable.  Thus, you might want to disable SMTP callback on
 
65
bounce messages.
 
66
 
 
67
<p>
 
68
With Exim 4, you can accomplish this using something like the following in
 
69
your <code>RCPT TO</code> ACL:
 
70
 
 
71
<p>
 
72
<div class="verbatim"><pre>
 
73
  # Accept bounces to lists even if callbacks or other checks would fail
 
74
  warn     message      = X-WhitelistedRCPT-nohdrfromcallback: Yes
 
75
           condition    = \
 
76
           ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
 
77
                     {exists {MAILMAN_HOME/lists/$1/config.pck}}} \
 
78
                {yes}{no}}
 
79
 
 
80
  accept   condition    = \
 
81
           ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
 
82
                     {exists {MAILMAN_HOME/lists/$1/config.pck}}} \
 
83
                {yes}{no}}
 
84
 
 
85
  # Now, check sender address with SMTP callback.
 
86
  deny   !verify = sender/callout=90s
 
87
</pre></div>
 
88
 
 
89
<p>
 
90
If you also do SMTP callbacks on header addresses, you'll want something like
 
91
this in your <code>DATA</code> ACL:
 
92
 
 
93
<p>
 
94
<div class="verbatim"><pre>
 
95
  deny   !condition = $header_X-WhitelistedRCPT-nohdrfromcallback:
 
96
         !verify = header_sender/callout=90s
 
97
</pre></div>
 
98
 
 
99
<p>
 
100
 
 
101
<div class="navigation">
 
102
<div class='online-navigation'>
 
103
<p></p><hr />
 
104
<table align="center" width="100%" cellpadding="0" cellspacing="2">
 
105
<tr>
 
106
<td class='online-navigation'><a rel="prev" title="6.2.9 receiver Verification"
 
107
  href="node25.html"><img src='previous.png'
 
108
  border='0' height='32'  alt='Previous Page' width='32' /></a></td>
 
109
<td class='online-navigation'><a rel="parent" title="6.2 using the Exim"
 
110
  href="node16.html"><img src='up.png'
 
111
  border='0' height='32'  alt='Up one Level' width='32' /></a></td>
 
112
<td class='online-navigation'><a rel="next" title="6.2.11 doing VERP with"
 
113
  href="node27.html"><img src='next.png'
 
114
  border='0' height='32'  alt='Next Page' width='32' /></a></td>
 
115
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
 
116
<td class='online-navigation'><img src='blank.png'
 
117
  border='0' height='32'  alt='' width='32' /></td>
 
118
<td class='online-navigation'><img src='blank.png'
 
119
  border='0' height='32'  alt='' width='32' /></td>
 
120
<td class='online-navigation'><img src='blank.png'
 
121
  border='0' height='32'  alt='' width='32' /></td>
 
122
</tr></table>
 
123
<div class='online-navigation'>
 
124
<b class="navlabel">Previous:</b>
 
125
<a class="sectref" rel="prev" href="node25.html">6.2.9 Receiver Verification</a>
 
126
<b class="navlabel">Up:</b>
 
127
<a class="sectref" rel="parent" href="node16.html">6.2 Using the Exim</a>
 
128
<b class="navlabel">Next:</b>
 
129
<a class="sectref" rel="next" href="node27.html">6.2.11 Doing VERP with</a>
 
130
</div>
 
131
</div>
 
132
<hr />
 
133
<span class="release-info">Release 2.1, documentation updated on January 11, 2009.</span>
 
134
</div>
 
135
<!--End of Navigation Panel-->
 
136
 
 
137
</body>
 
138
</html>