Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Where and how is the setting(s) for always checking IMAP folders for new mail stored?

  • 6 답장
  • 0 이 문제를 만남
  • 최종 답변자: frax

more options

Hi,

I'm trying to automate / batch set the "When getting messages for this account, always check this folder"-setting for a large number of folders so I'm trying to figure how Thunderbird stores the setting(s) of which folders to always check for new mail.

Checking the `global-messages-db.sqlite` it seems like all folders that have the "always check folder"-setting have a `indexingPriority` value of 30 in the `folderLocations` table, but simply setting it to 30 for other folders does not enable the "always check folder"-setting so I guess that is set elsewhere. Where?

Also what other settings are set for the folder when enabling "When getting messages for this account, always check this folder" ?

Thanks in advance /frax

Hi, I'm trying to automate / batch set the "When getting messages for this account, always check this folder"-setting for a large number of folders so I'm trying to figure how Thunderbird stores the setting(s) of which folders to always check for new mail. Checking the `global-messages-db.sqlite` it seems like all folders that have the "always check folder"-setting have a `indexingPriority` value of 30 in the `folderLocations` table, but simply setting it to 30 for other folders does not enable the "always check folder"-setting so I guess that is set elsewhere. Where? Also what other settings are set for the folder when enabling "When getting messages for this account, always check this folder" ? Thanks in advance /frax

모든 댓글 (6)

more options

- highlight a desired folder - rightclick and select 'properties' - put a tickmark on the entry to check mail for this folder.

도움이 되셨습니까?

more options

Yes, yes, thanks for your answer, but that's how to do it via the GUI that won't help me do what I want.

What I'm asking is how that setting is stored. In which files / databases with folder-name / folder-path or maybe with the `folderLocations` table `id` in the db for the folder (in case all folders are listed in one setting) or in some file with the value for each folder or in the DB somewhere I missed it. That would allow me to automate the setup of hundreds folders to get this value (for hundreds of folder among many hundreds of folders that should not be always checked so the "check all" option is no alternative).

글쓴이 frax 수정일시

도움이 되셨습니까?

more options

I've never had that question before. To my knowledge, all settings are either in prefs.js for accounts, and the individual msf files for folders. A developer could give you specifics, but this forum is staffed by volunteers to assist in using the GUI. Mayble, someone else here may have the detailed info you're requesting.

도움이 되셨습니까?

more options

ok, thx, I'll dig deeper in the msf-files then ... couldn't really find it there when looked before ... and wait for somebody that might know finds this post :-)

도움이 되셨습니까?

more options

checking the msf files for several folders turning on and off the the "always check" box in the GUI I see these attributes being changed:

(9E=ns:msg:db:row:scope:dbfolderinfo:all) (85=recipients) (86=date) (88=flags) (B0=indexingPriority)

The ID (9E, 85, 86, 88 & B0) varies from folder to folder but the name of the attributes are always the same ...

It looks like the date flag ( [1:^9E(^88^86)] below ) is turned on when enabling the "always check" as well as setting indexingPriority to 30 ( [1:^9E(^B0=30)] below ) something I saw in the global-messages-db.sqlite folderLocations table as well.

Turning it off again the recipients flag is set and the indexingPriority is set to 20.

I'll dig some more and see if I can use this to automate it the way I want :-)

--- a.msf - Always check folder ---

@$${12{@ [1:^9E(^88^86)] @$$}12}@

@$${13{@ [1:^9E(^B0=30)] @$$}13}@

--- a.msf - Don't always check folder --- @$${16{@ [1:^9E(^88^85)] @$$}16}@

@$${17{@ [1:^9E(^B0=20)] @$$}17}@

도움이 되셨습니까?

more options

seems like the only consistent change in the .msf is setting the indexingPriority (the setting of the other attribute was just coincidental)... so now some testing setting that manually in the DB and in the msf

도움이 되셨습니까?

질문하기

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.