On Tuesday 13 February 2007 22:56, Rob Munsch wrote:
> Is it possible to use both? Frex i want to Deny based on certain RBLs,
> and only provide a header with others - i'm not getting the expected
> results with this. I still seem to be rejecting at RCPT time everything
> specified under the warn section:
>
> ---
> .ifdef CHECK_RCPT_IP_DNSBLS
> deny
> dnslists = sbl.spamhaus.org : \
> list.dsbl.org : \
> bl.spamcop.net
> message = X-Warning: $sender_host_address is listed at
> dnslist_domain ($dnslist_value: $dnslist_text)
> log_message = $sender_host_address is listed at $dnslist_domain
> ($dnslist_value: $dnslist_text)
>
> warn message = X-blacklisted-at: $dnslist_domain
> dnslists = cbl.abuseat.org : \
> dnsbl.sorbs.net
>
> .endif
The above should work in principle, but I don't know if you really
want "X-Warning" to appear in the SMTP 550 response.
Personally, I would have moved bl.spamcop.net to the "warn" list.
--
Magnus Holmgren holmgren@???
(No Cc of list mail needed, thanks)
"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans