View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004117 | SOGo | Web Mail | public | 2017-03-29 11:29 | 2017-04-06 15:05 |
Reporter | nenonano | Assigned To | ludovic | ||
Priority | high | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | [Server] Linux | OS | RHEL/CentOS | OS Version | 6 |
Product Version | 3.2.8 | ||||
Summary | 0004117: Message are sent corrupted with one or more recipient(s) in Bcc | ||||
Description | Hi there sogo-3.2.8.20170325-1.centos6.x86_64 sending a message (with or without any attachment) to a recipient in To: field and one in Bcc: one will result in corrupted email a simple test email is received like this (this is what all my email clients show): ------=_=-_OpenGroupware_org_NGMime-26474-1490786533.034377-11------ test 2 messaggio ------=_=-_OpenGroupware_org_NGMime-26474-1490786533.034377-11------ <html>test 2 messaggio</html> ------=_=-_OpenGroupware_org_NGMime-26474-1490786533.034377-11-------- | ||||
Steps To Reproduce | create a new message add a recipient in To: | ||||
Tags | No tags attached. | ||||
|
|
Works for me. |
|
well, glad to know :-) BTW, it doesn't help me much.. tried with different clients (windows, linux) and different browsers (firefox and chrome) from lan and from wan, with the same result supposing it is an issue on my side, I'd like to know how to debug it.. I need to debug both client (see 0004098) and server side.. thank you |
|
Attach the raw source of the email when that happens. |
|
email_source.txt (2,038 bytes)
Delivered-To: Bcc_recipient@gmail.com Received: by 10.79.35.208 with SMTP id j77csp553556ivj; Wed, 29 Mar 2017 04:22:14 -0700 (PDT) X-Received: by 10.223.145.68 with SMTP id j62mr30220218wrj.44.1490786534200; Wed, 29 Mar 2017 04:22:14 -0700 (PDT) Return-Path: <admin@senderdomain.tld> Received: from senderdomain.tld (mail.senderdomain.tld. [XX.YY.TT.ZZ]) by mx.google.com with SMTP id o18si8111052wrc.152.2017.03.29.04.22.13 for <Bcc_recipient@gmail.com>; Wed, 29 Mar 2017 04:22:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of admin@senderdomain.tld designates XX.YY.TT.ZZ as permitted sender) client-ip=XX.YY.TT.ZZ; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of admin@senderdomain.tld designates XX.YY.TT.ZZ as permitted sender) smtp.mailfrom=admin@senderdomain.tld Received: (qmail 27833 invoked by uid 453); 29 Mar 2017 11:22:13 -0000 X-Virus-Checked: by ClamAV 0.99.2 on senderdomain.tld X-Virus-Found: No Authentication-Results: senderdomain.tld; auth=none Received: from localhost (HELO localhost) (127.0.0.1) by senderdomain.tld (qpsmtpd/0.96) with ESMTP ; Wed, 29 Mar 2017 13:22:13 +0200 X-Forward: 89.96.214.206 MIME-Version: 1.0Content-Type: multipart/alternative; boundary="----=_=-_OpenGroupware_org_NGMime-26474-1490786533.034377-11------" User-Agent: SOGoMail 3.2.8 From: "Local Administrator" <admin@senderdomain.tld> To: To_recipient@otherdomain.it Subject: test Message-ID: <676a-58db9900-1d-54f53600@90531884> Date: Wed, 29 Mar 2017 13:22:13 +0200 ------=_=-_OpenGroupware_org_NGMime-26474-1490786533.034377-11------ Content-Type: text/plain; charset=utf-8 Content-Length: 17 Content-Transfer-Encoding: 7bit test 2 messaggio ------=_=-_OpenGroupware_org_NGMime-26474-1490786533.034377-11------ Content-Type: text/html; charset=utf-8 Content-Length: 29 Content-Transfer-Encoding: 7bit <html>test 2 messaggio</html> ------=_=-_OpenGroupware_org_NGMime-26474-1490786533.034377-11-------- |
|
attached email source.. I masked ips and domains.. looking at it it seems that this single line is wrong: MIME-Version: 1.0Content-Type: multipart/alternative; boundary="----=_=-_OpenGroupware_org_NGMime-26474-1490786533.034377-11------" |
|
Get the rawsource from your IMAP server (on the filesystem), gzip it and attach it to this ticket. |
|
did it and attached |
|
N.B. the message I attached is the one stored in sent mail of sender account |
|
attached the email stored in recipient maildir (no editing at all) |
|
I've tested the attached mail and works for me. Lines are terminated by \n instead of \r\n so I have to do a: perl -pi -e 's/\n/\r\n/' THEFILENAME on it before injecting it but the BCC code deals only with \r\n terminated code. How are you sending mails from SOGo? Using the sendmail command or SMTP? |
|
Smtp |
|
just create a test machine with latest SOGo and the same O.S. (SME server release 9.1, centos6 derived) I can confirm that I have the same behaviour
it happens for internal and external recipients messages are sent via smtp these are my last updates: yum.log:Mar 22 22:51:32 Updated: sogo-3.2.7.20170322-1.centos6.x86_64 all the stuff is started from 23rd march is there any way to try with the old releases? |
|
I need help to debug this issue, thank you |
|
Try to install SOGo from source (keep SOPE packages). We can more easily test patches. |
|
I see it's only for debian.. any hint about compilation on centos/RH6? |
|
I'd like to rebuild sogo.3.2.7 rpms using SOGo-3.2.7.tag.gz and sogo-3.2.8.20170328-1.centos6.src.rpm adapting the spec file.. any hint? |
|
Get the tar.gz. Also use 3.2.8, NOT 3.2.7. |
|
well, trying to rebuild all the rpms is quite difficult because of dependencies is there any way to have the rpms available before march 23? |
|
no |
|
fine :-) installing sogo-debuginfo package can make any difference and/or give me some tools to debug the issue? |
|
sending email using TB doesn't have any issue so the problem is with sogo and I need some hints to debug it is there any log/debug facility I should/could enable to have some usefull elements? |
|
I said to compile/install SOGo from source, not to rebuild the RPM. One test you could do is to send two messages, as identical as they can be (same subject, content, etc.). One with and one without the bcc. Gzip the files and attach them to this ticket. |
|
and I ask for hints about recompiling it on centos, since the documentation is for debian :-)
Thank you |
|
attached 2 identical emails the first sent only to To:, the second to To: and Bcc: retrieved from the inbox of the to: recipient HTH |
|
this works: MIME-Version: 1.0 and this is from the corrupted message: the Content-Type: header is wrongly positioned.. it's on the same line of the MIME-Version one |
|
just tested on your demo online and.. the same issue is there.. so, definitely, it's not an issue on my side :-) |
|
sorry to bother you but may I ask what's the status of this bug? |
|
Hello, I,ve the problem too. Ubunutu 14.04.5 LTS. Version 3.2.7 (@shiva.inverse 201703081122) look here: Mit freundlichen Gr=C3=BC=C3=9Fen Jan Boy Dietrich -- Jan Boy Dietrich |
|
Try to update the SOPE packages. |
|
It's a package mismatch issue in the first place. A 'safety fix' was pushed to avoid user mistakes. |
|
sogo: master f83d6a20 2017-04-06 11:02 Details Diff |
(fix) protect ourself from broken SOPE/SOGo installs (fixes 0004117) |
Affected Issues 0004117 |
|
mod - SoObjects/SOGo/SOGoMailer.m | Diff File | ||
sogo: v2 d9d4808d 2017-04-06 11:02 Details Diff |
(fix) protect ourself from broken SOPE/SOGo installs (fixes 0004117) |
Affected Issues 0004117 |
|
mod - SoObjects/SOGo/SOGoMailer.m | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-03-29 11:29 | nenonano | New Issue | |
2017-03-29 11:29 | nenonano | File Added: Senzanome.png | |
2017-03-29 12:53 | ludovic | Severity | major => minor |
2017-03-29 12:53 | ludovic | Note Added: 0011612 | |
2017-03-29 15:01 | nenonano | Note Added: 0011624 | |
2017-03-29 15:02 | ludovic | Note Added: 0011625 | |
2017-03-29 15:17 | nenonano | File Added: email_source.txt | |
2017-03-29 15:18 | nenonano | Note Added: 0011626 | |
2017-03-29 16:47 | ludovic | Note Added: 0011627 | |
2017-03-29 17:19 | nenonano | File Added: mail.tgz | |
2017-03-30 08:51 | nenonano | Note Added: 0011630 | |
2017-03-30 14:57 | nenonano | Note Added: 0011631 | |
2017-03-30 15:06 | nenonano | File Added: mail1.tgz | |
2017-03-30 15:06 | nenonano | Note Added: 0011632 | |
2017-03-30 15:17 | ludovic | Note Added: 0011633 | |
2017-03-30 22:18 | nenonano | Note Added: 0011637 | |
2017-04-01 11:21 | nenonano | Note Added: 0011650 | |
2017-04-01 11:30 | nenonano | Note Added: 0011651 | |
2017-04-01 11:32 | ludovic | Note Added: 0011652 | |
2017-04-01 11:35 | nenonano | Note Added: 0011653 | |
2017-04-01 11:42 | nenonano | Note Added: 0011654 | |
2017-04-01 11:50 | ludovic | Note Added: 0011655 | |
2017-04-01 12:28 | nenonano | Note Added: 0011656 | |
2017-04-01 12:29 | ludovic | Note Added: 0011657 | |
2017-04-01 12:31 | nenonano | Note Added: 0011658 | |
2017-04-03 09:39 | nenonano | Note Added: 0011665 | |
2017-04-03 10:37 | ludovic | Note Added: 0011666 | |
2017-04-03 11:56 | nenonano | Note Added: 0011668 | |
2017-04-03 12:13 | nenonano | File Added: mail_only_to.tgz | |
2017-04-03 12:14 | nenonano | File Added: mail_to_bcc.tgz | |
2017-04-03 12:15 | nenonano | Note Added: 0011669 | |
2017-04-03 13:44 | nenonano | Note Added: 0011670 | |
2017-04-04 08:50 | nenonano | Note Added: 0011674 | |
2017-04-05 09:42 | nenonano | Note Added: 0011678 | |
2017-04-05 17:19 | nenonano | File Added: to.png | |
2017-04-05 17:19 | nenonano | File Added: bcc.png | |
2017-04-06 14:04 | jbd | Note Added: 0011684 | |
2017-04-06 14:19 | francis | Note Added: 0011685 | |
2017-04-06 15:03 | ludovic | Changeset attached | => sogo master f83d6a20 |
2017-04-06 15:03 | ludovic | Assigned To | => ludovic |
2017-04-06 15:03 | ludovic | Resolution | open => fixed |
2017-04-06 15:04 | ludovic | Changeset attached | => sogo v2 d9d4808d |
2017-04-06 15:05 | ludovic | Note Added: 0011686 | |
2017-04-06 15:05 | ludovic | Status | new => resolved |
2017-04-06 15:05 | ludovic | Resolution | fixed => no change required |