From owner-freebsd-questions Fri Jul 18 11:10:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA07022 for questions-outgoing; Fri, 18 Jul 1997 11:10:30 -0700 (PDT) Received: from milehigh.denver.net (milehigh.denver.net [204.144.180.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA07017 for ; Fri, 18 Jul 1997 11:10:28 -0700 (PDT) Received: from localhost (jdc@localhost) by milehigh.denver.net (8.8.5/8.8.5) with SMTP id MAA02440; Fri, 18 Jul 1997 12:10:30 -0600 (MDT) Date: Fri, 18 Jul 1997 12:10:29 -0600 (MDT) From: John-David Childs To: Gianmarco Giovannelli cc: Gary Crutcher , questions@FreeBSD.ORG Subject: Re: mail account monitoring In-Reply-To: <33CFA785.167EB0E7@scotty.masternet.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 18 Jul 1997, Gianmarco Giovannelli wrote: > Gary Crutcher wrote: > > > > Hi, > > > > I need to monitor someone's mail account. > > How can I get copies of incoming and outgoing mail for > > an account? I would like for all mail this person sends > First, make sure you have all your legal ducks in a row. You need to have a *compelling* legal or security reason to do this, or you'll wind up on the wrong side of the courtroom > For the incoming mail is easy.... > > put a file called ".forward" without quotes :-) in his homedir and in > this file write his login and yours ... > All customer has to do is delete the .forward. It's far easier (and more innoucuous) to put his username in /etc/aliases and have mail sent to two accounts simultaneously (his and "yours"). For outgoing mail, you'd have to mess with sendmail.cf (or whatever local mailer you use)...but all he'd have to do is set up a different SMTP server (as long as they didn't prevent mail relaying ;-) You could use rudimentary packet filtering on his connection to force him to use your SMTP server. To "do it right", you'd probably need to trace/hijack his session with a firewall tool...but then if he's "up to something" you probably wouldn't need to read mail ;-) -- John-David Childs (JC612) @denver.net/Internet-Coach System Administrator Enterprise Internet Solutions & Network Engineer 901 E 17th Ave, Denver 80218 If you want your spouse to listen and pay strict attention to every word you say, talk in your sleep.