[CLUE-Tech] Email clients, Postfix and listing of emails sent
Jeff Cann
j.cann at isuma.org
Sat Jul 24 20:54:08 MDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 24 July 2004 8:50 pm, Kevin Cullis wrote:
> Hi all,
>
> Just a quick question. I know that my email client keeps a listing of
> all of my emails that I've sent, does Postfix and others do the same?
> How would I see this list?
Depending on your installation, postfix logs all mail traffic into a log file,
like /var/log/maillog. Here's an example entry. This message was sent to
<postfix at ts.servebeer.com>:
Jul 24 20:50:05 jumanji postfix/local[26925]: 8D16F433E8:
to=<postfix at ts.servebeer.com>, relay=local, delay=834605, status=s
ent (mailbox)
You could do something like this to extract the email addresses into a list:
$ grep 'to=' /var/log/maillog | cut -d'<' -f2 | cut -d'>' -f1 | sort | uniq
I'm not sure on other MTAs.
HTH-
Jeff
- --
"Faith that does not affect a person's culture is a faith not fully embraced,
not entirely thought out, not faithfully lived."
- - Pope John Paul II
http://isuma.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFBAyDTi4b9OApLCmoRAguzAJ9PSoSivXegATgUOgvmA5UiY4IG/QCgrsNt
38uzfn7vZfOtOOl0lGSsHBQ=
=qUIQ
-----END PGP SIGNATURE-----
More information about the clue-tech
mailing list