Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2000 21:32:47 -0500 (EST)
From:      "H. Wade Minter" <minter@lunenburg.org>
To:        Michael Davis <mike@datanerds.net>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Bizarre email problem
Message-ID:  <Pine.BSF.4.21.0011192129230.42143-100000@ashburn.skiltech.com>
In-Reply-To: <005f01c05280$8454dee0$0201a8c0@datasurge.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks to Per Hedeland in comp.mail.sendmail, I've tracked down and fixed
the problem.  The key was this part of sendmail.cf:

confDONT_PROBE_INTERFACES  DontProbeInterfaces
                                [False] If set, sendmail will _not_
                                insert the names and addresses of any
                                local interfaces into class {w}
                                (list of known "equivalent" addresses).
                                If you set this, you must also include 
                                some support for these addresses (e.g.,
                                in a mailertable entry) -- otherwise,
                                mail to addresses in this list will
                                bounce with a configuration error.

So, by default, sendmail adds hosts on any local IP addresses to
class W, making all mail to hosts on those addresses get delivered
locally.  Disabling this in sendmail.cf solved all my problems.

Hope this helps anyone who has run across this, or will in the future!

--Wade

On Sun, 19 Nov 2000, Michael Davis wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I am having the exact same problem on a webserver I have. I am using:
> FreeBSD xxxxx 4.1-STABLE FreeBSD 4.1-STABLE #0: Tue Aug  1 16:18:24
> CDT 2000     mad@xxx:/usr/src/sys/compile/WWW  i386
> 
> I am totally stumped as well. I even tried a completely different
> sendmail configuration.
> 
> Michael Davis
> Chief Technical Officer
> Data Nerds, LLC.
> http://www.datanerds.net
> 
> - ----- Original Message ----- 
> From: "H. Wade Minter" <minter@lunenburg.org>
> To: <stable@FreeBSD.ORG>
> Sent: Sunday, November 19, 2000 5:16 PM
> Subject: Bizarre email problem
> 
> 
> > I've run into a situation that's got me completely stumped.  I'm
> > running FreeBSD-4.2 Beta (cvsup'd and rebuilt last night) in a
> > virtual hosting environment.  I have to machines, ashburn and
> > bunning.  ashburn is the web host, bunning is the mail host.
> > 
> > Most of our hosts use the ip address of ashburn, but a few have
> > their own IPs, aliased onto ashburn.  Yesterday, I had to change
> > those IPs to new ones, also aliased onto ashburn.  When I did that,
> > however, strange mail stuff started happening.
> > 
> > Clients on ashburn have various CGI scripts to send email.  After
> > the change, mail that originates on ashburn for the domains that
> > got the new IP addresses is trying to be delievered directly to
> > ashburn, even though nslookup shows that ashburn knows that the
> > preferred MX host is
> > bunning.  There's nothing for these hosts in sendmail.cw or the
> > virtusertable, either.  If I try to send mail directly to
> > "user@affected_domain.com" from ashburn, it bounces immediately
> > with "Unknown user".  Mail sent from outside ashburn gets to the
> > correct place.  
> > 
> > The problem looks like the local sendmail on ashburn believes that
> > these domains are listed in the sendmail.cw file, which they're
> > not.
> > 
> > If anyone has any idea what could be going on, I'd love to hear it.
> >  I'm completely stumped.
> > 
> > --Wade
> > 
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-stable" in the body of the message
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>;
> 
> iQA/AwUBOhhiQfiUqZ9dnoKsEQKAOgCg40ZsYRr24RoGT+yHcq+jCdpUsnoAoPJI
> JrVEgzWVE4JfXdps0G371ffJ
> =Ewsg
> -----END PGP SIGNATURE-----
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> 



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




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