1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
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>
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">
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>
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>
48
<!--End of Navigation Panel-->
50
<h3><a name="SECTION0016210000000000000000">
51
6.2.10 SMTP Callback</a>
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).
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
68
With Exim 4, you can accomplish this using something like the following in
69
your <code>RCPT TO</code> ACL:
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
76
${if and {{match{$local_part}{(.*)-bounces\+.*}} \
77
{exists {MAILMAN_HOME/lists/$1/config.pck}}} \
81
${if and {{match{$local_part}{(.*)-bounces\+.*}} \
82
{exists {MAILMAN_HOME/lists/$1/config.pck}}} \
85
# Now, check sender address with SMTP callback.
86
deny !verify = sender/callout=90s
90
If you also do SMTP callbacks on header addresses, you'll want something like
91
this in your <code>DATA</code> ACL:
94
<div class="verbatim"><pre>
95
deny !condition = $header_X-WhitelistedRCPT-nohdrfromcallback:
96
!verify = header_sender/callout=90s
101
<div class="navigation">
102
<div class='online-navigation'>
104
<table align="center" width="100%" cellpadding="0" cellspacing="2">
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>
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>
133
<span class="release-info">Release 2.1, documentation updated on January 11, 2009.</span>
135
<!--End of Navigation Panel-->