Posts: 11

Topic: The copmany likes to keep all mails

The copmany want to keep all mails. Is it possible to make impossible for user to delete mails from mailbox or the trash. Or make them invisible. When epmloyee leaves the company mails stay for the next man.

Re: The copmany likes to keep all mails

Yes I did it, it works... The difference is that all mails reach the "received" container (it has to be a rule created to move a part of received mails into "sent") It takes liitle time to looks like a copy o mailbox ... with 50 boxes ... more but works, tnx

Re: The copmany likes to keep all mails

I did the same, it works, but I found the duplicated emails when I download all email from the backup account. for example. user1 sents an email to user2, in backup@mydomain.com account will receive 2 same emails. i know this should be reasonable, but when user1 to 100 users in the same domain, the backup account will receive 100 same emails. is there any way to only keep one email for this kind of situation?

Re: The copmany likes to keep all mails

Re: The copmany likes to keep all mails

thanks for reply. I found one tool to remove the duplicated emails from outlook. http://www.vaita.com/ODIR.aspbut this needs to download all emails to outlook, this job takes too much time, I am thinking of one script or tool to do it in server. like sieve filter, or the tools in webmail. this function is really important for my company. I will appreciate if you could help. thanks

Re: The copmany likes to keep all mails

Re: The copmany likes to keep all mails

thank you very much.this helps me a lot currently. I found one article that says it's possible not to deliver duplicated email to backup account. but I didn't try it successfully. would you mind spending a little time on this article and show your option? http://readlist.com/lists/postfix.org/p … 88452.htmlthanks again.

Re: The copmany likes to keep all mails

yes. I found that setting receive_override_options=no_address_mappings in master.cf. when I bcc all accounts' email to backup@domain.ltd. i still get a lot of copies.but when I put it in main.cf. nothing I can get in backup account.seems the current solution is only to use the script you mentioned from that website for a while. do you think so?

Re: The copmany likes to keep all mails

tomleecn wrote:

seems the current solution is only to use the script you mentioned from that website for a while. do you think so?

Indeed.

"receive_override_options=no_address_mappings" is not what you need, it's used in postfix and amavisd while delivering emails.Postfix will query sql/ldap for address mapping first, without this option, amavisd will query mapping too, this will cause duplicate emails when delivering email to one mailbox.