From owner-freebsd-questions Mon Nov 4 1:15:52 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 0FF7537B401 for ; Mon, 4 Nov 2002 01:15:50 -0800 (PST) Received: from smtp014.mail.yahoo.com (smtp014.mail.yahoo.com [216.136.173.58]) by mx1.FreeBSD.org (Postfix) with SMTP id 7030943E4A for ; Mon, 4 Nov 2002 01:15:49 -0800 (PST) (envelope-from kizersoze@sbcglobal.net) Received: from adsl-65-71-68-47.dsl.rcsntx.swbell.net (HELO hume) (kizersoze@sbcglobal.net@65.71.68.47 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 4 Nov 2002 09:15:49 -0000 From: "KizerSoze" To: "Matthew Seaman" , Subject: RE: Default Sendmail install with FreeBSD Date: Mon, 4 Nov 2002 03:16:33 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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) In-Reply-To: <20021104080901.GA16056@happy-idiot-talk.infracaninophi> Importance: Normal 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 Matthew, Thanks for the help. I am happy to say that I am 90% done with what I am trying to accomplish and I must say that sendmail is one big Haus, but, I don't have one last hurdle to get over. I have finally been able to get the masquerading setup on my machine so that mail delivery from local accounts can actually make it to my home system, but, sendmail DOES NOT masquerade the root account. I'd like this one masqueraded so I can receive all the daily/weekly/monthly emails. Does anyone know how to tell sendmail to also masquerade the root account....every other account I try gets masqueraded BUT the root account. Thanks, Ed -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Matthew Seaman Sent: Monday, November 04, 2002 2:09 AM To: freebsd-questions@FreeBSD.ORG Subject: Re: Default Sendmail install with FreeBSD On Sun, Nov 03, 2002 at 11:51:37PM -0600, KizerSoze wrote: > Once the system is booted up how can I tell what .cf file sendmail has > loaded?? I think that the .cf file I think is loaded is in fact not, and I > need to find a way to verify this. Look at /var/run/sendmail.pid --- unusually for most daemons it records not just the PID but also the command line used to start the process: # cat /var/run/sendmail.pid 243 /usr/sbin/sendmail -L sm-mta -bd -q30m Now, if there is a '-C /some/file.cf' flag there, then that's the .cf file you're using. Otherwise you're going to be using the compiled in default, which for the MTA process is /etc/mail/sendmail.cf The same thing holds for the MSP (mail submission process) sendmail instance, but using different files. The PID file is in /var/spool/clientmqueue/sm-client.pid: # cat /var/spool/clientmqueue/sm-client.pid 124 /usr/sbin/sendmail -L sm-msp-queue -Ac -q30m and in this case, the corresponding default config file is /etc/mail/submit.cf Default locations of .cf and similar files are documented in sendmail(8) and /usr/share/sendmail/cf/README, although you have to hunt about in the file to find all the details of the MSP stuff. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message