All mails importing, then 'Message Failed Verification'

Issue #341 resolved
Cameron Conner created an issue

Hi! I'm searched on this issue and can't find anything, and it's just not making sense to me. I wasn't 100% sure if this was the best place to send this, because it may not be a bug, but then again, it may be...

I'm importing mails from maildir, and everything seems to go fine, but then when I log in as auditor, every single one of them says Message Failed Verification.

I'm running rc2, on CentOS 6.5 on a VM.

I was able to download the eml file 1, and it's completely fine. I then did a pilerget on that id 2. But for some reason, I can't see anything in the web gui.

I'm doing my initial import, currently at 16,000 messages and growing...

Thanks!

Comments (10)

  1. Janos SUTO repo owner

    The 2nd message appears to be empty. Is there anything in the maillog when you execute "pilerget 4000000053bcca9b2941dde4000d1cf546c0" command?

    When piler archives a message, then it computes some sha265 values. When it's retrieved these values are recomputed, them compared with the already stored values. If they don't match, then it prints the failed verification message.

  2. Cameron Conner reporter

    [root@mailstore REDACTED]# pilerget 4000000053bcca9b2941dde4000d1cf546c0 Subject: Yard Signs Mime-Version: 1.0 (Mac OS X Mail 7.3 (1878.2)) Content-Type: text/html; charset=us-ascii X-Apple-Base-Url: x-msg://365/ X-Universally-Unique-Identifier: 597F9DBE-5470-4C72-A027-DD1006E04DC3 X-Apple-Mail-Remote-Attachments: YES From: Bill Conner bill@*REDACTED* X-Apple-Auto-Saved: 1 X-Apple-Windows-Friendly: 1 Date: Thu, 3 Jul 2014 16:27:39 -0400 X-Apple-Mail-Signature: A7864183-CC88-43ED-B0B8-186CDA23290B Content-Transfer-Encoding: quoted-printable Message-Id: E1493B43-73C2-467E-8B48-1241FA7EB133@*REDACTED* X-Uniform-Type-Identifier: com.apple.mail-draft To: REDACTED@hotmail.com

    <html><head></head><body dir=3D"auto" style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space;">Quote:<div>24 x 18</div><div>Two Colors, Two Sides, = with stakes</div><div><br></div><div>Qty.   25     =  $11.16</div><div><br><div id=3D"AppleMailSignature"> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; = color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: = 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: = 0px; -webkit-border-horizontal-spacing: 0px; = -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><span class=3D"Apple-style-span" = style=3D"font-size: 12px; "><div><br = class=3D"Apple-interchange-newline"><br></div><div>Bill = Conner</div><div>Chief Strategy </div><div><br></div><div><div style=3D"color: rgb(0, 0, 0); = font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: = 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: = 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; = ">REDACTED, LLC</div><div style=3D"color: rgb(0, 0, 0); = font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: = 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: = 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; = ">An Indiana Certified Women's Business Enterprise (WBE)<br>2759 Ford = Road, Vincennes, IN 47591<br>888-REDACTED</div><div style=3D"color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = normal; font-variant: normal; font-weight: normal; letter-spacing: = normal; line-height: normal; orphans: 2; text-align: -webkit-auto; = text-indent: 0px; text-transform: none; white-space: normal; widows: 2; = word-spacing: 0px; -webkit-text-size-adjust: auto; = -webkit-text-stroke-width: 0px; "><br></div><div style=3D"color: rgb(0, = 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: = 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: = 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; = "><a = href=3D"http://REDACTED/">REDACTED</a> |&= nbsp;<a = href=3D"http://www.facebook.com/REDACTED">facebook.com/REDACTED= s</a> | <a = href=3D"http://www.twitter.com/REDACTED">@REDACTED</a></div>= </div></span></span> </div> <br></div></body></html>=

  3. Janos SUTO repo owner

    Try one more thing: disable selinux, reboot, and check the gui again, if the verification error goes away.

  4. Cameron Conner reporter

    Worked great! Issue resolved.

    Is there any way to keep SELinux running and have mailpiler work?

  5. Janos SUTO repo owner

    Well, there must be a way to do so, but so far I couldn't figure out how to setup selinux properly. And in the near future I can't afford spending more time experimenting with selinux rules. I hope someone can help me with it :-)

  6. Hari Murugan

    Set to "Permissive" mode instead of disabling. However no policy is enforced, but log and warn actions. I am not an expert, but i can try and the cause.

  7. Janos SUTO repo owner

    In the meantime I managed to come up with a selinux rule that enables you to view the messages. However one more thing is missing: to enable running the uptime command from a php script...

  8. Log in to comment