Re: Machine names in message headers

2001-07-30 Thread JT

Check the Hostname of the machine itself.. Qmail pulls the machine name from
the machine not from DNS

--JT
- Original Message -
From: John Portwin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 30, 2001 8:19 AM
Subject: Machine names in message headers


From any e-mail I send through our server:

Received: (qmail 20807 invoked by uid 0); 30 Jul 2001 15:08:06 -
Received: from [EMAIL PROTECTED] by pluto2001.office.internal with
qmail-scanner-0.96 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.193495
secs); 30 Jul 2001 15:08:06 -
Received: from unknown (HELO doc2) (10.0.0.22)
  by pluto.office.internal with SMTP; 30 Jul 2001 15:08:06 -


When qmail delivers the mail, the machine name shouldn't be
'pluto2001.office.internal' it should be 'pluto.office.internal'. pluto2001
was the name of the machine while it was in 'test' phase, and has been
removed from all DNS, hosts etc. Why does qmail still think it's called
that? And why does it change?



Regards,
John






Re: Machine names in message headers

2001-07-30 Thread Jamin A. Brown

John,

Try reading the man page for qmail-control and qmail-inject. I suspect
that some of your qmail control files still reference the original
hostname of the machine, and not the current hostname.

Jamin

On Mon, 30 Jul 2001, John Portwin wrote:

 From any e-mail I send through our server:

 Received: (qmail 20807 invoked by uid 0); 30 Jul 2001 15:08:06 -
 Received: from [EMAIL PROTECTED] by pluto2001.office.internal with
 qmail-scanner-0.96 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.193495
 secs); 30 Jul 2001 15:08:06 -
 Received: from unknown (HELO doc2) (10.0.0.22)
   by pluto.office.internal with SMTP; 30 Jul 2001 15:08:06 -


 When qmail delivers the mail, the machine name shouldn't be
 'pluto2001.office.internal' it should be 'pluto.office.internal'. pluto2001
 was the name of the machine while it was in 'test' phase, and has been
 removed from all DNS, hosts etc. Why does qmail still think it's called
 that? And why does it change?



 Regards,
 John





Re: Machine names in message headers

2001-07-30 Thread John P

  When qmail delivers the mail, the machine name shouldn't be
  'pluto2001.office.internal' it should be 'pluto.office.internal'.
pluto2001
  was the name of the machine while it was in 'test' phase, and has been
  removed from all DNS, hosts etc. Why does qmail still think it's called
  that? And why does it change?

 Check the Hostname of the machine itself.. Qmail pulls the machine name
from
 the machine not from DNS

Got it - I think when I put the machine together and installed
qmail-scanner, it used the current machine name (pluto2001) and hardcoded it
into qmail-scanner-queue.pl - so I've edited that and it works OK..

Thanks all
John