On Wed, 2004-09-01 at 17:20, ed@flat5.net wrote: > Thanks for the help, Jeremy. I'm 99% there and can work around the remaining details. > FYI, you were correct in that I needed to set SMART_HOST as you described. With that change, sendmail was then attempting to relay mail to that system. However, it was all being rejected because the "sender" still appeared to be at "localhost.localdomain". Indeed, looking at the headers, I was "edski@localhost.localdomain". (Everything in the networking area appears to be correct, by the way -- I used utsname(2), gethostname(2) and so forth to verify that was all in place correctly, and it was.) > So, I downloaded, built and installed "nail" so I'd have some source to look at for that part of the loop. "nail" was also using (by default) the same bogus "localhost.localdomain" address but, at least with "nail", I can override the originator (actually the reply) address with a command line "-r ed@flat5.net" option, and that did the trick. Outgoing "nail" mail is now working correctly and my backup scripts should be "nail"ing me their results nightly. > I guess something is still bogus in the network configuration but darned if I can figure out what. I think this is a RedHat-ism 'cause I've set up several machines with RedHat 8, 9 and now Fedora and they all do just about the same in this area. > Oh well, my problem is solved well enough. > (By the way, this message is coming via "nail" as described above.) > Thanks again! ---- you can set the hostname in /etc/sysconfig/network i.e. HOSTNAME=myhostname.mydomain.tld You can set sendmail to masquerade a domain by setting options in /etc/mail/sendmail.mc i.e. Cwlocalhost.localdomain #would be the default Cwmydomain.tld Of course, you would need to then regenerate the sendmail.cf file afterwards... m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf or make -C /etc/mail && service sendmail restart Craig --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss