On Fri, 30 Sep 2005, Philip J. Clark wrote:
When doing a fresh install of sendmail, I need to always do
/etc/init.d/sendmail reload after a reboot to get the mailer to
work properly, otherwise mail appears to come from localhost.localdomain
and gets bounced.
So, what changes between the time that sendmail comes up at boot and
your restart of it that somehow changes the hostname ?
It sounds like you need to add something like this to /etc/mail/sendmail.mc:
define(`confDOMAIN_NAME', `<your_desired_hostname_here>')dnl
You've told sendmail that it is to only listen to 127.0.0.1, and
apparently have not altered /etc/hosts to provide other than
localhost.localdomain for a name.
You may also be better served by simply masquerading as your ISP -
assuming your username matches.
sendmail.conf:
DAEMON_NETMODE="Static";
DAEMON_NETIF="lo";
DAEMON_MODE="Daemon";
sendmail.mc:
DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl
DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, Addr=127.0.0.1')dnl
define(`confPRIVACY_FLAGS',dnl
--
Rick Nelson
<Knghtbrd> shaleh - unclean is just WEIRD.
<Espy> heh, unclean is cool
<Knghtbrd> Espy - and weird.
<Espy> yes, weird too
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]