[Desktop-packages] [Bug 748874]

2012-01-06 Thread Bugzilla-mozilla-org-rolf
my apologies for the delay in responding.

The mails are sent out *only* as HTML.  One example is
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;att=0;bug=624592 for
which http://bugs.debian.org/624592 has the full mbox folder, so you can
have a look at the details.

Let me know if there is any other information that I can provide.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/748874

Title:
  plaintext domain gets HTML mail

Status in Mozilla Thunderbird Mail and News:
  Invalid
Status in “thunderbird” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: thunderbird

  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223
  Thunderbird/3.1.8 on lucid

  I have user_pref(mailnews.plaintext_domains,
  docomo.ne.jp,debian.org); in my prefs.js.  Yet, whenever I write a
  mail to @debian.org or @bugs.debian.org it is sent as HTML mail.  Grr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/748874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 748874] Re: plaintext domain gets HTML mail

2012-01-06 Thread Bug Watch Updater
** Changed in: thunderbird
   Status: Unknown = Invalid

** Changed in: thunderbird
   Importance: Unknown = Medium

** Bug watch added: Debian Bug tracker #624592
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624592

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/748874

Title:
  plaintext domain gets HTML mail

Status in Mozilla Thunderbird Mail and News:
  Invalid
Status in “thunderbird” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: thunderbird

  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223
  Thunderbird/3.1.8 on lucid

  I have user_pref(mailnews.plaintext_domains,
  docomo.ne.jp,debian.org); in my prefs.js.  Yet, whenever I write a
  mail to @debian.org or @bugs.debian.org it is sent as HTML mail.  Grr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/748874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 748874]

2012-01-06 Thread Ben-bucksch
need more info. this feature does work in general (see bug 401014, where
it actually matches too often).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/748874

Title:
  plaintext domain gets HTML mail

Status in Mozilla Thunderbird Mail and News:
  Invalid
Status in “thunderbird” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: thunderbird

  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223
  Thunderbird/3.1.8 on lucid

  I have user_pref(mailnews.plaintext_domains,
  docomo.ne.jp,debian.org); in my prefs.js.  Yet, whenever I write a
  mail to @debian.org or @bugs.debian.org it is sent as HTML mail.  Grr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/748874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 748874]

2012-01-06 Thread Ben-bucksch
no, not the same bug.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/748874

Title:
  plaintext domain gets HTML mail

Status in Mozilla Thunderbird Mail and News:
  Invalid
Status in “thunderbird” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: thunderbird

  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223
  Thunderbird/3.1.8 on lucid

  I have user_pref(mailnews.plaintext_domains,
  docomo.ne.jp,debian.org); in my prefs.js.  Yet, whenever I write a
  mail to @debian.org or @bugs.debian.org it is sent as HTML mail.  Grr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/748874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 748874]

2012-01-06 Thread Bugzilla-mozilla-org-rolf
I normally have the following active extensions for TB:
- Archive This
- Compact Header
- Enigmail
- Mail Tweak
- Message Archive Options
- Unified Search
- Virtual Identity

And indeed, it seems that one of those extensions is the culprit rather
than TB itself.  If I start TB with all extensions off, I believe TB
behaves as expected.  I shall reconfirm.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/748874

Title:
  plaintext domain gets HTML mail

Status in Mozilla Thunderbird Mail and News:
  Invalid
Status in “thunderbird” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: thunderbird

  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223
  Thunderbird/3.1.8 on lucid

  I have user_pref(mailnews.plaintext_domains,
  docomo.ne.jp,debian.org); in my prefs.js.  Yet, whenever I write a
  mail to @debian.org or @bugs.debian.org it is sent as HTML mail.  Grr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/748874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 748874]

2012-01-06 Thread Ludovic-mozilla
Rolf what extensions are you using (ie BiDi) ?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/748874

Title:
  plaintext domain gets HTML mail

Status in Mozilla Thunderbird Mail and News:
  Invalid
