From owner-freebsd-questions Sat Nov 2 21: 0:38 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 15C6137B404 for ; Sat, 2 Nov 2002 21:00:35 -0800 (PST) Received: from smtp018.mail.yahoo.com (smtp018.mail.yahoo.com [216.136.174.115]) by mx1.FreeBSD.org (Postfix) with SMTP id B7AA543E75 for ; Sat, 2 Nov 2002 21:00:34 -0800 (PST) (envelope-from kizersoze@sbcglobal.net) Received: from adsl-66-136-94-79.dsl.rcsntx.swbell.net (HELO hume) (kizersoze@sbcglobal.net@66.136.94.79 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 3 Nov 2002 05:00:34 -0000 From: "KizerSoze" To: "DaleCo Help Desk" , Subject: RE: Default Sendmail install with FreeBSD Date: Sat, 2 Nov 2002 23:01:12 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <000901c282f1$95db1f50$fa00a8c0@DaleCoportable> 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 I did just try to run Make in my /etc/mail directory and the files did indeed get remade, but, there still isn't a .mc file. I did search for the freebsd.mc file and located it at /usr/src/etc/sendmail/freebsd.mc. To get the genericstable to work I need to add some lines to the .mc file, but the only one is in the source tree. What should I do here? Thanks, Ed -----Original Message----- From: DaleCo Help Desk [mailto:daleco@daleco.biz] Sent: Saturday, November 02, 2002 10:29 PM To: KizerSoze; freebsd-questions@FreeBSD.ORG Subject: Re: Default Sendmail install with FreeBSD ----- 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