[colug-432] sendmail using wrong domain
Eric Floehr
eric at intellovations.com
Thu Feb 11 13:40:38 EST 2010
Scott,
I've not done sendmail configs recently, but it seems to me it will look up
the ip addresses of each interface to determine the hostname to use in the
from address. Does host.dept show up first when you do an nslookup on any
of the ips on that server?
-Eric
On Thu, Feb 11, 2010 at 1:28 PM, Scott Merrill <skippy at skippy.net> wrote:
> On Thu, Feb 11, 2010 at 1:23 PM, Eric Floehr <eric at intellovations.com>
> wrote:
> > Can I assume that you've ruled out something in sendmail.cf (i.e. Dj
> > directive)? Are all the RHEL servers identically configured? Do they
> all
> > have similar host.osu.edu and host.dept.osu.edu domains?
>
> I have not modified sendmail.cf. I've never needed to in the past.
>
> Interestingly, this is the only server in our department that is
> host.osu.edu and host.dept.ohio-state.edu. Although when I installed
> it, I'm pretty sure I only used host.osu.edu when setting up the
> network.
>
> > It seems to me the question is, why does sendmail think the host domain
> is
> > host.dept.osu.edu rather than host.osu.edu. Is that a fair statement?
>
> Yes, that is exactly correct.
>
> > If so, it seems sendmail.cf is one of the few places you haven't
> mentioned
> > where it could be picking up that domain.
>
> Again, I haven't touched sendmail.cf. I've never had to do so in the past.
>
> I'm not sure where host.dept.ohio-state.edu is even entering the
> equation here. It's certainly not defined anywhere on the server that
> I can find.
>
> If necessary, I can have that entry removed from the DNS configuration
> for our zone, too.
>
> Thanks,
> Scott
>
> > On Thu, Feb 11, 2010 at 1:16 PM, Scott Merrill <skippy at skippy.net>
> wrote:
> >>
> >> On Thu, Feb 11, 2010 at 12:57 PM, Rob Funk <rfunk at funknet.net> wrote:
> >> > On Thursday 11 February 2010 12:49:58 pm Scott Merrill wrote:
> >> >> I generally prefer Postfix, too; but this is not a mail server. It's
> >> >> just a server that needs to send its cron output to someone (me), so
> >> >> installing Postfix seems a bit overkill.
> >> >
> >> > On the contrary, *sendmail* is overkill for that. Postfix is great for
> >> > both
> >> > large and small jobs, but these days sendmail is really only good for
> >> > large
> >> > or complicated jobs.
> >>
> >> Let me restate my comment, then:
> >>
> >> installing Postfix just to solve this problem seems like more yak
> >> shaving than I'm interested in right now.
> >>
> >> None of the other Red Hat Enterprise Linux servers in my environment
> >> have exhibited this specific problem. I'm loathe to change the MTA on
> >> this one server to deal with this problem. I'm not going to install
> >> Postfix for all of our machines just because one system is behaving
> >> oddly.
> >>
> >> If anyone has any advice or suggestions _other than_ "install postfix"
> >> (or "install Exim" or "change your MTA") I would like to hear them.
> >>
> >> Thanks,
> >> Scott
> >> _______________________________________________
> >> colug-432 mailing list
> >> colug-432 at colug.net
> >> http://lists.colug.net/mailman/listinfo/colug-432
> >
> >
>
> _______________________________________________
> colug-432 mailing list
> colug-432 at colug.net
> http://lists.colug.net/mailman/listinfo/colug-432
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20100211/b823a631/attachment-0001.html
More information about the colug-432
mailing list