There are the logs in /var/log, of course. I would probably parse and import them into a database for long-term storage and searching, with the caveat that parsing log files and fitting them to a database schema is more than just """while logfile.readlines(): cursor.execute("INSERT ...")""".
For the actual e-mails themselves, most MTAs can be configured to copy incoming messages to another address, e.g.
always_bcc in postfix. The little Note on there is more of a Warning, however:
Quote:
Note: if mail to the BCC address bounces it will be returned to the sender.
So you want to make sure there is
no way in hell e-mail to this address will bounce. This is hard.
This thread is also interesting and mentions the available *_bcc_maps features.
_________________
Code:
/* TODO: need to add signature to posts */