Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2006 13:26:42 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Dominik Zalewski <kobazik@gmail.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: Capture all incoming/outgoing email messages
Message-ID:  <8DB156ED-709C-4854-B203-62C57AA8F9F1@mac.com>
In-Reply-To: <4762624a0610061311i7f7cd11eo853029537e75dda7@mail.gmail.com>
References:  <4762624a0610061300u4e31b378oaf1eb9a732913c16@mail.gmail.com> <4526B6CE.7030601@mikestammer.com> <4762624a0610061311i7f7cd11eo853029537e75dda7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 6, 2006, at 1:11 PM, Dominik Zalewski wrote:
> I just want to capture all smtp/pop3 traffic in packets level.

OK:

   tcpdump -w /var/log/mailarchive.dump -s 0 port smtp or port pop3

But be aware that you should disclose the existence of this mail  
monitoring to all users, consult your local laws about electronic  
wiretapping, or both.  In some countries or states, doing the above  
without notification and/or the permission of at least one party is  
likely to be against the law...

[ This probably belongs on freebsd-questions@, or in a discussion  
with your lawyer. ]

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8DB156ED-709C-4854-B203-62C57AA8F9F1>