Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2001 18:49:42 -0800
From:      Gregory Neil Shapiro <gshapiro@FreeBSD.ORG>
To:        Wm Brian McCane <root@mccons.maxbaud.net>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Email being rejected
Message-ID:  <15014.62278.946401.639910@horsey.gshapiro.net>
In-Reply-To: <Pine.BSF.3.96.1010307195218.36519A-100000@fw.mccons.net>
References:  <Pine.BSF.4.21.0103080234050.18672-100000@arnold.neland.dk> <Pine.BSF.3.96.1010307195218.36519A-100000@fw.mccons.net>

index | next in thread | previous in thread | raw e-mail

root> I am using the standard freebsd.mc created during a buildworld.  I
root> have started noticing that I am missing/rejecting a lot of emails
root> from places like: yahoogroups.com.

It would be helpful to show the actual log message so we can determine why
it is being rejected.  If it is something like:

Mar  7 18:45:51 horsey sendmail[69643]: f282jdlg069643: ruleset=check_mail, arg1=<gshapiro@yahoogroups.com>, relay=gshapiro@yahoogroups.com [10.0.1.1], reject=501 5.1.8 <gshapiro@yahoogroups.com>... Domain of sender address gshapiro@yahoogroups.com does not exist

Then at the time the mail came in, yahoogroups.com was not resolvable.  You
can check with:

nslookup -q=AAAA yahoogroups.com.
nslookup -q=A yahoogroups.com.
nslookup -q=MX yahoogroups.com.

root> I have been looking in the sendmail config stuff, and I have not yet
root> figured out what rule I would need to change, but I need it fixed
root> soon, customers are complaining.  I think what needs to be done is
root> add a rule that says (if it is a TLD, go ahead and accept it).  And,
root> yes, I realize that means I will get a lot of emails from places
root> like: akjasdkfhaskhdf.com, but a "whois" lookup would be WAY TOO
root> SLOW.

From /usr/share/sendmail/cf/README:

FEATURE(accept_unresolvable_domains)
		Normally, MAIL FROM: commands in the SMTP session will be
		refused if the host part of the argument to MAIL FROM:
		cannot be located in the host name service (e.g., an A or
		MX record in DNS).  If you are inside a firewall that has
		only a limited view of the Internet host name space, this
		could cause problems.  In this case you probably want to
		use this feature to accept all domains on input, even if
		they are unresolvable.
...
An ``access'' database can be created to accept or reject mail from
selected domains.  For example, you may choose to reject all mail
originating from known spammers.  To enable such a database, use

	FEATURE(`access_db')
...
	OK		Accept mail even if other rules in the
			running ruleset would reject it, for example,
			if the domain name is unresolvable.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15014.62278.946401.639910>