RDNS

Rose, Bobby brose at med.wayne.edu
Mon Jan 23 23:23:54 GMT 2006


I thought that it was a default action in sendmail to not accept from
unresolvable hosts and in setting
FEATURE(`accept_unresolvable_domains')dnl you are actually disabling so
that it does accept from unresolvable hosts.

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Matt
Kettler
Sent: Monday, January 23, 2006 5:42 PM
To: MailScanner discussion
Cc: mailscanner-announce at lists.mailscanner.info
Subject: Re: RDNS

Darryl DeLao wrote:
> Is there a way to turn on RDNS in Mailscanner, or is this done in 
> Sendmail?  If so, how is it done?  Basically, if an email comes in and

> the originating domain can not be resolved, I do not want to accept 
> the email in the system.

Well, MailScanner can't ever prevent any email from being accepted.
MailScanner acts on the queue files, so by the time MS sees it, it's
long since been accepted.


However, the feature you want is a standard sendmail feature. Look up
the "accept_unresolvable_domains" feature, and disable it.

If you're using m4 to build your sendmail.cf (highly recommended unless
you're a sendmail master)

edit /etc/mail/sendmail.mc

add a "dnl" to the start of the feature line, line this:

dnl FEATURE(`accept_unresolvable_domains')dnl

rebuild your sendmail.cf by running make in the /etc/mail directory

restart your MailScanner service to restart the sendmail's.
--
MailScanner mailing list
MailScanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list