From owner-freebsd-questions@FreeBSD.ORG Sat Mar 29 20:52:51 2003 Return-Path: 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 6FC0737B495 for ; Sat, 29 Mar 2003 20:52:51 -0800 (PST) Received: from mail.clubplus.net (mail.clubplus.net [216.191.22.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18945441A3 for ; Sat, 29 Mar 2003 19:59:37 -0800 (PST) (envelope-from david@skytrackercanada.com) Received: from skytrackercanada.com (3s1.com [209.188.66.29]) by mail.clubplus.net (8.12.7/8.12.7) with ESMTP id h2U41GDa017398 for ; Sat, 29 Mar 2003 23:01:16 -0500 Received: (from root@localhost) by skytrackercanada.com (8.12.6/8.12.6) id h2U3xYo6001844 for questions@freebsd.org; Sat, 29 Mar 2003 22:59:34 -0500 (EST) (envelope-from david@skytrackercanada.com) Received: from skytrackercanada.com (localhost [127.0.0.1]) by skytrackercanada.com (8.12.6/8.12.6) with ESMTP id h2U3xX18001818 for ; Sat, 29 Mar 2003 22:59:33 -0500 (EST) (envelope-from david@skytrackercanada.com) Received: (from david@localhost) by skytrackercanada.com (8.12.6/8.12.6/Submit) id h2U3xXvt001817 for questions@freebsd.org; Sat, 29 Mar 2003 22:59:33 -0500 (EST) (envelope-from david) Date: Sat, 29 Mar 2003 22:59:33 -0500 From: David Banning To: questions@freebsd.org Message-ID: <20030329225933.A1775@skytrackercanada.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-scanner: scanned by Inflex 1.0.12.3 - (http://pldaniels.com/inflex/) X-RAVMilter-Version: 8.4.2(snapshot 20021217) (mail) Subject: sendmail question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2003 04:53:03 -0000 I am running a machine which is on a dynamic dns ppp connection. The machines name is "optex", so when john mails david locally sendmail sees it as john@optex sending to david@optex it seems. Sendmail seems to have a problem with this, as the log states; Mar 29 22:51:18 optex sendmail[55008]: My unqualified host name (optex) unknown; sleeping for retry Whats the best way of dealing with this? I want to sendmail locally, send mail out masquerading, but we don't need sendmail to receive as the local users take off a pop server directly with their mail clients. Here is my *mc files; freebsd.submit.mc divert(0)dnl VERSIONID(`$Id: submit.mc,v 8.6 2002/03/26 03:30:58 ca Exp $') define(`confCF_VERSION', `Submit')dnl define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet define(`confTIME_ZONE', `USE_TZ')dnl MASQUERADE_AS(`optexstaging.com')dnl FEATURE(`msp', `[127.0.0.1]')dnl dnl FEATURE(`msp')dnl and optex.mc; divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.8 2001/03/06 02:12:59 gshapiro Exp $') OSTYPE(bsd4.4) DOMAIN(generic) FEATURE(access_db, `hash -o /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(relay_based_on_MX) FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') define(`confCW_FILE', `-o /etc/mail/local-host-names') define(`confMAX_MIME_HEADER_LENGTH', `256/128') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp)