Closed Bug 1688059 Opened 4 years ago Closed 4 years ago

[autoconfig] Allow setting some account properties (mail.identity.identityNN.fcc, mail.server.serverNN.using_subscription)

Categories

(Thunderbird :: Account Manager, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: orion, Unassigned)

Details

(Whiteboard: [support])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

We have shifted to an Office 365 hosted mail server and find that we need to make the following changes to accounts:

  • Disable "Place a copy in Sent" as the mail server automatically does this.
  • Disable "Show only subscribed folders"

It would be very helpful to be able to put this into our autoconfig file.

See bug 1668833.
These should probably not be in the setup file, but just handled elsewhere.

Hi Orion,

Let's see if we can help you here.

(In reply to Orion Poplawski from comment #0)

We have shifted to an Office 365 hosted mail server and find that we need to make the following changes to accounts:

  • Disable "Place a copy in Sent" as the mail server automatically does this.

Corresponding pref:
mail.identity.%identitykey%.fcc
e.g. mail.identity.id1.fcc = false
https://searchfox.org/comm-central/rev/acf322267fcb964b4a3f9a803e42855fa304977e/mailnews/base/prefs/content/am-copies.inc.xhtml#38-42

  • Disable "Show only subscribed folders"

mail.server.%serverkey%.using_subscription
e.g. mail.server.server1.using_subscription = false

It would be very helpful to be able to put this into our autoconfig file.

I think this should be possible for any given pref using the traditional Mission Control Desktop (MCD) - Thunderbird AutoConfig and using lockPref(prefName, value) in your main config file, e.g.

lockPref(mail.identity.id1.fcc, false);
lockPref(mail.server.server1.using_subscription, false);

Please have a look at this documentation:

https://app.gitbook.com/@thunderbird/s/enterprise-docs/deploy/mcd-thunderbird-autoconfig

Does that help?

Flags: needinfo?(orion)
Summary: [autoconfig] Allow setting some account properties → [autoconfig] Allow setting some account properties (mail.identity.%identitykey%.fcc, mail.server.%identitykey%.using_subscription)
Whiteboard: [support]
Summary: [autoconfig] Allow setting some account properties (mail.identity.%identitykey%.fcc, mail.server.%identitykey%.using_subscription) → [autoconfig] Allow setting some account properties (mail.identity.identityNN.fcc, mail.server.serverNN.using_subscription)

I hate to assume, but let's assume Orion was able to use your advice.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(orion)
Resolution: --- → INVALID

Sorry for the late response. The problem with the lockPref() method is that it assumes that "id1" and "server1" are the appropriate id or server, which I can't guarantee.

You need to log in before you can comment on or make changes to this bug.