Closed Bug 117326 Opened 24 years ago Closed 15 years ago

filters in rules.dat not interoperable across linux and windows platforms

Categories

(MailNews Core :: Filters, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME
Future

People

(Reporter: vincent.letocart, Unassigned)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7) Gecko/20011221 BuildID: 20011221 The file containing the filters can not be read (for what I tested) by the Windows (2000) version _AND_ by the Linux version (PC). If you try to share the same mail directory for the two binairies (mount the windows partition...), they interpret the rules differently, each one explaining that the given folders do not exist. Reproducible: Always Steps to Reproduce: 1. Be sure your have Windows and Linux on your computer 2. From Linux, mount the windows partition with the correct uid (-o uid=1922, for instance) 3. Configure Mozilla : change the following directories in the settings Mails and newsgroup Account Settings .Server Settings : "Local Directory" field .Local Folders : "Local Directory" field Put in these fields the path to the Windows directory containing the mails 4. Generate a mail that has to be filtered 5. Check this mail and answer ok to the message that shows the error [...] 6. Correct your filter 7. Reboot your machine with Windows 8. Generate a mail that has to be filtered 9. Check this mail and answer ok to the message that shows the error 10. Correct the filter 11. Repeat the linux step 12. And so on... Actual Results: 1. The mail client shows an error message while filtering the mail and puts a message on the screen, explaining he can not find the right folder. 2. The filter file (rules.dat) has change the Carriage Returns from DOS to Unix or from Unix to DOS, following the case. (I suppose it can still vary on a Macintosh) Expected Results: Mozilla should correctly filter the incoming mail, without depending on the syntax of the CR in the rules file. Consequence : One can not trivially copy rules to an other platform (even simply copy the file).
Status: UNCONFIRMED → NEW
Ever confirmed: true
This is a duplicate, I believe... will looke for existing bug report(s).
Status: NEW → ASSIGNED
Target Milestone: --- → Future
I haven't seen this happen after 1.0rc3 any more. However when sharing a rules file between Linux and Window the rules seem not to work under either OS. I used some special characters (to filter asian spam) in the rules like: delete if subject contains "±¤¡¡°í"
I still have this problem using win98, win2k (mozilla 1.1 build 20020826) and linux (mozilla 1.01 build 20020828). When I set the the folders to filter the mail into on one OS the other OS's complain they can't find the folders, even though I can drag the mail into a folder and can reset the filter rules.
mass re-assign.
Assignee: naving → sspitzer
Status: ASSIGNED → NEW
Product: MailNews → Core
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
cc: Karsten to test linux + windows shared profile (note, I didn't have time to look for dupe bugs) David, Karsten, is there a keyword or status whiteboard term to identify "interop" issues of this sort?
Severity: trivial → normal
QA Contact: laurel → filters
Summary: filters in rules.dat not exportable across platforms → filters in rules.dat not interoperable across linux and windows platforms
I think the SeaMonkey folks have some way of indicating that they're interested in a Thunderbird fix/patch, but I don't think there's a two-way interop-equivalency thing (though looking at bugs with Serge's patches might prove me wrong :-) )
my interop keyword question is about OSes, not TB visa vi suite
you mean sharing profiles between OS's and apps? It's not something we really support all that well because it turns out to be a can of worms.
I cannot confirm the reported problems, at least in my test environment: - Linux Kubuntu 7.10 with ext3 HD; plus SeaMonkey 1.1.7 - FAT32 HD, taken from a Windows computer: # /dev/hdcx -- converted during upgrade to edgy UUID=xxxx-xxxx /e vfat uid=xxxx,gid=xxx,auto,rw,nouser 0 0 - Windows XP, running in a Linux VMPlayer, using the FAT32 HD above to boot; plus SeaMonkey 1.1.7 I specified a filter under Windows, moving incoming POP3 messages into Local Folders. Running the same filter file under Linux just worked as expected, moving the incoming mail into the file on the Windows HD. Stephen, Letocart: Do you still see this problem?
Product: Core → MailNews Core
anthony, possible for you to test?
This also WFM in my environment; in lieu of anyone having said that this doesn't work, this is WFM.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
>> Stephen, Letocart: Do you still see this problem? Hi Karsten Sorry to answer so lately, 1219 days after your post :). In the meantime two things happened: Firstly I switched to another e-mail client (mutt), and secondly I completely dropped windows. This second point explains why I cannot reproduce the bug (for so far he is still there). Vincent.
You need to log in before you can comment on or make changes to this bug.