basic sendmail problem
dsyphers at u.washington.edu
Wed Nov 17 21:10:04 PST 2004
On Wednesday 17 November 2004 08:59 pm, Giorgos Keramidas wrote:
> On 2004-11-17 20:35, David Syphers <dsyphers at 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: iAI3qqvn001740: ruleset=check_rcpt,
arg1=<charon at seektruth.org>, relay=mxout2.cac.washington.edu [220.127.116.11],
reject=550 5.7.1 <charon at seektruth.org>... Relaying denied
Is it denying mail because it thinks it's not seektruth.org?
More information about the freebsd-questions