Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#217 closed defect (fixed)

Problems when reponding an e-mail (select id)

Reported by: record@… Owned by:
Version: 0.6.0rc8 Keywords:
Cc:

Description

When I click with right button and select to answer to sender, I receive the box (I have turned on this option) to select the Smart Virtual-id to use.

There is 3 options, but this options don't corresponding to the virtual-id that is inserted in the 'From' field.

The first and third options, shows my virtual-ids, but if I click on the first, the From field receives the Sender address; if I click on the third, the From field receives the text similar to this: 'xxxxxx'@… via XXX.XXX.XXX.XXX; Thu

And the second option, shows the Sender address, but if I click on this option, only in this case, the From field really receives my correct Virtual-id.

Change History (8)

comment:1 Changed 10 years ago by rene

Hi,

there is probably a problem with the headers you selected to get the recipients address. Please activate the debug output (last Tab of preferences Dialog) and post the one from messagecompose-dialog. Watch out for and probably replace confidential information before posting.

Nice regards, Rene

comment:2 Changed 10 years ago by anonymous

Thunderbird 3.0.1 (20100111101938; Windows NT 5.1)
 - Identity Chooser identitychooser@janek.org 0.1
 - Virtual Identity {dddd428e-5ac8-4a81-9f78-276c734f75b8} 0.6.0rc8
--------------------------------------------------------------------------------
## v_identity: composeDialog reopened. (msgType 6)
** v_identity.xml identityData setter
## v_identity: everything cleaned.
## v_identity: initSystemStage1.
** v_identity.xml identityData setter
** v_identity.xml smtp set to 'smtp1'
## v_identity: reopen done.
## v_identity: NotifyComposeFieldsReady
## v_identity: NotifyComposeBodyReady
## v_identity: initSystemStage2.
## vI_smartIdentity: msgComposeType = 6
## vI_smartIdentity: Reply()
## vI_storage: getVIdentityFromAllRecipients()
## vI_rdfDatasource: readVIdentityFromRDF no data found.
## vI_rdfDatasource: findMatchingFilter for xxxxxx@xxxxxxxxx.xxx.xx <xxxxxx@xxxxxxxxx.xxx.xx>.
## vI_rdfDatasource: findMatchingFilter no match found.
## vI_storage: found 0 address(es)
## vI_smartIdentity: __SmartReply()
## vI_smartIdentity: ----------------------------------------------------------
## vI_smartIdentity: reading header 'from': '"xxxxxx@xxxxxxxxx.xxx.xx" <xxxxxx@xxxxxxxxx.xxx.xx>'
## identityCollection:   add new address to result: xxxxxx@xxxxxxxxx.xxx.xx <xxxxxx@xxxxxxxxx.xxx.xx>
## identityCollection:   add new address to result: xxxxxx@xxxxxxxxx.xxx.xx <xxxxxx@xxxxxxxxx.xxx.xx>
## vI_smartIdentity:   found 'xxxxxx@xxxxxxxxx.xxx.xx <xxxxxx@xxxxxxxxx.xxx.xx>'
## vI_smartIdentity: reading header 'to': 'xxxxxxxxxxxx@xxxxx.xxx'
## identityCollection:   add new address to result: xxxxxxxxxxxx@xxxxx.xxx
## identityCollection:   add new address to result: xxxxxxxxxxxx@xxxxx.xxx
## vI_smartIdentity:   found 'xxxxxxxxxxxx@xxxxx.xxx'
## vI_smartIdentity: reading header 'cc': ''
## vI_smartIdentity: reading header 'envelope-to': ''
## vI_smartIdentity: reading header 'x-original-to': ''
## vI_smartIdentity: reading header 'x-apparently-to': 'xxxxxxxxxxxx@xxxxx.xxx via 999.999.999.999; Sex, 05 Feb 2010 07:07:37 

