Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 496E6200ACA for ; Thu, 9 Jun 2016 22:54:40 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 48192160A58; Thu, 9 Jun 2016 20:54:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8E649160A29 for ; Thu, 9 Jun 2016 22:54:39 +0200 (CEST) Received: (qmail 69267 invoked by uid 500); 9 Jun 2016 20:54:33 -0000 Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@spamassassin.apache.org Received: (qmail 69257 invoked by uid 99); 9 Jun 2016 20:54:33 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2016 20:54:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id DA30BC0E1A for ; Thu, 9 Jun 2016 20:54:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.448 X-Spam-Level: * X-Spam-Status: No, score=1.448 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id FvyAaOk5xdAb for ; Thu, 9 Jun 2016 20:54:31 +0000 (UTC) Received: from mail-vk0-f48.google.com (mail-vk0-f48.google.com [209.85.213.48]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id C9E5E5F1BE for ; Thu, 9 Jun 2016 20:54:30 +0000 (UTC) Received: by mail-vk0-f48.google.com with SMTP id d64so72154875vkb.0 for ; Thu, 09 Jun 2016 13:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=aKyXr6dSW2BR24X33uJlKZq8+qxwhTQvhyVFU7VHePU=; b=Q/LKsshihaKplm021VSZ/i9tkivGrO1soJxMH8yu4h0tQLSsIDlMnkr7sTtqdwqC4+ W6WEpb4VEifLT8LxfCQUYDqjuL1u8n1VrRDct0vr39ihyv/ZomH65jRqQkiZ1or5c+y9 vP6P0N0PL/3pFDGtDokeFaOKKAm8CEqI9rUCIthhGGpGGyzVDsdJrVFDDsoJV3uB+xQs o1WaDaxMh2QvWy78bWG7EtNu5O88kGgUMjmi+YcjRxn02Bu1kg4hqDK3NiShTFk7SA33 rWGCJwBD2O/5+r43DcHIV29d79mGV16lNicxcumHDpOuai/xwUxdiWhDwzjOpRbBRSKS BUOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=aKyXr6dSW2BR24X33uJlKZq8+qxwhTQvhyVFU7VHePU=; b=dhPWiAG9f+2QuA0msAQOGVzFtHLXGDFkRoeokFCDNRcAG4K5SWFMRVaCnR5XyLrKS7 zOPUvJBTHIMtpRigGetdOne0VBrh3tSyPC8KQ9bXcmQvXXz+sHvqh83M7MivyzOANldh zB+rACRtsqilFTXHihU13CPNKxuhMen1ZQ7dOtLt8TP0qaii/QPvphqiEjng6K9NnquM K64g+mjUGcJ4ouDrWewzsoXoF9nD9ZQ/Bva+9jwG1g6fEArjtQPDm8WR4+C6qzzAPRu7 dCj4lSeEufFbb8cmFnLbENa1GNSThGMmjlu5gX83D8UCkV+rPtUhsYGfxI3ZGwY6QTTm Crcg== X-Gm-Message-State: ALyK8tJfsvt6pJNgvBr433/gkVDTKcriyXj+pzKDGXpg5BMmU7J5gJH8gI7dyvqWRi3zqmEyFxrBqxRyzRGWsA== X-Received: by 10.31.14.145 with SMTP id 139mr4688470vko.137.1465505669965; Thu, 09 Jun 2016 13:54:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.106.66 with HTTP; Thu, 9 Jun 2016 13:54:10 -0700 (PDT) In-Reply-To: <1617239.5iJZY6mrFE@skynet.simkin.ca> References: <1617239.5iJZY6mrFE@skynet.simkin.ca> From: Yu Qian Date: Thu, 9 Jun 2016 16:54:10 -0400 Message-ID: Subject: Re: SA bayes file db permission issue To: Alan Hodgson Cc: users@spamassassin.apache.org Content-Type: multipart/alternative; boundary=001a11457312dfef6b0534dea0e2 archived-at: Thu, 09 Jun 2016 20:54:40 -0000 --001a11457312dfef6b0534dea0e2 Content-Type: text/plain; charset=UTF-8 Ok, I found out. so the db files generated on Mac can not be used on Linux. vice versa. I think this is related to the way how perl DBM module processing the db files on different system. I am totally new to perl. But it's good to know that. thanks all. --- Yu Qian Ottawa Ontario Phone: (514)-553-0198 On Thu, Jun 9, 2016 at 4:38 PM, Alan Hodgson wrote: > On Thursday 09 June 2016 16:26:26 Yu Qian wrote: > > Yes, I am sure the path is correct, also, if the path is not correct, it > > will show 'db not present'. > > > > I tried to write a small perl script to open the db file, it failed too. > so > > I think it maybe the file damaged during the mounting. but I don't know > why > > this can happen > > > > The docker container probably has a different DB version than your Mac. > > --001a11457312dfef6b0534dea0e2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ok, I found out. so the db files generated on Mac can not = be used on Linux. vice versa.

I think this is related to= the way how perl DBM module processing the db files on different system. I= am totally new to perl.

But it's good to know= that. thanks all.

=
---
Yu Qian
Ottawa Ontario
Phone: (514)-553-0198



On Thu, Jun 9, 2016 at 4:38 PM, Alan Hodgson= <ahodgson@lists.simkin.ca> wrote:
On Thursday 09 June 2016 16:26:26 Yu Qia= n wrote:
> Yes, I am sure the path is correct, also, if the path is not correct, = it
> will show 'db not present'.
>
> I tried to write a small perl script to open the db file, it failed to= o. so
> I think it maybe the file damaged during the mounting. but I don't= know why
> this can happen
>

The docker container probably has a different DB version than your M= ac.


--001a11457312dfef6b0534dea0e2--