From owner-freebsd-questions Sat Nov 10 12: 0:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmls06.mediaone.net (chmls06.mediaone.net [24.147.1.144]) by hub.freebsd.org (Postfix) with ESMTP id 790E137B41B for ; Sat, 10 Nov 2001 12:00:36 -0800 (PST) Received: from keyslapper.org (acadia.ne.mediaone.net [65.96.186.69]) by chmls06.mediaone.net (8.11.1/8.11.1) with ESMTP id fAAK16827338; Sat, 10 Nov 2001 15:01:06 -0500 (EST) Received: (from leblanc@localhost) by keyslapper.org (8.11.6/8.11.6) id fAAK1GC37652; Sat, 10 Nov 2001 15:01:16 -0500 (EST) (envelope-from leblanc) Date: Sat, 10 Nov 2001 15:01:11 -0500 From: Louis LeBlanc To: freebsd-questions@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: Security Check output mailing? Message-ID: <20011110150111.G36908@keyslapper.org> Reply-To: freebsd-questions@FreeBSD.org Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <20011110135827.C36908@keyslapper.org> <002501c16a1a$13204360$88682518@longhill1.md.home.com> <20011110142200.D36908@keyslapper.org> <006501c16a1e$acfc8d00$88682518@longhill1.md.home.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OBd5C1Lgu00Gd/Tn" Content-Disposition: inline In-Reply-To: <006501c16a1e$acfc8d00$88682518@longhill1.md.home.com> User-Agent: Mutt/1.3.23i X-bright-idea: Lets abolish HTML mail! 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 --OBd5C1Lgu00Gd/Tn Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 11/10/01 02:34 PM, Kutulu sat at the `puter and typed: >=20 > ----- Original Message ----- > From: "Louis LeBlanc" > To: ; > Sent: Saturday, November 10, 2001 2:22 PM > Subject: Re: Security Check output mailing? >=20 > > Which I assume means it gets sent to root@localhost. But the From > > header is still 'undisclosed-recipients'. > > > > I know this may be risking going OT, but I do have the following in my > > sendmail.mc file: define(`confNO_RCPT_ACTION', `add-to-undisclosed') >=20 > The reason the From: header says this is that the script doesn't provide > it's own From: header. Since this is being sent locally, it doesn't go > through the SMTP process. The local mailer is called, passed the account > name, and the body of the mail including (or not including) any normal ma= il > headers, is written to your mailbox. That's where procmail picks it up a= nd > discards it. >=20 > > Any idea how to get security to be sent explicitly to > > root@keyslapper.org? >=20 > Edit /etc/security to echo mail headers at the top. I did this in a hurry > and haven't bothered to clean it up, but something like this: >=20 > host=3D`hostname` > [ $sflag =3D FALSE ] && echo "From: Charlie Root " > [ $sflag =3D FALSE ] && echo "To: Kutulu " > [ $sflag =3D FALSE ] && echo "Subject: ${host} daily security output log" > [ $sflag =3D FALSE ] && echo "" Ok, I found that section and have added To and From headers. I guess I'll see tomorrow wether it works or not. Thanks Lou --=20 Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org =D4=BF=D4=AC Olmstead's Law: After all is said and done, a hell of a lot more is said than done. --OBd5C1Lgu00Gd/Tn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE77YeGeAPWYrNkRWIRAvHYAJkBXT7x2GFSJGEkPR/uFUjnrAw3uQCeIvY6 FUgwEcHLGj/5sgzDvhboX2U= =bd2f -----END PGP SIGNATURE----- --OBd5C1Lgu00Gd/Tn-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message