From owner-freebsd-questions Mon Jul 1 23:19: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAEB737B400 for ; Mon, 1 Jul 2002 23:19:04 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1796243E13 for ; Mon, 1 Jul 2002 23:19:04 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.4/8.12.4) with ESMTP id g626J1uJ061027; Tue, 2 Jul 2002 18:19:01 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.4/8.12.4/Submit) id g626J18u061026; Tue, 2 Jul 2002 18:19:01 +1200 (NZST) Date: Tue, 2 Jul 2002 18:19:01 +1200 From: Jonathan Chen To: Martin Schweizer Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can't send e-mail to freebsd lists Message-ID: <20020702061901.GA60931@grimoire.chen.org.nz> References: <3D209CC6@smtp.spectraweb.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D209CC6@smtp.spectraweb.ch> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 ------------------------------------------------------------------------ "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