Status in “thunderbird” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: thunderbird

  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223
  Thunderbird/3.1.8 on lucid

  I have user_pref(mailnews.plaintext_domains,
  docomo.ne.jp,debian.org); in my prefs.js.  Yet, whenever I write a
  mail to @debian.org or @bugs.debian.org it is sent as HTML mail.  Grr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/748874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 748874]

2012-01-06 Thread Bugzilla-mozilla-org-rolf
the Mail Tweak plugin is the culprit, my apologies for the noise.
I'll contact the maintainer of the plugin.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/748874

Title:
  plaintext domain gets HTML mail

Status in Mozilla Thunderbird Mail and News:
  Invalid
Status in “thunderbird” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: thunderbird

  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223
  Thunderbird/3.1.8 on lucid

  I have user_pref(mailnews.plaintext_domains,
  docomo.ne.jp,debian.org); in my prefs.js.  Yet, whenever I write a
  mail to @debian.org or @bugs.debian.org it is sent as HTML mail.  Grr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/748874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 748874] Re: plaintext domain gets HTML mail

2012-01-05 Thread Rolf Leggewie
this was caused by the Mail Tweak plugin I was using, it's not a bug in
TB itself. Closing as invalid.

** Changed in: thunderbird (Ubuntu)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/748874

Title:
  plaintext domain gets HTML mail

Status in Mozilla Thunderbird Mail and News:
  Unknown
Status in “thunderbird” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: thunderbird

  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223
  Thunderbird/3.1.8 on lucid

  I have user_pref(mailnews.plaintext_domains,
  docomo.ne.jp,debian.org); in my prefs.js.  Yet, whenever I write a
  mail to @debian.org or @bugs.debian.org it is sent as HTML mail.  Grr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/748874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 748874] Re: plaintext domain gets HTML mail

2011-11-06 Thread Rolf Leggewie
** Changed in: thunderbird
   Importance: Medium = Unknown

** Changed in: thunderbird
   Status: Confirmed = Unknown

** Changed in: thunderbird
 Remote watch: Mozilla Bugzilla #401014 = Mozilla Bugzilla #647522

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/748874

Title:
  plaintext domain gets HTML mail

Status in Mozilla Thunderbird Mail and News:
  Unknown
Status in “thunderbird” package in Ubuntu:
  New

Bug description:
  Binary package hint: thunderbird

  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223
  Thunderbird/3.1.8 on lucid

  I have user_pref(mailnews.plaintext_domains,
  docomo.ne.jp,debian.org); in my prefs.js.  Yet, whenever I write a
  mail to @debian.org or @bugs.debian.org it is sent as HTML mail.  Grr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/748874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 748874]

2011-10-31 Thread Ben-bucksch
*** Bug 698262 has been marked as a duplicate of this bug. ***

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/748874

Title:
  plaintext domain gets HTML mail

Status in Mozilla Thunderbird Mail and News:
  Confirmed
Status in “thunderbird” package in Ubuntu:
  New

Bug description:
  Binary package hint: thunderbird

  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223
  Thunderbird/3.1.8 on lucid

  I have user_pref(mailnews.plaintext_domains,
  docomo.ne.jp,debian.org); in my prefs.js.  Yet, whenever I write a
  mail to @debian.org or @bugs.debian.org it is sent as HTML mail.  Grr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/748874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 748874]

2011-10-31 Thread M-wada
(A) There are mailnews.plaintext_domains and mailnews.html_domains.
 http://mxr.mozilla.org/comm-central/source/mailnews/compose/src/nsMsgCompose.cpp#4887
 4887 NS_GetLocalizedUnicharPreferenceWithDefault(prefBranch, 
 mailnews.plaintext_domains, EmptyString(),
 4888 plaintextDomains);
 4889 NS_GetLocalizedUnicharPreferenceWithDefault(prefBranch, 
 mailnews.html_domains, EmptyString(),
 4890 htmlDomains);

(B) mailnews.plaintext_domains and mailnews.html_domains looks used when 
recipient's text or html preference is not defined in address book(Unknown). 
 4908   // if we don't have a prefer format for a recipient, check the 
 domain in
 4909   // case we have a format defined for it

