Date: Sat, 10 Nov 2001 15:01:11 -0500 From: Louis LeBlanc <leblanc+freebsd@keyslapper.org> To: freebsd-questions@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: Security Check output mailing? Message-ID: <20011110150111.G36908@keyslapper.org> In-Reply-To: <006501c16a1e$acfc8d00$88682518@longhill1.md.home.com> References: <20011110135827.C36908@keyslapper.org> <002501c16a1a$13204360$88682518@longhill1.md.home.com> <20011110142200.D36908@keyslapper.org> <006501c16a1e$acfc8d00$88682518@longhill1.md.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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" <leblanc+freebsd@keyslapper.org> > To: <freebsd-questions@FreeBSD.ORG>; <freebsd-questions@FreeBSD.ORG> > 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 <root@kutulu.org>" > [ $sflag =3D FALSE ] && echo "To: Kutulu <kutulu@kutulu.org>" > [ $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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011110150111.G36908>