-0800'
## identityCollection:   add new address to result: "xxxxxxxxxxxx"@xxxxx.xxx via 999.999.999.999; Sex
## identityCollection:   add new address to result: "05 Feb 2010 07:07:37 -0800"
## identityCollection:   add new address to result: "xxxxxxxxxxxx"@xxxxx.xxx via 999.999.999.999; Sex
## vI_smartIdentity:   found '"xxxxxxxxxxxx"@xxxxx.xxx via 999.999.999.999; Sex'
## vI_smartIdentity:   skipping '"05 Feb 2010 07:07:37 -0800"', no email
## vI_smartIdentity: 3 address(es) after parsing, before filtering
## vI_smartIdentity: no filters configured
## identityCollection:   add new address to result: xxxxxx@xxxxxxxxx.xxx.xx <xxxxxx@xxxxxxxxx.xxx.xx>
## identityCollection:   add new address to result: xxxxxxxxxxxx@xxxxx.xxx
## identityCollection:   add new address to result: "xxxxxxxxxxxx"@xxxxx.xxx via 999.999.999.999; Sex
## vI_smartIdentity: filtering done, 3 address(es) left
## vI_smartIdentity: compare with existing Identities (ignoring FullNames).
## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='true'
## vI_identityData: isExistingIdentity: xxxxxx@xxxxxxxxx.xxx.xx <xxxxxx@xxxxxxxxx.xxx.xx> not found
## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='true'
## vI_identityData: isExistingIdentity: xxxxxxxxxxxx@xxxxx.xxx found, id='id1'
## vI_smartIdentity: replaced Fullname of 'xxxxxxxxxxxx@xxxxx.xxx' with 'Nome' 
## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='true'
## vI_identityData: isExistingIdentity: "xxxxxxxxxxxx"@xxxxx.xxx via 999.999.999.999; Sex not found
## vI_smartIdentity: ----------------------------------------------------------
## vI_smartIdentity: merged SmartReply & Storage, 3 address(es) left
## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='true'
## vI_identityData: isExistingIdentity: xxxxxx@xxxxxxxxx.xxx.xx <xxxxxx@xxxxxxxxx.xxx.xx> not found
## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='true'
## vI_identityData: isExistingIdentity: Nome <xxxxxxxxxxxx@xxxxx.xxx> found, id='id1'
## vI_smartIdentity: found existing Identity, prefer this one.
## vI_smartIdentityReplyDialog index=0: 'Nome <xxxxxxxxxxxx@xxxxx.xxx>' (Nome <xxxxxxxxxxxx@xxxxx.xxx>,)
## vI_smartIdentityReplyDialog index=1: 'xxxxxx@xxxxxxxxx.xxx.xx <xxxxxx@xxxxxxxxx.xxx.xx>' (,)
## vI_smartIdentityReplyDialog index=2: '"xxxxxxxxxxxx"@xxxxx.xxx via 999.999.999.999; Sex' (,)
## changeIdentityToSmartIdentity selectedValue=0: 'Nome <xxxxxxxxxxxx@xxxxx.xxx>' (Nome <xxxxxxxxxxxx@xxxxx.xxx>,)

** v_identity.xml msgIdentityCloneElem.doCommand() 
** v_identity.xml identityData setter
** v_identity.xml set new Id: id1 'Nome <xxxxxxxxxxxx@xxxxx.xxx>'
** v_identity.xml checkForVirtualIdentity: id1 'Nome <xxxxxxxxxxxx@xxxxx.xxx>'
## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='false'
## vI_identityData: isExistingIdentity: xxxxxx@xxxxxxxxx.xxx.xx <xxxxxx@xxxxxxxxx.xxx.xx> not found
## vI_msgIdentityCloneTools: signatureSwitch hide/remove signatures
** v_identity.xml smtp set to 'smtp1'
** v_identity.xml checkForVirtualIdentity: id1 'Nome <xxxxxxxxxxxx@xxxxx.xxx>'
## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='false'
## vI_identityData: isExistingIdentity: xxxxxx@xxxxxxxxx.xxx.xx <xxxxxx@xxxxxxxxx.xxx.xx> not found
## vI_msgIdentityCloneTools: signatureSwitch hide/remove signatures

comment:3 Changed 10 years ago by rene

Resolution: worksforme
Status: newclosed

Hi,

your problem can be recognized in the following line:

## vI_smartIdentity: reading header 'x-apparently-to': 'xxxxxxxxxxxx@xxxxx.xxx via 999.999.999.999; Sex, 05 Feb 2010 07:07:37 

-0800'

The header x-apparently-to contains some additional information, not only a valid email address. Using thisone will cause trouble.

