From owner-freebsd-questions@FreeBSD.ORG Wed Aug 29 07:45:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D81FB106564A for ; Wed, 29 Aug 2012 07:45:21 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) by mx1.freebsd.org (Postfix) with ESMTP id 871918FC0C for ; Wed, 29 Aug 2012 07:45:20 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id q7T7jLgn051231 for ; Wed, 29 Aug 2012 01:45:21 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Message-ID: <503DC88F.6060806@dreamchaser.org> Date: Wed, 29 Aug 2012 01:45:19 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120609 Thunderbird/13.0 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Wed, 29 Aug 2012 01:45:21 -0600 (MDT) Subject: sendmail local-host-names questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@dreamchaser.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2012 07:45:22 -0000 Sorry if this is a bit off topic; couldn't find an answer on the net anywhere and sendmail.org seems to be non-functional unless you're a commercial customer; or at least that's the way it looks to me, as it's redirected to sendmail.com and their "Ask the Experts" page has no way to ask anybody anything :-) Anyhoo... I was setting up a virtual domain and mistakenly set my local-host-names file to have trailing dots after the domain and host names. This caused mail sent to the domain(s) to be bounced with the message: 554 5.0.0 MX list for dreamchaser.org. points back to nightmare.dreamchase r.org 554 5.3.5 Local configuration error Which caused me to tear my hair out (what little I have left) trying to fix a non-existent DNS configuration error. The maillog shows a similar message: Aug 28 23:10:05 nightmare sm-mta[50394]: q7T59w8M050394: to=ah@dreamchaser.org, delay=00:00:07, xdelay=00:00:00, mailer=esmtp, pri=62332, relay=dreamchaser.org., dsn=5.3.5, stat=Local configuration error Aug 28 23:10:05 nightmare sm-mta[50394]: q7T59w8M050394: q7T59w8N050394: return to sender: Local configuration error Aug 28 23:10:05 nightmare sm-mta[50394]: q7T59w8N050394: to=ah@dreamchaser.org, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=33356, relay=dreamchaser.org., dsn=5.3.5, stat=Local configuration error Aug 28 23:10:05 nightmare sm-mta[50394]: q7T59w8M050394: Losing ./qfq7T59w8M050394: savemail panic Aug 28 23:10:05 nightmare sm-mta[50394]: q7T59w8M050394: SYSERR(root): savemail: cannot save rejected email anywhere Can anyone explain what's going on or point me to a better place to ask? It's now fixed but I'd like to understand why sendmail doesn't like a domain specified with a trailing dot, since I thought that was how one specified a fully qualified domain name. Also... I can't find anything about how to put a comment in the local-host-names file. I took a guess and used # as in the .mc file, and it doesn't seem to cause errors; but neither does ';' or '%' so I'm guessing the lines are just being skipped because they don't parse properly. I'd like to know whether comments are allowed or not; and if so, what the proper syntax is. Thanks for any hints, Gary