Capture all incoming/outgoing email messages
Chuck Swiger
cswiger at mac.com
Fri Oct 6 20:26:55 UTC 2006
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
More information about the freebsd-stable
mailing list