To solve the problem just go to the preferences of virtual identity and remove the x-apparently-to header from the headers in the first Tab (Source Mail / Smart Features / Read). Or reset them to the default values.

If you like to keep this header you should at least define that the 'Full Name', which is garbage in this case, is ignored. Use 'x-apparently-to:@' to ignore the name.

Just play around a little bit with this settings and watch the debug output, than you might understand what's going on...

Nice regards, Rene

comment:4 Changed 10 years ago by anonymous

Resolution: worksforme
Status: closedreopened

Thanks by your fast help, but the problem persists!

I do what you say, I remove the x-apparently-to header from the headers in the first Tab (Source Mail / Smart Features / Read).

In the main window of Thunderbird, I click with right button on the e-mail to response, select response, and a popup window with now 2 options (no more 3) is showed. Popup: Choose Virtual Identity.

At the first line, the radio button shows my e-mail address, and at the second, the e-mail of the sender.

If I click on the radio button of my e-mail, the From field receives the e-mail of the Sender; If I click on the second radio button (shows the Sender address), the From Field receives my e-mail address.

comment:5 Changed 10 years ago by rene

Hi,

just provide the debug-log again, with distinct identity-replacements...

In the above case the relevant lines are:

## vI_smartIdentityReplyDialog index=0: 'Nome <xxxxxxxxxxxx@xxxxx.xxx>' (Nome <xxxxxxxxxxxx@xxxxx.xxx>,)
## vI_smartIdentityReplyDialog index=1: 'xxxxxx@xxxxxxxxx.xxx.xx <xxxxxx@xxxxxxxxx.xxx.xx>' (,)
## vI_smartIdentityReplyDialog index=2: '"xxxxxxxxxxxx"@xxxxx.xxx via 999.999.999.999; Sex' (,)
## changeIdentityToSmartIdentity selectedValue=0: 'Nome <xxxxxxxxxxxx@xxxxx.xxx>' (Nome <xxxxxxxxxxxx@xxxxx.xxx>,)

** v_identity.xml msgIdentityCloneElem.doCommand() 
...
** v_identity.xml set new Id: id1 'Nome <xxxxxxxxxxxx@xxxxx.xxx>'
** v_identity.xml checkForVirtualIdentity: id1 'Nome <xxxxxxxxxxxx@xxxxx.xxx>'
** v_identity.xml checkForVirtualIdentity: id1 'Nome <xxxxxxxxxxxx@xxxxx.xxx>'

Best provide all the last lines and I will see if can increase the debugging to catch the problem.

Nice regards, Rene

comment:6 Changed 10 years ago by anonymous

Thunderbird 3.0.1 (20100111101938; Windows NT 5.1)
 - Virtual Identity {dddd428e-5ac8-4a81-9f78-276c734f75b8} 0.6.0rc8
--------------------------------------------------------------------------------
## v_identity: mod. FillIdentityList

## v_identity: init.
## v_identity: adapt GenericSendMessage
## v_identity: initSystemStage1.
** v_identity.xml identityData setter
** v_identity.xml smtp set to 'smtp1'
## v_identity: init done.

