Address book, somehow updates when composing email.[Linux.]

User Help for Mozilla Thunderbird
Post Reply
freetheware
Posts: 16
Joined: May 4th, 2016, 9:47 am

Address book, somehow updates when composing email.[Linux.]

Post by freetheware »

It appears (or at least gcontactsync believes) that whenever I compose an email, my thunderbird address book 'updates' that contact in the address book. In other words, I compose an email, add contacts by typing in the 'to' field, and send the email. THEN, I run gcontactsync and it thinks those names I typed into the 'to' field have been updated in the addressbook.

I see how this COULD be a gcontactsyn plugin bug...but it certainly feels like thunderbird changes some field/data/hash/info in the address book just by using an address.

Anyway to stop thunderbird from doing this, or anyway to look directly at the data in the address book before and after composing an email? (FYI, looking at the fields via the GUI show zero difference before and after using an address in compose).

Thunderbird v52.7.0, Ubuntu 18.04

Thanks!
Last edited by LIMPET235 on May 7th, 2018, 5:20 am, edited 1 time in total.
Reason: Added [Linux] to the title.
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Address book, somehow updates when composing email.[Linu

Post by tanstaafl »

UNcheck the checkmark for tools -> options -> composition -> addressing -> "automatically add outgoing address to my _____ address book". Tools -> options is replaced by Preferences if you use Linux.

"Outgoing address" means any recipients you specified when sending a message
freetheware
Posts: 16
Joined: May 4th, 2016, 9:47 am

Re: Address book, somehow updates when composing email.[Linu

Post by freetheware »

Thanks for the quick reply. Yes, I'm running linux (Ubuntu 18.04).

That box is NOT checked. (I turn that one off pretty quickly after a new load of Thunderbird :))
freetheware
Posts: 16
Joined: May 4th, 2016, 9:47 am

Re: Address book, somehow updates when composing email.[Linu

Post by freetheware »

UPDATE: So I ran a little experiment, and turned off address auto-complete for my local address book. So no auto complete is attempted.

And still....Thunderbird seems to update the entry of the addresses in the "To" line.
User avatar
DanRaisch
Moderator
Posts: 127234
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Address book, somehow updates when composing email.[Linu

Post by DanRaisch »

Have you tried running Thunderbird in Mozilla Safe Mode to determine if it is gcontactsyn that is triggering the issue? http://kb.mozillazine.org/Safe_mode
freetheware
Posts: 16
Joined: May 4th, 2016, 9:47 am

Re: Address book, somehow updates when composing email.[Linu

Post by freetheware »

Great idea.

So, it certainly appears to be Thunderbird that is updating the address book, without any help from any add-on. So...here's exactly what I did:

- using gcontactsync, confirmed everything is up to date. All addresses match and are up to date.
- restarted thunderbird in safemode.
- sent an email.
- restarted thunderbird in normal mode.
- ran gcontactsync, and it updated the address I used above.
User avatar
DanRaisch
Moderator
Posts: 127234
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Address book, somehow updates when composing email.[Linu

Post by DanRaisch »

But was the .mab file updated (file attributes/date changed ) after shutting down in Safe Mode?
freetheware
Posts: 16
Joined: May 4th, 2016, 9:47 am

Re: Address book, somehow updates when composing email.[Linu

Post by freetheware »

DanRaisch wrote:But was the .mab file updated (file attributes/date changed ) after shutting down in Safe Mode?
Yes, confirmed. .mab got updated even in safe-mode.
UPDATE: FYI, both size (increased) and date changed on the .mab.
User avatar
DanRaisch
Moderator
Posts: 127234
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Address book, somehow updates when composing email.[Linu

Post by DanRaisch »

OK, confirmed. Don't know why it's happening but it is. There's nothing visible in the address book UI but perhaps there is a "last contacted" entry in the file for each contact?
freetheware
Posts: 16
Joined: May 4th, 2016, 9:47 am

Re: Address book, somehow updates when composing email.[Linu

Post by freetheware »

FYI, I fired off a FRESH instance of thunderbird. Put in my account settings, changed no other default settings. And .mab still gets updated when sending an email to an address in the address book. I then unchecked the 'add new contacts to address book' box, and .mab still gets updated.

Also checked exactly when the .mab gets updated. It's after 'send' is hit. (It does not get updated just by adding a name to the 'to' field, send must be hit).

So, this is either a bug or yes, a concious decision to update a field in the .mab.
freetheware
Posts: 16
Joined: May 4th, 2016, 9:47 am

Re: Address book, somehow updates when composing email.[Linu

Post by freetheware »

Looking at the .mab file, there appears to be a 'popularity index' that gets updated on each use of a contact. So, that explains it. I quickly looked in config editor, and didn't see a way to turn that off.
User avatar
DanRaisch
Moderator
Posts: 127234
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Address book, somehow updates when composing email.[Linu

Post by DanRaisch »

Now that you've identified the data being updated, it seems likely that is used to identify which contacts to display at the top of the auto-complete suggestions when you are entering addresses in a message being composed. The logic being that the higher the popularity index, the more likely you will be to want that address the next time you prepare a message for sending.
freetheware
Posts: 16
Joined: May 4th, 2016, 9:47 am

Re: Address book, somehow updates when composing email.[Linu

Post by freetheware »

^ makes sense! So now it seems gcontactsync should be able to ignore that field! I'll reach out.

Thanks for all the quick and great help!
User avatar
DanRaisch
Moderator
Posts: 127234
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Address book, somehow updates when composing email.[Linu

Post by DanRaisch »

You're welcome.
Post Reply