On Mon, Feb 19, 2001 at 10:18:22AM +0100, "Martin_Tanzer"@dvs-berlin.de wrote:
> 
> You have an DNS problem. Mailservers only accept mails, if the Domainname of 
> the
> machine which wants to send mail  (tarot.foo.com) i.e. resolves - fortunately 
> a
> reverse lookup is not nesecary. One possibiliy is to use a dynamic DNS, the
> other is to use the MAC Address to set tarot to a fixed IP-Address, which
> resolves.

Uh.. 'tarot' has two interfaces. The private interface is
'tarot.mentasm.org' which resolves by my local DNS server with IP
address of 192.168.1.1. The public interface is ferret.phonewave.net,
which is a fixed IP address provided by my ISP.

Tarot's mailer is configured to do header rewriting on any mails which
leave my network, by converting addresses of the form [EMAIL PROTECTED]
to [EMAIL PROTECTED]

It looks like the mail leaving the DHCP client 'bicycle' does not use
the FQDN, which would be 'bicycle'+'.'+'mentasm.org' on this network.

My server's exim.conf was attached in the original message. Perhaps
someone could suggest an alternate rewrite rule?

-- Ferret

> [EMAIL PROTECTED] on 17.02.2001 20:57:43
> 
> An:     debian-user@lists.debian.org
> Kopie:   (Blindkopie: Martin Tanzer/dvs/DE)
> Blindkopie:    Martin Tanzer/dvs/DE
> Thema:  Can't send email from machine configured for DHCP [Virus checked by 
> dvs
>         Leipzig]
> 
> 
> 
> 
> Okay. I have one machine set up as a gateway, and I'm using exim with
> some rewriting rules for my email gateway. It's been working fine for
> years, but now I set up a machine with DHCP, and I find I can't send
> email outside my network from that machine. It looks like this is
> happening because the domain name isn't being set somewhere where the
> local exim would want it.
> 
> 'bicycle' is the DHCP client. 'tarot' is my network gateway. My local
> domain is 'mentasm.org'.
> 
> My server's exim.conf is configured to rewrite [EMAIL PROTECTED] into
> [EMAIL PROTECTED] I'll attach the entire file.
> 
> I expect the problem is on the DHCP client somewhere, but I'm not
> groking the problem sufficiently to solve it myself.
> 
> Here is a bounce message I received on tarot after sending a test
> message from bicycle to my ISP email address:
> 
> ----->
> This message was created automatically by mail delivery software.
> 
> A message that you sent could not be delivered to one or more of its
> recipients. The following address(es) failed:
> 
>   [EMAIL PROTECTED]:
>     SMTP error from remote mailer after MAIL FROM:<[EMAIL PROTECTED]>
>     SIZE=1674:
>     host hanapepe.phonewave.net [207.190.143.254]:
>     501 <[EMAIL PROTECTED]>... Sender domain must exist
> 
> ------ This is a copy of the message, including all the headers. ------
> 
> Return-path: <[EMAIL PROTECTED]>
> Received: from bicycle.mentasm.org (bicycle) [192.168.1.200] (mail)
>         by tarot.mentasm.org with esmtp (Exim 3.12 #1 (Debian))
>         id 14UD6N-0008OC-00; Sat, 17 Feb 2001 11:33:03 -0800
> Received: from root by bicycle with local (Exim 3.12 #1 (Debian))
>         id 14U3sM-00039j-00
>         for <[EMAIL PROTECTED]>; Sat, 17 Feb 2001 01:41:58 -0800
> Date: Sat, 17 Feb 2001 01:41:58 -0800
> To: [EMAIL PROTECTED]
> Subject: test message from bicycle
> Message-ID: <[EMAIL PROTECTED]>
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> User-Agent: Mutt/1.3.12i
> From: root <[EMAIL PROTECTED]>
> 
> Check the full headers
> <-----
> 

Reply via email to