Getting pounded .. sigh
Matt Hampton
matt at coders.co.uk
Tue May 23 07:15:30 IST 2006
Alex Neuman van der Hans wrote:
> Matt Hampton wrote:
>> Res wrote:
>>
>>> wanadoo.co.uk|fr have been banned here for nearly 2 years because of
>>> their
>>> "we dont care if our users spam you" policy
>>>
>>
>> This is one of the reasons why I have patched my M4 code for the dnsbl.
>> It now returns a temp_fail error rather than a reject.
>>
>>
> Can you list the modifications you did?
23c22
< define(`_DNSBL_MSG_', `ifelse(len(X`'_ARG2_),`1',`"550 Rejected: "
$`'&{client_addr} " listed at '_DNSBL_SRV_`"',`_ARG2_')')dnl
---
> define(`_DNSBL_MSG_', `ifelse(len(X`'_ARG2_),`1',`"451 Rejected: "
$`'&{client_addr} " listed at '_DNSBL_SRV_` come back when you have your
server sorted"',`_ARG2_')')dnl
32,33c31,32
< `R<?>$+<TMP> $#error $@ 4.4.3 $: _DNSBL_MSG_TMP_')
< R<?>$+ $#error $@ 5.7.1 $: _DNSBL_MSG_
---
> `R<?>$+<TMP> $#error $@ 4.7.1 $: _DNSBL_MSG_TMP_')
> R<?>$+ $#error $@ 4.7.1 $: _DNSBL_MSG_
There is probably a neater way of doing it but I ending up editing my
dnsbl.m4 file in /usr/share/sendmail-cf/feature
matt
More information about the MailScanner
mailing list