Guest10 wrote:Questions, more than help...
"OpenFilePath=<gpg_programs>,%AppData%\Thunderbird"
You call this "portable" Thunderbird. Or, is it really just normal TB that's been set up so that multiple users each have their own profile?
I have set up TB Portable in this way for multiple users:
http://forums.sandboxie.com/phpBB3/view ... =5&t=19374
and confirm that this is indeed the portable version from Portable Apps
http://portableapps.com/apps/internet/t ... d_portable .
Guest10 wrote:
The above setting should specify the folder containing the "profiles.ini" file and the "Profiles" folder. Are those items really located underneath "%AppData%\Thunderbird" for each user?
No, they are located in various completely separate folders trees, each with their own TB portable instance root folder and each with their own e.g. tbportableUser1.exe in respective subfolders.
Code: Select all
[Template_Local_ThunderbirdUser1]
Tmpl.Title=ThunderbirdUser1
OpenFilePath=thunderbirdUser1.exe,%Tmpl.ThunderbirdUser1t%
Tmpl.Class=Local
So "OpenFilePath=<gpg_programs>,%AppData%\Thunderbird" would become "OpenFilePath=<gpg_programs>,%Tmpl.ThunderbirdUser1%" like below?
Code: Select all
[Template_Local_Thunderbird_PGP_User1]
Tmpl.Title=OpenPGP for Thunderbird Portable User1
OpenFilePath=<gpg_programs>,%AppData%\gnupg\
OpenFilePath=<gpg_programs>,%Tmpl.ThunderbirdUser1%
OpenFilePath=thunde~1.exe,%AppData%\gnupg
OpenFilePath=thunderbirduser.exe,%AppData%\gnupg
ProcessGroup=<gpg_programs>,gpg.exe,gpg2.exe,gpg-agent.exe
LingerProcess=gpg-agent.exe
Tmpl.Class=Local
Guest10 wrote:
I know that each user would have their own %AppData% folder, but I seem to recall that in a different forum thread you used Sandbox Settings > Applications > Folders to define the location of the Thunderbird profile folder for each user.
Yes, I have done this since they are in different root folders and defined the folders for each instance like so:
Code: Select all
[Template_Local_ThunderbirdUser1]
Tmpl.Title=ThunderbirdUser1
OpenFilePath=thunderbirdUser1.exe,%Tmpl.ThunderbirdUser1t%
Tmpl.Class=Local
Guest10 wrote:
Using the "Folders" setting would define the location for the profile folder under a [TemplateSettings] section in Sandboxie's configuration file.
Yes in the SBIE config file I have:
Code: Select all
[TemplateSettings]
Tmpl.ThunderbirdUser1.user=D:\SOFTWARE\THUNDERBIRD PORTABLE User1\NORMAL\Data\profile
Tmpl.ThunderbirdUser2.user=D:\SOFTWARE\THUNDERBIRD PORTABLE User2\NORMAL\Data\profile
Tmpl.ThunderbirdUser3.user=D:\SOFTWARE\THUNDERBIRD PORTABLE User3\NORMAL\Data\profile
etc.
Guest10 wrote:
"OpenFilePath=<gpg_programs>,%Tmpl.Thunderbird_User_PGP%"
Is the variable called "%Tmpl.Thunderbird_User_PGP%" defined anywhere in Sandboxie's configuration file?
Yes, I think this I have done by doing this:
Code: Select all
[Template_Local_Thunderbird_PGP_User1]
Tmpl.Title=OpenPGP for Thunderbird Portable User1
OpenFilePath=<gpg_programs>,%AppData%\gnupg\
OpenFilePath=<gpg_programs>,%Tmpl.ThunderbirdUser1%
OpenFilePath=thunde~1.exe,%AppData%\gnupg
OpenFilePath=thunderbirduser.exe,%AppData%\gnupg
ProcessGroup=<gpg_programs>,gpg.exe,gpg2.exe,gpg-agent.exe
LingerProcess=gpg-agent.exe
Tmpl.Class=Local
Guest10 wrote:
Normally, a user created variable would need to be defined in the [TemplateSettings] section of the sandboxie.ini config file, such as the one that I think you defined for the profile folder location. And besides, shouldn't this setting point to TB's profile folder location as you have already defined it?
So what do I need to define where and what leads to where please?
At this point I am lost and find it hard to see what is going where.
I think I have defined things like above, now TB portable opens but does not throw any error messages any more, though Enigmail does not work, without throwing me error messages.
In the Folders section, do I need to define the folder for OpenPGP as well as for the local TB portable location? I think not, since I have already defined the TB portable location there in a Template so in the OpenPGP definition I simply write
Code: Select all
OpenFilePath=<gpg_programs>,%Tmpl.ThunderbirdUser1%
and that should point OpenPGP to the local Tb portable, no?
See the SBIE ini excerpt for User1 and User2 and if possible let me know where I need to define what for User1 to be able to run OpenPGP.
Code: Select all
[TemplateSettings]
Tmpl.ThunderbirdUser1.user=D:\SOFTWARE\THUNDERBIRD PORTABLE User1\NORMAL\Data\profile
Tmpl.ThunderbirdUser2.user=D:\SOFTWARE\THUNDERBIRD PORTABLE User2\NORMAL\Data\profile
[ThunderbirdUser1]
Enabled=y
ConfigLevel=7
Template=Local_Thunderbird_PGP_User1
Template=Local_ThunderbirdUser1
Template=AutoRecoverIgnore
Template=Firefox_Phishing_DirectAccess
Template=Chrome_Phishing_DirectAccess
Template=LingerPrograms
Template=BlockPorts
BorderColor=#FF0080
NeverDelete=n
DropAdminRights=y
NotifyStartRunAccessDenied=y
ProcessGroup=<StartRunAccess>,<ThunderbirdUser1>,SumatraPDF.exe,gpg.exe,gpg2.exe,gpg-agent.exe
ProcessGroup=<ThunderbirdUser1>,thunderbirdportableUser1.exe,thunderbirdUser1.exe
ProcessGroup=<InternetAccess>,<ThunderbirdUser1>
ClosedFilePath=!<InternetAccess>,InternetAccessDevices
ClosedFilePath=\Device\Mup\
NotifyInternetAccessDenied=n
BoxNameTitle=n
AutoDelete=y
ForceProcess=<ThunderbirdUser1>
ReadFilePath=C:\Windows\
RecoverFolder=D:\DOWNLOADS
AutoRecover=y
ClosedIpcPath=!<StartRunAccess>,*
[Template_Local_ThunderbirdUser1]
Tmpl.Title=ThunderbirdUser1
OpenFilePath=thunderbirdUser1.exe,%Tmpl.ThunderbirdUser1%
Tmpl.Class=Local
[ThunderbirdUser2]
Enabled=y
ConfigLevel=7
Template=Local_ThunderbirdUser2
Template=BlockPorts
Template=LingerPrograms
Template=Chrome_Phishing_DirectAccess
Template=Firefox_Phishing_DirectAccess
Template=AutoRecoverIgnore
BorderColor=#408000
NeverDelete=n
DropAdminRights=y
NotifyStartRunAccessDenied=y
ProcessGroup=<StartRunAccess>,<ThunderbirdUser2>,SumatraPDF.exe
ProcessGroup=<InternetAccess>,<ThunderbirdUser2>
ProcessGroup=<ThunderbirdUser2>,thunderbirdportableUser2.exe,thunderbirdUser2.exe
ClosedFilePath=!<InternetAccess>,InternetAccessDevices
ClosedFilePath=\Device\Mup\
NotifyInternetAccessDenied=n
BoxNameTitle=n
AutoDelete=y
ForceProcess=<ThunderbirdUser2>
CopyLimitKb=473304
ReadFilePath=C:\Windows\
RecoverFolder=D:\DOWNLOADS
AutoRecover=y
ClosedIpcPath=!<StartRunAccess>,*
[Template_Local_ThunderbirdUser2]
Tmpl.Title=ThunderbirdUser2
OpenFilePath=thunderbirdUser2.exe,%Tmpl.ThunderbirdUser2%
Tmpl.Class=Local