(C) If domainpart of mail address(string after @) is substring of 
mailnews.plaintext_domains or mailnews.html_domains, mailnews looks to 
consider that the domainpart is registered as plaintext_domain or html_domain.  
 
 4913 PRInt32 atPos = recipient.mEmail.FindChar('@');
 4914 if (atPos = 0)
 4915 {
 4916   domain = Substring(recipient.mEmail, atPos + 1);
 4917   if (CaseInsensitiveFindInReadable(domain, plaintextDomains))
 4918 recipient.mPreferFormat = nsIAbPreferMailFormat::plaintext;
 4919   else
 4920 if (CaseInsensitiveFindInReadable(domain, htmlDomains))
 4921   recipient.mPreferFormat = nsIAbPreferMailFormat::html;
 4922 }

Above code doesn't look to care for case of @xxx.yyy.zzz is used and
xxx.yyy.zzz is placed in mailnews.plaintext or html_domains, and
@yyy.zzz is used too. It was very rare case, I think.

Ben Bucksch, is my guess right?
If so, bug 647522 is perhaps mail address in address book with text/html 
preference=HTML case.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/748874

Title:
  plaintext domain gets HTML mail

Status in Mozilla Thunderbird Mail and News:
  Confirmed
Status in “thunderbird” package in Ubuntu:
  New

Bug description:
  Binary package hint: thunderbird

  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223
  Thunderbird/3.1.8 on lucid

  I have user_pref(mailnews.plaintext_domains,
  docomo.ne.jp,debian.org); in my prefs.js.  Yet, whenever I write a
  mail to @debian.org or @bugs.debian.org it is sent as HTML mail.  Grr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/748874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 748874]

2011-10-31 Thread Ben-bucksch
(and before string comparison, add a dot before both domains, to avoid
matching @nopaypal.com when paypal.com is configured.)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/748874

Title:
  plaintext domain gets HTML mail

Status in Mozilla Thunderbird Mail and News:
  Confirmed
Status in “thunderbird” package in Ubuntu:
  New

Bug description:
  Binary package hint: thunderbird

  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223
  Thunderbird/3.1.8 on lucid

  I have user_pref(mailnews.plaintext_domains,
  docomo.ne.jp,debian.org); in my prefs.js.  Yet, whenever I write a
  mail to @debian.org or @bugs.debian.org it is sent as HTML mail.  Grr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/748874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 748874]

2011-10-31 Thread Ben-bucksch
(In reply to WADA from comment #8)
 (C) If domainpart of mail address(string after @) is substring of
 mailnews.plaintext_domains or mailnews.html_domains, mailnews looks to
 consider that the domainpart is registered as plaintext_domain or
 html_domain.   
  4913 PRInt32 atPos = recipient.mEmail.FindChar('@');
  4914 if (atPos = 0)
  4915 {
  4916   domain = Substring(recipient.mEmail, atPos + 1);
  4917   if (CaseInsensitiveFindInReadable(domain, plaintextDomains))
  4918 recipient.mPreferFormat = nsIAbPreferMailFormat::plaintext;
  4919   else
  4920 if (CaseInsensitiveFindInReadable(domain, htmlDomains))
  4921   recipient.mPreferFormat = nsIAbPreferMailFormat::html;
  4922 }
 
 Ben Bucksch, is my guess right?

Indeed, that's precisely the bug, nail on head. This comparison is just
wrong.

We need to split the string at ,, then compare the right-most part,
and only get a hit, if the email address domain string is equal or
longer than the pref domain string, not the other way around as now.

Ben

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/748874

Title:
  plaintext domain gets HTML mail

Status in Mozilla Thunderbird Mail and News:
  Confirmed
Status in “thunderbird” package in Ubuntu:
  New

Bug description:
  Binary package hint: thunderbird

  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223
  Thunderbird/3.1.8 on lucid

  I have user_pref(mailnews.plaintext_domains,
  docomo.ne.jp,debian.org); in my prefs.js.  Yet, whenever I write a
  mail to @debian.org or @bugs.debian.org it is sent as HTML mail.  Grr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/748874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp