Nat problem

2001-06-13 Thread Maciej Bogucki

HI!
 I'm just configuring new qmail server. When I connect from my private
network to qmail server and I send message, header of this message look
like:

From [EMAIL PROTECTED] Wed Jun 13 09:21:02 2001
Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 28026 invoked by alias); 13 Jun 2001 09:21:02 -
Delivered-To: root@qmail-server
Received: (qmail 28023 invoked from network); 13 Jun 2001 09:21:01 -
Received: from local-host (HELO test) (IP-of-my-local-host)
  by qmail-server.com with SMTP; 13 Jun 2001 09:21:01 -

Where 
qmail-server.com is new qmail server
local-host is name of my computer, from which I send this message
IP-of-my-local-host is IP of my computer, from which I send this message

Is it possibly to configure qmail that it doesn't add last line
Received: from local-host (HELO test) (IP-of-my-local-host) for
specific hosts: for example for network: 192.168.0.0/24 ?

Regards
 
Maciej Bogucki, Network Administrator
---
3dart.com / end-to-end solutions http://www.3dart.com
Spolka Internetowa   tel: (+48 22) 646 64 65
ul. Goszczynskiego 1002-616, Warszawa



Re: Nat problem

2001-06-13 Thread David Gartner

I thought this information was used to determine how the message was
routed.  The only useful purpose to turn it off would be so you could spam
people without having to worry about them finding you. *shrugs*  I think
it's hardcoded.

David


Maciej Bogucki wrote:

 HI!
  I'm just configuring new qmail server. When I connect from my private
 network to qmail server and I send message, header of this message look
 like:

 From [EMAIL PROTECTED] Wed Jun 13 09:21:02 2001
 Return-Path: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 28026 invoked by alias); 13 Jun 2001 09:21:02 -
 Delivered-To: root@qmail-server
 Received: (qmail 28023 invoked from network); 13 Jun 2001 09:21:01 -
 Received: from local-host (HELO test) (IP-of-my-local-host)
   by qmail-server.com with SMTP; 13 Jun 2001 09:21:01 -

 Where
 qmail-server.com is new qmail server
 local-host is name of my computer, from which I send this message
 IP-of-my-local-host is IP of my computer, from which I send this message

 Is it possibly to configure qmail that it doesn't add last line
 Received: from local-host (HELO test) (IP-of-my-local-host) for
 specific hosts: for example for network: 192.168.0.0/24 ?

 Regards

 Maciej Bogucki, Network Administrator
 ---
 3dart.com / end-to-end solutions http://www.3dart.com
 Spolka Internetowa   tel: (+48 22) 646 64 65
 ul. Goszczynskiego 1002-616, Warszawa




Re: Nat problem

2001-06-13 Thread Maciej Bogucki

 
 I thought this information was used to determine how the message was
 routed.  The only useful purpose to turn it off would be so you could spam
 people without having to worry about them finding you. *shrugs*
I can trust my local users. Potential atacker can read my private IP
from header, it can help him to know few about my local subnets.
  I think it's hardcoded.
In sendmail I can change this in sendmail.cf file.

Regards

Maciej Bogucki



Re: Nat problem

2001-06-13 Thread Dave Sill

Maciej Bogucki [EMAIL PROTECTED] wrote:

In sendmail I can change this in sendmail.cf file.

qmail isn't Sendmail.

You could (1) modify the source to not include that info, or (2)
filter messages to strip that info, e.g. using qmail-qfilter.

-Dave



RE: Nat problem

2001-06-13 Thread Tim Hunter

You can set the enviroment variables when you call the smtp server

for tcpserver edit your tcp.smtp file like this:
192.168.00.:allow,TCPREMOTEHOST=,TCPREMOTEIP=,RELAYCLIENT=

this will set those variables to 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Maciej Bogucki
Sent: Wednesday, June 13, 2001 5:57 AM
To: [EMAIL PROTECTED]
Subject: Nat problem


HI!
 I'm just configuring new qmail server. When I connect from my private
network to qmail server and I send message, header of this message look
like:

From [EMAIL PROTECTED] Wed Jun 13 09:21:02 2001
Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 28026 invoked by alias); 13 Jun 2001 09:21:02 -
Delivered-To: root@qmail-server
Received: (qmail 28023 invoked from network); 13 Jun 2001 09:21:01 -
Received: from local-host (HELO test) (IP-of-my-local-host)
  by qmail-server.com with SMTP; 13 Jun 2001 09:21:01 -

Where 
qmail-server.com is new qmail server
local-host is name of my computer, from which I send this message
IP-of-my-local-host is IP of my computer, from which I send this message

Is it possibly to configure qmail that it doesn't add last line
Received: from local-host (HELO test) (IP-of-my-local-host) for
specific hosts: for example for network: 192.168.0.0/24 ?

Regards
 
Maciej Bogucki, Network Administrator
---
3dart.com / end-to-end solutions http://www.3dart.com
Spolka Internetowa   tel: (+48 22) 646 64 65
ul. Goszczynskiego 1002-616, Warszawa




Re: Nat problem

2001-06-13 Thread Maciej Bogucki

 You can set the enviroment variables when you call the smtp server
 for tcpserver edit your tcp.smtp file like this:
 192.168.00.:allow,TCPREMOTEHOST=,TCPREMOTEIP=,RELAYCLIENT=
 this will set those variables to 
BIG Thanks . It helped .

Regards
Maciej Bogucki, Network Administrator

---
3dart.com / end-to-end solutions http://www.3dart.com
Spolka Internetowa   tel: (+48 22) 646 64 65
ul. Goszczynskiego 1002-616, Warszawa