On 02/08/11 8:02 PM, Wietse Venema wrote:
If in doubt, read the fine documentation. As documented, postsceen
currently does not have any controls to format the DNSBL reply
(other than aliasing the DNSBL domain name).
Fine Wietse, i found a workaround for this
i added the foll.
$cat /etc/postfix/dnsbl_reply
# Secret DNSBL name Name in postscreen(8) replies
spamhaus.myoffice.com zen.spamhaus.org;
http://www.spamhaus.org/query/bl?ip=${client_addr}
But in logs I'm getting
Aug 3 11:13:16 inbound-in-1 postfix/postscreen[30561]: NOQUEUE: reject:
RCPT from [x.x.x.x]:3279: 550 5.7.1 Service unavailable; client
[x.x.x.x] blocked using zen.spamhaus.org;
http://www.spamhaus.org/query/bl?ip=${client_addr};
from=<junkyj6...@xxxx.com>, to=<ttngu...@xxx.net>, proto=ESMTP,
helo=<xxx.com>
now the ${client_addr} is not getting substituted for original client
address.
is there any other way to display client address by postscreen?
Also i wanted to know if add postscreen_dnsbl_sites then do i need to
reject_rbl_client in smtpd_recipient_restrictions ?
--
-Jeetu