Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2002 08:46:44 GMT
From:      groggy11@mail.com
To:        freebsd-chat@freebsd.org
Subject:   Re: bad isp - dns
Message-ID:  <200205020846.g428kii43550@groggy.anc.acsalaska.net>

next in thread | raw e-mail | index | archive | help
> > Without much more information, it is kinda tough to suggest where to
> > go next. As long as sendmail is configured properly (the access lists
> > for relaying, and the smart host set), the clients on the back end
> > are all using a valid email address, he will be able to send out mail
> > from his system.

the problem wasn't "sending" specifically, the problem
is sending having sent mail rejected.  and it's solved
(whether strictly correct or not) with "Dj"
in sendmail.cf of private IP machines
(if this is getting to fbsd-chat):

##################
#   local info   #
##################

Cwlocalhost
# file containing names of hosts for which we receive email
Fw-o /etc/mail/local-host-names

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
DjHOSTNAME-OF-PPP-NAT-GATEWAY

CP.

# "Smart" relay host (may be null)
DS

> He has a machine "en26.groggy.anc.acsalaska.net"; this is the
> mail server.  It's behind a NAT box "groggy.anc.acsalaska.net"
> with IP address "208.151.119.232".  Forward and reverse address
> mappings are correct for the NAT box.
> 
> Because he is not masqurading the domain, on outbound SMTP
> connections, he's saying:
> 
> 	"ehlo en26.groggy.anc.acsalaska.net"
> and:
> 
> 	"mail from: <groggy@en26.groggy.anc.acsalaska.net>"
> 
> instead of the correct thing, which is:
> 
> 	"ehlo groggy.anc.acsalaska.net"
> 
> and:
> 
> 	"mail from: <groggy@groggy.anc.acsalaska.net>"

yes,
 
> Since "ehlo en26.groggy.anc.acsalaska.net" is not a resolvable
> name, his mail is getting rejected.  Pretty simple.

yes - :)  correct.
 
> I'll bet his biggest problem is that he's using "qmail" or
> "postfix" or something other than "sendmail" (the latter is
> easily configured for proper masquerading of domains).

no - wrong :)  heh.  sendmail :)
 
> Supporting inbound email through the NAT box to the interior
> SMTP server... that's a whole additional problem.

yeah - it would be - so i just use POP3 for private IP'd
boxes to collect their users mail.
 
> -- Terry

i am very thankful for your help.

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




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