Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2004 21:10:35 -0800
From:      David Syphers <dsyphers@u.washington.edu>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: basic sendmail problem
Message-ID:  <200411172110.36105.dsyphers@u.washington.edu>
In-Reply-To: <20041118045923.GA4001@gothmog.gr>
References:  <200411172035.59370.dsyphers@u.washington.edu> <20041118045923.GA4001@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 17 November 2004 08:59 pm, Giorgos Keramidas wrote:
> On 2004-11-17 20:35, David Syphers <dsyphers@u.washington.edu> wrote:
> > I have sendmail_enable="YES" in rc.conf, I have my aliases and
> > virtusertable files the way I want them, sendmail's running, and
> > listening on port 25.  However, one thing has changed since the last
> > time I tried this - I'm now on a LAN. The router sends all port 25
> > stuff to my server, and that works fine.  But it means that my server
> > has an IP that it can't resolve, though its domain name resolves into
> > the correct IP and gets to the server even from on the LAN.
>
> I don't see why the first part of the previous sentence justifies the
> second.  Why can't your IP resolve?

Sorry, I probably didn't say that right. What I meant was, if it tries to 
reverse lookup a name based its own IP, it wouldn't work. If that matters. I 
do see it complaining things like 'gethostbyaddr(192.168.1.103) failed: 1'.

> > I've tried adding this local IP to /etc/hosts for kicks.
> > Nothing changed.
>
> Does your /etc/nsswitch.conf point first at /etc/hosts and then at dns?

Yes. Do I need to restart anything after changing hosts? (I haven't used 
Windows in years, but I still get this feeling that I should reboot after 
making any change...)

> > Every time I try to send a message to any user on the system, from
> > virtusertable, aliases, or a real user, I get the error 550 5.7.1
> > "relaying denied", followed by 550 5.1.1 "user unknown".
>
> Does Sendmail log anything in /var/log/maillog?  If yes, what is it?

Yes, for example:
Nov 17 19:52:53 bifrost sm-mta[1740]: iAI3qqvn001740: ruleset=check_rcpt, 
arg1=<charon@seektruth.org>, relay=mxout2.cac.washington.edu [140.142.33.4], 
reject=550 5.7.1 <charon@seektruth.org>... Relaying denied

Is it denying mail because it thinks it's not seektruth.org?

-David



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