LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-25-2010, 01:21 PM   #1
amonamarth
Member
 
Registered: Dec 2009
Location: Los Angeles
Distribution: Fedora ,CentOS, RHEL
Posts: 59

Rep: Reputation: 17
Sendmail - FEATURE(`dnsbl') - Creating exceptions while using FEATURE(`dnsbl')


Hello:

Setting up an SMTP mail server using sendmail, I came up with a conundrum; but first, a bit of background information.

This particular machine is the primary SMTP server for my domain. Amongst other options, it has been setup to take advantage of real time DNS black list to help keeping SPAM under control.
This was achieved by adding the following line to the ".mc" macro file:

FEATURE(`dnsbl', `dnsbl.sorbs.net',`"554 Rejected " $&{client_addr} " found in dnsbl.sorbs.net"')dnl

Consequently, hosts that try to relay are checked against the sorbs.net database; if matched, the email message gets rejected.
Here is an example of such rejections, from /var/log/maillog:

ruleset=check_relay, arg1=[122.164.92.199], arg2=127.0.0.10, relay=ABTS-TN-dynamic-199.92.164.122.airtelbroadband.in [122.164.92.199] (may be forged), reject=554 5.7.1 Rejected 122.164.92.199 found in dnsbl.sorbs.net

My question is:

Can I specify a white list of hosts that will be allowed to relay even if they are found in sorbs.net ?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail allow authenticated sender with dnsbl hua Linux - Server 2 01-26-2009 04:36 AM
sendmail behind router fails with 553 DNSBL sixerjman Linux - Networking 1 11-21-2005 07:26 AM
sendmail and dnsbl cholo Linux - Software 0 11-16-2004 01:02 AM
Sendmail, m4 configuration for dnsbl jastorqu Linux - Networking 0 05-27-2004 04:24 PM
sendmail, dnsbl and access benjithegreat98 Linux - Software 0 12-15-2003 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration