Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th November 2006, 20:10
HackerJL HackerJL is offline
Junior Member
 
Join Date: Mar 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using DNS Blacklists (dnsbl) - not working

There are a few posts around here about using dnsbl's so I figured I would add what I needed on the config files and see what happens.

So here is a snip of what I am using (its the /etc/postfix/main.cf):

----
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
check_relay_domains,
reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client bl.spamcop.net,
permit
----

But when I do the sbl test it says its going through perfectly fine.

Am I missing something?

I am using input from this post:
http://www.howtoforge.com/forums/sho...t_restrictions
Reply With Quote
Sponsored Links
  #2  
Old 9th November 2006, 16:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

It must be

Code:
smtpd_recipient_restrictions = permit_sasl_authenticated,
      permit_mynetworks,
      check_relay_domains,
      reject_rbl_client sbl-xbl.spamhaus.org,
      reject_rbl_client bl.spamcop.net,
      permit
(note the whitespace at the beginning of lines 2 - 6)

instead of

Code:
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
check_relay_domains,
reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client bl.spamcop.net,
permit
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 9th November 2006, 18:19
HackerJL HackerJL is offline
Junior Member
 
Join Date: Mar 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Whitespace is created with what...tab? space?
Reply With Quote
  #4  
Old 9th November 2006, 19:42
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,126
Thanks: 4
Thanked 43 Times in 40 Posts
Default

yes, you can use tabs for that...
Reply With Quote
  #5  
Old 10th November 2006, 05:16
HackerJL HackerJL is offline
Junior Member
 
Join Date: Mar 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nope... that didnt work. The only way I can get it to work is by adding the reject_rbl_client to the smtp_sender_restrictions and then it works.

that make sense?

Here is what I tried:

Code:
smtpd_recipient_restrictions = permit_sasl_authenticated,
        permit_mynetworks,
        check_relay_domains,
        reject_rbl_client sbl-xbl.spamhaus.org,
        permit
When I do that, and do the sbl test, it says its not working. But when i have it in the smtp_sender_restrictions it works...like this:

Code:
smtpd_sender_restrictions = reject_rbl_client sbl-xbl.spamhaus.org,
       reject_rbl_client bl.spamcop.net,
       reject_rbl_client relays.ordb.org,
       permit

Last edited by HackerJL; 10th November 2006 at 05:18.
Reply With Quote
  #6  
Old 11th November 2006, 16:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Quote:
Originally Posted by HackerJL

When I do that, and do the sbl test, it says its not working. But when i have it in the smtp_sender_restrictions it works...like this:
That's strange. Are there any errors in your mail log? Which Postfix version do you use? You can find out by running
Code:
postconf -d | grep mail_version
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
DNS not working as expecting kaptk2 Technical 2 4th April 2006 21:43
Pri & Slave DNS HOWTO (FC4) ppettigrew Suggest HOWTO 0 1st April 2006 15:35
Site not working (dns problem?) gadgetitus Installation/Configuration 2 19th March 2006 02:36
ISP-Ubuntu breezy ispconfig dns email e-mail working finally yellowjelly HOWTO-Related Questions 0 19th November 2005 20:30


All times are GMT +2. The time now is 16:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.