From owner-freebsd-questions Sat Nov 2 20:32:49 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 EA82837B401 for ; Sat, 2 Nov 2002 20:32:46 -0800 (PST) Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A19A43E8A for ; Sat, 2 Nov 2002 20:32:42 -0800 (PST) (envelope-from daleco@daleco.biz) Received: from DaleCoportable [12.145.236.170] by mail.gbronline.com (SMTPD32-7.13) id A67A6A13007A; Sat, 02 Nov 2002 22:30:50 -0600 Message-ID: <000901c282f1$95db1f50$fa00a8c0@DaleCoportable> From: "DaleCo Help Desk" To: "KizerSoze" , References: Subject: Re: Default Sendmail install with FreeBSD Date: Sat, 2 Nov 2002 22:29:19 -0600 Organization: DaleCo, S.P.---"the solutions people" MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 ----- Original Message ----- From: "KizerSoze" To: Sent: Saturday, November 02, 2002 10:17 PM Subject: Default Sendmail install with FreeBSD > I've been addressing an issue where I'm trying to have all my mail from my > root account forwarded to my home email address. The BSD box does not have > a FQDN and when trying to send any mail to my home accounts the mail relay > owned by those accounts will not accept them, assumingly because the from > address does not have a real domain name, thus the relay drops the mail as > spam. > > I know that sendmail can be configured to change the from addresses of > emails before they are sent and I'd like to accomplish this, and, have found > some sufficient documentation here. > http://www.sendmail.org/faq/section3.html#3.2 > > But, after reading through the documentation I am unable to locate any > sendmail.mc file on my system. My system was not a bare 4.7 install, but > has been updated through the 4.x tree. I'm by no means an expert with > Sendmail and have not been able to find any answers to the following > questions. > > 1) Where am I suppose to find the sendmail.mc file? > You won't. You'll find 'freebsd.mc' and, if you've ever run 'make' in /etc/mail, you should see a *.mc where * is your hostname. The *.mc is the one you're concerned with.... > 2) Does FreeBSD come with a partial install of sendmail, and if so is this > why I'm not seeing the sendmail.mc file, and if thats the case do I need to > re-install sendmail through the port tree? > /stand/sysinstall gives you the option to run Sendmail during the install process...if you tell it you want to run Sendmail, it will put sendmail_enable="YES" in /etc/rc.conf. > 3) Has anyone else here accomplished what I'm trying to do here, and if so, > what were your steps to success? > One of the things everyone should do, or at least consider, is editing /etc/mail/aliases shortly after setting up FBSD. Several of the daemons use the MTA (usually Sendmail) to notify the system owner/administrator of 'important' issues. After editing the file, 'make' must be run to update sendmail's configuration. As I mentioned above, .mc and .cf files adapted for your host will be created and installed at this time. > Thanks in advance, > > Ed > HTH, Kevin Kinsey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message