Re: Wrong Server Name in Qmail Header?

2001-06-25 Thread Dave Sill

A A [EMAIL PROTECTED] wrote:

Whenever my qmail server sends someone an email, the
following line appears in the header:

Received: from mail.mydomain.com
(old_name.mydomain.com [216.216.216.216] (may be
forged))

However, recently I changed my server name from
old_name.mydomain.com to new_name.mydomain.com.

Is there anything I can do to let qmail recognize the
new server name? Is my only option a recompile or is
there a file I can edit?

grep old_name /var/qmail/control/*

Then change all occurrences of old_name to new_name and restart qmail.

-Dave



RE: Wrong Server Name in Qmail Header?

2001-06-25 Thread Campos Mario

I had this problem before and I ended up just executing that ./config script
again, which is located where you compiled qmail from. That took care of
updating all the files necessary to make it work with the new domain name.
Also if your DNS server is not configured properly, you can try running
./config-fast the.full.hostname where the.full.hostname is your qualified
domain name like mail.newdomain.com.

-Original Message-
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 25, 2001 11:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Wrong Server Name in Qmail Header?


A A [EMAIL PROTECTED] wrote:

Whenever my qmail server sends someone an email, the
following line appears in the header:

Received: from mail.mydomain.com
(old_name.mydomain.com [216.216.216.216] (may be
forged))

However, recently I changed my server name from
old_name.mydomain.com to new_name.mydomain.com.

Is there anything I can do to let qmail recognize the
new server name? Is my only option a recompile or is
there a file I can edit?

grep old_name /var/qmail/control/*

Then change all occurrences of old_name to new_name and restart qmail.

-Dave




Wrong Server Name in Qmail Header?

2001-06-23 Thread A A

Hello,

Whenever my qmail server sends someone an email, the
following line appears in the header:

Received: from mail.mydomain.com
(old_name.mydomain.com [216.216.216.216] (may be
forged))

However, recently I changed my server name from
old_name.mydomain.com to new_name.mydomain.com.

Is there anything I can do to let qmail recognize the
new server name? Is my only option a recompile or is
there a file I can edit?

Thanks!!!

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: Wrong Server Name in Qmail Header?

2001-06-23 Thread Peter van Dijk

On Fri, Jun 22, 2001 at 11:31:19PM -0700, A A wrote:
 Hello,
 
 Whenever my qmail server sends someone an email, the
 following line appears in the header:
 
 Received: from mail.mydomain.com
 (old_name.mydomain.com [216.216.216.216] (may be
 forged))
 
 However, recently I changed my server name from
 old_name.mydomain.com to new_name.mydomain.com.

How did you 'change' your name? On the machine itself? In DNS? In your
qmail config? Please be more clear.

 Is there anything I can do to let qmail recognize the
 new server name? Is my only option a recompile or is
 there a file I can edit?

No host or domainnames of any kind are hardcoded in qmail, so a
recompile will not be necessary.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: Wrong Server Name in Qmail Header?

2001-06-23 Thread A A

I modified the server name of the machine itself by
altering the following 2 files:

(1) /etc/hosts
(2) /etc/sysconfig/network


--- Peter van Dijk [EMAIL PROTECTED] wrote:
 On Fri, Jun 22, 2001 at 11:31:19PM -0700, A A wrote:
  Hello,
  
  Whenever my qmail server sends someone an email,
 the
  following line appears in the header:
  
  Received: from mail.mydomain.com
  (old_name.mydomain.com [216.216.216.216] (may be
  forged))
  
  However, recently I changed my server name from
  old_name.mydomain.com to new_name.mydomain.com.
 
 How did you 'change' your name? On the machine
 itself? In DNS? In your
 qmail config? Please be more clear.
 
  Is there anything I can do to let qmail recognize
 the
  new server name? Is my only option a recompile or
 is
  there a file I can edit?
 
 No host or domainnames of any kind are hardcoded in
 qmail, so a
 recompile will not be necessary.
 
 Greetz, Peter
 -- 
 Against Free Sex!  
http://www.dataloss.nl/Megahard_en.html


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: Wrong Server Name in Qmail Header?

2001-06-23 Thread Charles Cazabon

A A [EMAIL PROTECTED] wrote:
 I modified the server name of the machine itself by
 altering the following 2 files:
 
 (1) /etc/hosts
 (2) /etc/sysconfig/network

The other servers are getting your host's name by a reverse lookup in DNS.
You'll have to have your DNS information updated to the new name.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---