Page 1 of 1

multiple copies of email

Posted: 2022-05-10 09:28
by Shankar
Dear Sir,

I am getting mulitple copies of same email if it is addressed To and CC and they are present in Local email server.
Request Help

Re: multiple copies of email

Posted: 2022-05-10 11:57
by mattg
Are you downloading mail via POP? (external download)

See last paragraph here >> ... al_account

Re: multiple copies of email

Posted: 2022-05-10 12:00
by katip
you have to maintain a DB table with Message-ID / recipient pairs.
user rule triggers a function to see if the same message has already been delivered for this account, if yes delete message, else insert new record into table & deliver. you can truncate the table as frequent as you like (several times a day).
as Message-ID is supposed to be universal unique per message, this works (generally), there may be exceptions though.
IOW, not something to cope with stock settings.

Re: multiple copies of email

Posted: 2022-05-25 11:53
by Shankar
I am a new Be here. I dont know how to avoid duplicate mails while receiving from external accounts. There is script of Hemant Vats to delete the Duplicate mail, but some it happens that some mails dont reach to the users at all.

Where the TO and CC and BCC all are in the same local server , it will deliver 3 mails to each users where as our SMTP server from where we are downloading shows only one email.

Help us Please.
Thanks & Regards