OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: DNSBL/RBL-Blacklist

From: Justin C. Le Grice (mailinglistslegrice.co.nz)
Date: Mon Aug 24 2009 - 06:37:17 CDT


Schwalbe, Oliver wrote:
> Helo Newsgroup,
>
> i will integrate an DNSBL/RBL-Blacklist to avoid SPAM.
> So i insert a new row in my main.cf
>
> main.cf before:
>
> smtpd_recipient_restrictions = permit_mynetworks,
> reject_invalid_hostname,
> reject_non_fqdn_hostname,
> reject_non_fqdn_sender,
> reject_non_fqdn_recipient,
>
> reject_unknown_sender_domain,
>
> reject_unknown_recipient_domain,
> reject_unauth_pipelining,
> reject_unauth_destination,
> permit
>
>
> main.cf after:
>
> smtpd_recipient_restrictions = permit_mynetworks,
> reject_invalid_hostname,
> reject_non_fqdn_hostname,
> reject_non_fqdn_sender,
> reject_non_fqdn_recipient,
>
> reject_unknown_sender_domain,
>
> reject_unknown_recipient_domain,
> reject_unauth_pipelining,
> reject_unauth_destination,
> reject_rbl_client
> zen.spamhouse.org, <-- new Row inserted
> permit
>
>
> After restarting postfix (rcpostfix restart) i can't get any mails
> from external domains.
> External senders received the following error-message
>
> ----- The following addresses had permanent fatal errors -----
> <myadressmydomain.de <mailto:myadressmydomain.de>>
> (reason: 554 5.7.1 Service unavailable; Client host [64.12.206.41]
> blocked
> using zen.spamh
> ouse.org; This is not the DNSBL you're looking for.)
>
> ----- Transcript of session follows -----
> ... while talking to mail.sachsentrans.de.:
> >>> DATA
> <<< 554 5.7.1 Service unavailable; Client host [64.12.206.41] blocked
> using
> zen.spamhouse.org; This is not the DNSBL you're looking for.
> 554 5.0.0 Service unavailable
> <<< 554 5.5.1 Error: no valid recipients
>
>
> Can anyone help?
> Thanks
>
This is my smtpd_recipient_restrictions= section

smtpd_recipient_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    reject_unauth_destination,
    reject_invalid_hostname,
    reject_non_fqdn_hostname,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unknown_sender_domain,
    reject_unknown_recipient_domain,
    reject_rbl_client bl.spamcop.net,
    reject_rbl_client sbl-xbl.spamhaus.org, <---- NOTE Spelling of
spamhaus!!!!!
    reject_rbl_client dnsbl.njabl.org,
    reject_rbl_client dnsbl-1.uceprotect.net,
    reject_rbl_client dnsbl-2.uceprotect.net,
    permit

Correct your spelling and you should be working.

Regards

Justin