I'm running Samba 4 and I've created a share on a member server to hold the message files for the Thunderbird email client. Over time I seem to get corruption of the message files to the point where the folder file needs to be reconstructed outside of Thunderbird. In other cases, the file corruption in combination with folder compaction results in deletion of the messages in the folder. This doesn't appear to happen if the message file are stored locally. I'm starting to suspect something with how Thunderbird and Samba are interacting with respect to handling the files. Any ideas? -- Marco
On 01/08/2019 15:27, Marco Shmerykowsky PE via samba wrote:> I'm running Samba 4 and I've created a share on a > member server to hold the message files for the > Thunderbird email client. > > Over time I seem to get corruption of the message > files to the point where the folder file needs > to be reconstructed outside of Thunderbird. > > In other cases, the file corruption in combination > with folder compaction results in deletion of > the messages in the folder. > > This doesn't appear to happen if the message file > are stored locally.? I'm starting to suspect something > with how Thunderbird and Samba are interacting with > respect to handling the files. > > Any ideas? >No, mainly through lack of information. I know you are using Samba, but what version ? On what OS ? What is in your smb.conf ? How are you connecting Thunderbird to Samba ? Rowland
On 8/1/19 10:51 AM, Rowland penny via samba wrote:> On 01/08/2019 15:27, Marco Shmerykowsky PE via samba wrote: >> I'm running Samba 4 and I've created a share on a >> member server to hold the message files for the >> Thunderbird email client. >> >> Over time I seem to get corruption of the message >> files to the point where the folder file needs >> to be reconstructed outside of Thunderbird. >> >> In other cases, the file corruption in combination >> with folder compaction results in deletion of >> the messages in the folder. >> >> This doesn't appear to happen if the message file >> are stored locally.? I'm starting to suspect something >> with how Thunderbird and Samba are interacting with >> respect to handling the files. >> >> Any ideas? >> > No, mainly through lack of information. > > I know you are using Samba, but what version ? On what OS ? What is in > your smb.conf ? > > How are you connecting Thunderbird to Samba ? > > Rowland > > >Presumably samba is NOT the mail server ?????? Assuming your mail server is using IMAP4 (not POP3) then there isn't any reason NOT to use local drive for thunderbird data.
The email server is hosted outside the office. In Thunderbird, under Options->Server Settings there is an option under "Message Storage" to save the message mbox files to a "Local Directory". Rather than saving on the local drive of a given PC, a user's message files are saved to a samba share on the network. That shared drive is on a server which is configured in a RAID setup and has various files being routinely backed up. FWIW, this seemed to also occur on a Samba 3 setup running on Centos. I'm wondering if it's a related to some kind of file access issue. Requested info: Samba Version 4.9.4-Debian Samba Server Linux Debian GNU/Linux 9 (stretch) Client: Windows 10, Thunderbird 60.8.0 smb.conf: [global] workgroup = INTERNAL security = ADS realm = INTERNAL.SCE-ENGINEERS.COM server string = Samba 4 Client %h winbind use default domain = yes winbind expand groups = 2 winbind refresh tickets = yes ## maps ids outside of domain to tdb files idmap config *:backend = tdb idmap config *:range = 2000-9999 ## maps ids from the domain (The ranges may not overlap) idmap config INTERNAL : backend = rid idmap config INTERNAL : range = 10000-999999 # uncomment next line to allow login # template shell = /bin/bash template homedir = /server/users/%U domain master = no local master = no preferred master = no # User Administrator workaround username map = /etc/samba/user.map # For ACL support on Domain Member vfs objects = acl_xattr map acl inherit = yes store dos attributes = yes # Disable printing completely # remove these lines to print load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes # logging log level = 0 [share-files] path = /server/share-files read only = no [users] path = /server/users read only = no -- Marco On 8/1/2019 10:51 AM, Rowland penny via samba wrote:> On 01/08/2019 15:27, Marco Shmerykowsky PE via samba wrote: >> I'm running Samba 4 and I've created a share on a >> member server to hold the message files for the >> Thunderbird email client. >> >> Over time I seem to get corruption of the message >> files to the point where the folder file needs >> to be reconstructed outside of Thunderbird. >> >> In other cases, the file corruption in combination >> with folder compaction results in deletion of >> the messages in the folder. >> >> This doesn't appear to happen if the message file >> are stored locally.? I'm starting to suspect something >> with how Thunderbird and Samba are interacting with >> respect to handling the files. >> >> Any ideas? >> > No, mainly through lack of information. > > I know you are using Samba, but what version ? On what OS ? What is in > your smb.conf ? > > How are you connecting Thunderbird to Samba ? > > Rowland > > >
Mandi! Marco Shmerykowsky PE via samba In chel di` si favelave...> This doesn't appear to happen if the message file > are stored locally. I'm starting to suspect something > with how Thunderbird and Samba are interacting with > respect to handling the files.I doubt is a Samba bug, but anyway look also at: https://bugzilla.mozilla.org/show_bug.cgi?id=462156 -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bont?, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
I'm spitballing here, but I've previously had problems with RESTORING Thunderbird Profiles (couldn't read all of the mbox/msf) that were generally resolved by resetting the ACL's on the relevant directories. In particular, I believe the SYSTEM needed Full Control, not just Read/Execute. Perhaps the fileshare needs to be writable to Domain Computers as well? Kris Lou klou at themusiclink.net On Fri, Aug 2, 2019 at 1:08 AM Marco Gaiarin via samba < samba at lists.samba.org> wrote:> Mandi! Marco Shmerykowsky PE via samba > In chel di` si favelave... > > > This doesn't appear to happen if the message file > > are stored locally. I'm starting to suspect something > > with how Thunderbird and Samba are interacting with > > respect to handling the files. > > I doubt is a Samba bug, but anyway look also at: > > https://bugzilla.mozilla.org/show_bug.cgi?id=462156 > > -- > dott. Marco Gaiarin GNUPG Key ID: > 240A3D66 > Associazione ``La Nostra Famiglia'' > http://www.lanostrafamiglia.it/ > Polo FVG - Via della Bont?, 7 - 33078 - San Vito al Tagliamento > (PN) > marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f > +39-0434-842797 > > Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! > http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 > (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >