From owner-freebsd-questions@FreeBSD.ORG Sat Aug 16 17:38:21 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 A435E37B405 for ; Sat, 16 Aug 2003 17:38:21 -0700 (PDT) Received: from zool.lafn.org (zool.lafn.ORG [206.117.18.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E87943FAF for ; Sat, 16 Aug 2003 17:38:21 -0700 (PDT) (envelope-from bc979@lafn.org) Received: from lafn.org (host-66-81-202-253.rev.o1.com [66.81.202.253]) (authenticated bits=0) by zool.lafn.org (8.12.3p2/8.12.3) with ESMTP id h7H0cISj034956 for ; Sat, 16 Aug 2003 17:38:19 -0700 (PDT) (envelope-from bc979@lafn.org) Date: Sat, 16 Aug 2003 17:38:17 -0700 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Doug Hardie To: FreeBSD-Questions Content-Transfer-Encoding: 7bit In-Reply-To: <20030809123004.GB25642@happy-idiot-talk.infracaninophile.co.uk> Message-Id: <17F91460-D04B-11D7-8AA3-000393681B06@lafn.org> X-Mailer: Apple Mail (2.552) Subject: Sendmail address rewriting 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, 17 Aug 2003 00:38:22 -0000 I have what is most likely a simple misunderstanding of the sendmail.cf file configuration. But, nothing I have tried works. Basically I have one machine (zoon) which is the mail host for all received mail. All user mailboxes are on that machine and it is the host identified in the MX records. I have the send mail server on zoot. When a message is sent out without a domain in the to address, zoot is filling it in with zoot.lafn.org which makes the reply functions useless. Zoot does not accept incoming mail. How do I get zoot's sendmail to use the domain lafn.org in these cases? Here is zoot's mc file VERSIONID(`$Id: ZOOT.mc,v 1.1 2000/05/31 22:21:02 gshapiro Exp $') OSTYPE(bsd4.4)dnl DOMAIN(generic)dnl dnl set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl MASQUERADE_AS(`lafn.org')dnl MASQUERADE_DOMAIN(`lafn.org')dnl FEATURE(`masquerade_entire_domain')dnl FEATURE(`masquerade_envelope')dnl FEATURE(`relay_entire_domain')dnl FEATURE(`access_db', `hash -T /etc/mail/access')dnl FEATURE(`virtusertable', `hash -T /etc/mail/virtusers')dnl FEATURE(`delay_checks', `friend')dnl FEATURE(`no_default_msa')dnl FEATURE(`use_ct_file')dnl define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl define(`confTO_QUEUERETURN',`3d')dnl define(`confTO_QUEUEWARN',`5d')dnl define(`LOCAL_RELAY',`mail.lafn.org')dnl LOCAL_USER(`root')dnl MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl MAILER(local)dnl MAILER(smtp)dnl