## vI_rdfDatasource read rdf from 'file:///C:/Documents%20and%20Settings/Administrador/Dados%20de%20aplicativos/Thunderbird/Profiles/j8kdlmws.default/virtualIdentity.rdf'
## v_identity: NotifyComposeFieldsReady
## v_identity: NotifyComposeBodyReady
## v_identity: initSystemStage2.
## vI_smartIdentity: msgComposeType = 6
## vI_smartIdentity: Reply()
## vI_storage: getVIdentityFromAllRecipients()
## vI_rdfDatasource: readVIdentityFromRDF no data found.
## vI_rdfDatasource: findMatchingFilter for promocao@virtserv.info <promocao@virtserv.info>.
## vI_rdfDatasource: findMatchingFilter no match found.
## vI_storage: found 0 address(es)
## vI_smartIdentity: __SmartReply()
## vI_smartIdentity: ----------------------------------------------------------
## vI_smartIdentity: reading header 'from': '"promocao@virtserv.info" <promocao@virtserv.info>'
## identityCollection:   add new address to result: promocao@virtserv.info <promocao@virtserv.info>
## identityCollection:   add new address to result: promocao@virtserv.info <promocao@virtserv.info>
## vI_smartIdentity:   found 'promocao@virtserv.info <promocao@virtserv.info>'
## vI_smartIdentity: reading header 'to': 'record@trashmail.net'
## identityCollection:   add new address to result: record@trashmail.net
## identityCollection:   add new address to result: record@trashmail.net
## vI_smartIdentity:   found 'record@trashmail.net'
## vI_smartIdentity: reading header 'cc': ''
## vI_smartIdentity: reading header 'envelope-to': ''
## vI_smartIdentity: reading header 'x-original-to': ''
## vI_smartIdentity: 2 address(es) after parsing, before filtering
## vI_smartIdentity: no filters configured
## identityCollection:   add new address to result: promocao@virtserv.info <promocao@virtserv.info>
## identityCollection:   add new address to result: record@trashmail.net
## vI_smartIdentity: filtering done, 2 address(es) left
## vI_smartIdentity: compare with existing Identities (ignoring FullNames).
## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='true'
## vI_identityData: isExistingIdentity: promocao@virtserv.info <promocao@virtserv.info> not found
## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='true'
## vI_identityData: isExistingIdentity: record@trashmail.net found, id='id1'
## vI_smartIdentity: replaced Fullname of 'record@trashmail.net' with 'Record' 
## vI_smartIdentity: ----------------------------------------------------------
## vI_smartIdentity: merged SmartReply & Storage, 2 address(es) left
## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='true'
## vI_identityData: isExistingIdentity: promocao@virtserv.info <promocao@virtserv.info> not found
## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='true'
## vI_identityData: isExistingIdentity: Record <record@trashmail.net> found, id='id1'
## vI_smartIdentity: found existing Identity, prefer this one.

COMMENT FROM RECORD: Here is the problem: index0 is Record, index1 is promocao. At this moment, after select Response (on main window, right click at the message to select 'response to sender', the popup 'Choose a Virtual Identity' shows:

## vI_smartIdentityReplyDialog index=0: 'Record <record@trashmail.net>' (Record <record@trashmail.net>,)
## vI_smartIdentityReplyDialog index=1: 'promocao@virtserv.info <promocao@virtserv.info>' (,)
// COMMENT FROM RECORD: I click on the index0 (Record), the changeIdentiryToSmartIdentity selectValue is 0 (Record) but the 'From Field' receives the sender address: 'promocao@virtserv.info'.
## changeIdentityToSmartIdentity selectedValue=0: 'Record <record@trashmail.net>' (Record <record@trashmail.net>,)

COMMENT FROM RECORD: Thunderbird does not send this e-mail message, because my SMTP Server doesn't recognize the From Address that now is (promocao@…) as my correct From Address. Obs: the problem may be the popup 'Choose Virtual Identity', because the click on the first identity switch the From Field to second identity, and the click on the second inserts the first.

** v_identity.xml msgIdentityCloneElem.doCommand() 
** v_identity.xml identityData setter
** v_identity.xml set new Id: id1 'Record <record@trashmail.net>'
** v_identity.xml checkForVirtualIdentity: id1 'Record <record@trashmail.net>'
## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='false'
## vI_identityData: isExistingIdentity: promocao@virtserv.info <promocao@virtserv.info> not found
## vI_msgIdentityCloneTools: signatureSwitch hide/remove signatures
** v_identity.xml smtp set to 'smtp1'
** v_identity.xml checkForVirtualIdentity: id1 'Record <record@trashmail.net>'
## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='false'
## vI_identityData: isExistingIdentity: promocao@virtserv.info <promocao@virtserv.info> not found
## vI_msgIdentityCloneTools: signatureSwitch hide/remove signatures

comment:7 Changed 10 years ago by rene

Resolution: fixed
Status: reopenedclosed

Hi,

finally found the problem. The critical thing happens in this line:

## vI_smartIdentity: found existing Identity, prefer this one.

This part of the extension changes the order of the entries to prefer any existing identity. Good idea, but a while before the Identities had been added to the menu - in another order.

Fixed this with [c6118ba6242b8], contained in rc9

Thanks for helping to get this solved, nice regards,

Rene

comment:8 Changed 10 years ago by anonymous

Hello, Rene!

Thank you because you are very patient with me and my bad english. Thanks by the fast responses and continue with your good work!

God bless you! Jesus loves you!

Note: See TracTickets for help on using tickets.