Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


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

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


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', `',`"554 Rejected " $&{client_addr} " found in"')dnl

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

ruleset=check_relay, arg1=[], arg2=, [] (may be forged), reject=554 5.7.1 Rejected found in

My question is:

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:59 PM.

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