On Thursday 06 Oct 2005 2:56 pm, Kenneth Gonsalves wrote:
On Thursday 06 Oct 2005 1:01 pm, Ramang G wrote:
it works fine, but when I mark copy to other users, they get multiple copies of mail. How do i solve this issue?
where are the multiple copies generated? looks like it is done on the server side once and again on the client side. I mean a mail to 'a', cc 'b', two copies get sent to your catchall box. Then when you download with fetchmail, again two copies of each mail are generated. Looks like normal behaviour to me.
coming to think of it, i had a similar problem years ago. Due to bad line conditions in those days, the download would get cut off and users would get repeated copies of the same mail. I was using sendmail in those days, so i passed the mail through a perl script which would save the id in a database and zap all mails with identical ids, the mails were then passed on to sendmail to deliver. Since most duplicate mails would arrive at about the same time, the database of ids was kept for only a few days in the past, so it didnt get very big and the search did not take time.