Dupilcate mails show up in gui

Issue #543 resolved
Karthick jraj created an issue

I have piler 1.1.1 with zimbra. A user from zimbra sent mail to multiple users. When i check in archive it shows multiple mail in gui. Both from user login and archive login it shows multiple mails.

Is there any option to ignore the duplicate not display from the gui. I checked message id is also same for both.

Comments (12)

  1. Janos SUTO repo owner

    Show me the related logs to see that piler actually stores duplicates. I doubt that it happens.

  2. Karthick jraj reporter

    Hi,

    here is the log file,

    May 6 09:31:04 sbademo piler[3902]: 40000000554992093462d5d400852389dd9d: from=indarsarath@xyz.com, size=343962/130944, attachments=0, reference=2048484694.2942.1423113704116.JavaMail.root@xyz.com, message-id=2124883056.1610543.1430884866368.JavaMail.root@xyz.com, retention=14, delay=0.13, delays=0.11/0.01/0.00/0.01/0.00/0.00, status=stored May 6 09:31:04 sbademo piler[3907]: 400000005549920934e7c12c005b79b41509: from=indarsarath@xyz.com, size=343959/130944, attachments=0, reference=2048484694.2942.1423113704116.JavaMail.root@xyz.com, message-id=2124883056.1610543.1430884866368.JavaMail.root@xyz.com, retention=14, delay=0.18, delays=0.15/0.01/0.00/0.01/0.00/0.00, status=stored May 6 09:31:04 sbademo piler[3903]: 400000005549920a1119ad8c00bfe4ca5879: mysql_stmt_execute error: Duplicate entry '2988-archive@archive.in' for key 'id' (errno: 1062) May 6 09:31:04 sbademo piler[3903]: 400000005549920a1119ad8c00bfe4ca5879: discarding: duplicate message, id: 2988, message-id: 2124883056.1610543.1430884866368.JavaMail.root@xyz.com May 6 09:31:04 sbademo piler[3903]: 400000005549920a1119ad8c00bfe4ca5879: from=indarsarath@xyz.com, size=343962/0, attachments=0, reference=2048484694.2942.1423113704116.JavaMail.root@xyz.com, message-id=2124883056.1610543.1430884866368.JavaMail.root@xyz.com, retention=0, delay=0.13, delays=0.12/0.01/0.00/0.00/0.00/0.00, status=duplicate May 6 09:31:04 sbademo piler[3908]: 400000005549920a11dd8e14005850de258c: mysql_stmt_execute error: Duplicate entry '2988-archive@archive.in' for key 'id' (errno: 1062) May 6 09:31:04 sbademo piler[3908]: 400000005549920a11dd8e14005850de258c: discarding: duplicate message, id: 2988, message-id: 2124883056.1610543.1430884866368.JavaMail.root@xyz.com

  3. Karthick jraj reporter

    Sorry for that...

    May 6 09:31:04 sbademo piler[3902]: 40000000554992093462d5d400852389dd9d: from=indarsarath@xyz.com, size=343962/130944, attachments=0, reference=2048484694.2942.1423113704116.JavaMail.root@xyz.com, message-id=2124883056.1610543.1430884866368.JavaMail.root@xyz.com, retention=14, delay=0.13, delays=0.11/0.01/0.00/0.01/0.00/0.00, status=stored

    May 6 09:31:04 sbademo piler[3907]: 400000005549920934e7c12c005b79b41509: from=indarsarath@xyz.com, size=343959/130944, attachments=0, reference=2048484694.2942.1423113704116.JavaMail.root@xyz.com, message-id=2124883056.1610543.1430884866368.JavaMail.root@xyz.com, retention=14, delay=0.18, delays=0.15/0.01/0.00/0.01/0.00/0.00, status=stored

    The above is the log.

  4. Janos SUTO repo owner

    Also please describe your environment. Is it a physical host or a virtual? What filesystem and mount options do you have for /var?

  5. Karthick jraj reporter

    I have installed this fix. let me check for a day and will revert you back.

    By the way the environment is as explained below, Physical server Centos 6.2 X86_64 /var is mount with ext4 filesystem as lvm partition.

  6. Log in to comment