View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000471 | SOGo | Web Mail | public | 2010-03-04 17:59 | 2010-04-08 15:29 |
Reporter | steeeeeveee | Assigned To | ludovic | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 1.2.1 | ||||
Target Version | 1.2.2 | Fixed in Version | 1.2.2 | ||
Summary | 0000471: Double FROM address when sending mail | ||||
Description | I have SOGo (MTN trunk) installed and am using MySQL for the authentication. The view holding the user information looks as follow: c_uid, c_name, c_cn and mail are all having the same value: the users email address (aka: foo@bar.tld) c_password has the password in plain text. Now when I send a mail from SOGo I always get a double entry in the from header:from: foo@bar.tld,
| ||||
Tags | No tags attached. | ||||
What about if you set c_cn to the actual name of the user? |
|
Then the "From" header displays something like this: My problem is that I don't have control over the real user name. Every domain owner can add whatever he/she likes to that field (even leaving it empty). Some of them have added the email address to that field. And IMHO SOGo should not add a double "From" header if c_cn is equal to c_name. Another thing that I don't understand is when composing a message in SOGo then the "From:" line shows "From: john.doe@domain.tld <john.doe@domain.tld>" when c_cn is equal to c_name but when sending the mail then then the from header gets doubled. That is IMHO not consistent. I would at least expect: And definitely not: The other problem I have is that if c_cn is empty then my Postfix is barking about illegal address syntax (would need to debug the session to see what the heck SOGo is sending to Postfix):Mar 30 01:46:39 nyx postfix/smtpd[6065]: warning: Illegal address syntax from localhost[127.0.0.1] in MAIL command: john.doe@domain.tldAnd SOGo can not send the mail. I guess you are now going to tell me that I need to have better data quality regarding user data. And you are right. But a software like SOGo on the other hand should be able to cope with empty c_cn or with the case that c_cn=c_name. And keep in mind that not everyone has the real user name in his/her data set. And your documentation is explicitly mentioning to use the same data for c_cn as used for c_name in case one does not have the real user name available. |
|
In fact, the doc says to use the same data for c_name as for c_uid, not for c_cn. c_name is an ID, not the "common name" of the person. From the doc: ? c_uid : will be used for authentication – it's a username |
|
Okay. Then I got it wrong from memory. Anyway... IMHO if c_cn is indeed the email address instead of the users common name then SOGo is acting weird. As mentioned above a consistent approach for the from line should be in that case: And definitely not: |
|
This bug happens in sope-mime, in NGMailAddressParser |
|
So I should file a bug for SOPE or are you going to do this? |
|
No no, keep the bug here, SOPE is dead anyway. |
|
Actually, I was wrong. SOPE seems ok. It's SOGo that didn't provide an rfc822-compliant address. |
|
Fixed in 15cce56fb2a02fa6d50d7fd1d75ccff373d6108e |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-03-04 17:59 | steeeeeveee | New Issue | |
2010-03-19 18:17 | ludovic | Status | new => assigned |
2010-03-19 18:17 | ludovic | Assigned To | => ludovic |
2010-03-19 18:17 | ludovic | Target Version | => 1.2.2 |
2010-03-29 20:59 | ludovic | Note Added: 0000824 | |
2010-03-29 20:59 | ludovic | Status | assigned => feedback |
2010-03-30 00:05 | steeeeeveee | Note Added: 0000825 | |
2010-03-30 00:35 | ludovic | Note Added: 0000826 | |
2010-03-30 01:44 | steeeeeveee | Note Added: 0000827 | |
2010-04-07 18:49 |
|
Category | Web Mail => SOPE |
2010-04-07 18:49 |
|
Note Added: 0000884 | |
2010-04-07 22:30 | steeeeeveee | Note Added: 0000894 | |
2010-04-08 02:13 | ludovic | Note Added: 0000895 | |
2010-04-08 15:29 |
|
Note Added: 0000898 | |
2010-04-08 15:29 |
|
Category | SOPE => Web Mail |
2010-04-08 15:29 |
|
Note Added: 0000900 | |
2010-04-08 15:29 |
|
Status | feedback => resolved |
2010-04-08 15:29 |
|
Fixed in Version | => 1.2.2 |
2010-04-08 15:29 |
|
Resolution | open => fixed |