@boggi:
Yes, we can and this is exaclty the solution that we want. I set it up yesterday and today is my day of extensive testing of the whole scalix setup - and so far everything looks perfect.
Im using mimedefang
http://www.mimedefang.org as mailfilter to do some html defanging, virus scanning und spam checking. Mimedefang communicates with sendmail using the Milter interface and modifies mails on the fly. It is configurable using a perl script and therefore *very* flexbile.
My filter rule is the following (in sub filter_begin):
if ($Sender =~ /^<?office\@company\.de>?$/i) {
md_syslog('warning', "Outgoing office mail, adding bcc");
add_recipient("office\@company.de");
}
Using this "hack" mimedefang will add an additional recipient to all mails having "office@company.de" in the sender field. Since this additional recipient is only added to the envelope the mail itself is not changed at all, which is perfect for archival purposes.
Like you proposed I have a rule in scalix saying "file all mails from
office@company.de into folder 'Sent Items Archive'". There is only one downside of the setup: Scalix does not support to file mails directly into the special folder 'Sent Items' - to solve this I just created a folder 'Sent Items Archive' in which all the mails are filed.
Arnulf