I sent this message a while ago, but i got a reply from the list software
complaining about implicit destinations.
I tried to make the address as explicit as possible this time .. sorry if
you all get two identical messages ;-)

-------------------------

Howdy all ..

I have the usual internal lan on the 10.10.10.x network, and a masquerading
linux box with a serial ppp connection to the internet. (this serial
connection is over a cablemodem, but that doesnt matter).
I have BIND running on the linux box that handles the 10.10.10.x network as
a "fake" domain called "villa28". This makes my linux box flem.villa28, my
windows box cow.villa28 etc.

Anyway, since this system is online most of the time i thought it would be
a Good Thing to let it handle my mail.
I whipped up a slightly modified version of David's script in his TrinityOs
file to let it masquerade the villa28 domain, and i thought that would be it.

The problem is that since version 8.9.X or something, SMTP servers don't
accept mail from servers whose domain doesnt resolve, and sendmail slaps
the (fake) internal domain on the MAIL FROM: header. Things should go
pretty well if it would use the address of the external interface, or my
dynip address.

I was wondering whether there's a way (there must be .. sendmail has such a
big config file ;-) to change the local hostname or something like that.

I really hope someone can help me with this ...

R.A.

---------------------------- sendmail.mc----------------------------
VERSIONID(`@(#)flem-smail.mc       8.10 (Berkeley) 01/21/99')
OSTYPE(linux)
FEATURE(nouucp)
MAILER(local)
MAILER(smtp)
MASQUERADE_AS(villa28.cs.kpn.cx)
MASQUERADE_DOMAIN(villa28)
FEATURE(masquerade_entire_domain)
FEATURE(always_add_domain)
FEATURE(rbl)
FEATURE(use_cw_file)     


---------- Sample returned mail message -------------------------
>From MAILER-DAEMON  Wed May 26 13:13:23 1999
Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
        by flem.villa28 (8.9.3/8.9.3) with internal id NAA02876;
        Wed, 26 May 1999 13:13:23 +0200
Date: Wed, 26 May 1999 13:13:23 +0200
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <[EMAIL PROTECTED]>
To: root
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
        boundary="NAA02876.927717203/flem.villa28"
Subject: Returned mail: Data format error
Auto-Submitted: auto-generated (failure)
Status: R

This is a MIME-encapsulated message

--NAA02876.927717203/flem.villa28

The original message was received at Wed, 26 May 1999 13:13:18 +0200 
from root@localhost

   ----- The following addresses had permanent fatal errors -----
[EMAIL PROTECTED]

   ----- Transcript of session follows -----
... while talking to hypernephroma.dds.nl.:
>>> MAIL From:<[EMAIL PROTECTED]> SIZE=24
<<< 501 <[EMAIL PROTECTED]>... Sender domain must exist
501 [EMAIL PROTECTED] Data format error

--NAA02876.927717203/flem.villa28
Content-Type: message/delivery-status

Reporting-MTA: dns; flem.villa28
Arrival-Date: Wed, 26 May 1999 13:13:18 +0200

Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.5.2
Remote-MTA: DNS; hypernephroma.dds.nl
Diagnostic-Code: SMTP; 501 <[EMAIL PROTECTED]>... Sender domain must exist 
Last-Attempt-Date: Wed, 26 May 1999 13:13:23 +0200

--NAA02876.927717203/flem.villa28
Content-Type: message/rfc822

Return-Path: <root>
Received: (from root@localhost)
        by flem.villa28 (8.9.3/8.9.3) id NAA02874
        for [EMAIL PROTECTED]; Wed, 26 May 1999 13:13:18 +0200
Date: Wed, 26 May 1999 13:13:18 +0200
From: root
Message-Id: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

test

--NAA02876.927717203/flem.villa28--                                            



_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]

Reply via email to