Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2002 18:19:01 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Martin Schweizer <pcservi@spectraweb.ch>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Can't send e-mail to freebsd lists
Message-ID:  <20020702061901.GA60931@grimoire.chen.org.nz>
In-Reply-To: <3D209CC6@smtp.spectraweb.ch>
References:  <3D209CC6@smtp.spectraweb.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 02, 2002 at 06:59:41AM +0200, Martin Schweizer wrote:
> Hello
> 
> After successfully update to FreeBSD 4.6 I can't send e-mails to any freebsd 
> mailinglist. I re-make also sendmail.cf (from freebsd.mc) but whithout 
> success. I can send and receive e-mail from and to other receipients without 
> problems. If I send an e-mail to a freebsd list the following error occurs:
> 
> - in maillog:
> Jul  1 21:50:00 saturn sm-mta[170]: starting daemon (8.12.5): 
> SMTP+queueing@00:30:00
> Jul  1 21:51:33 saturn sm-mta[171]: g614wFbn001097: 
> to=freebsd-questions@freebsd.org, delay=14:53:18, xdelay=00:01:32, 
> mailer=esmtp, pri=120358, relay=mx1.freebsd.org. [216.136.204.125], dsn=4.2.0, 
> stat=Deferred: 450 Client host rejected: cannot find your hostname, 
> [62.202.92.43]

Ok, I've checked your IP address, and it appears to resolve correctly;
both reverse and forward.

[...]

> define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
> define(`confMAX_MIME_HEADER_LENGTH', `256/128')
> define(`confNO_RCPT_ACTION', `add-to-undisclosed')
> define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
> 
> MASQUERADE_AS(bluewin.ch)
> FEATURE(masquerade_envelope)
> FEATURE(use_ct_file)

[...]

> # Hostname und Domain (bluewin.ch = ISP Domain)
> hostname="saturn.spectraweb.ch"

Ok. Here's what I think is happening. FreeBSD's mailserver checks your
hosts announced name on EHLO. From your sendmail config, it will
default to:

    "saturn.spectraweb.ch"

This is *not* resolvable by DNS. What you have to do is to add the
following line to your .mc file:

    define(`confDOMAIN_NAME', `spectraweb.ch')dnl

Rebuild and install. That should fix it, I think.
-- 
Jonathan Chen <jonc@chen.org.nz>
------------------------------------------------------------------------
"We laugh in the face of danger, we drop icecubes down the vest of fear"
                                                 - Edmond Blackadder III

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020702061901.GA60931>