From owner-freebsd-questions@freebsd.org Tue Aug 27 06:02:49 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 38F5CCB968 for ; Tue, 27 Aug 2019 06:02:49 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46HdZc1BClz4RyF for ; Tue, 27 Aug 2019 06:02:47 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: by mail-pg1-x52a.google.com with SMTP id d1so12020375pgp.4 for ; Mon, 26 Aug 2019 23:02:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=V3MESOea7UnTWj3ux1VGIDQFD2fFg1BqUyHBfxStMuU=; b=VWVP59UvcAZltiHujP/NlLgOnbJq3Xi0aRqhSOe6enlr2Td1P6Td6H1WhNH6HzO34Z SGvjVH6jGRwCjLlwF3EBmhM5J/zt5h8vszpgQCrcGPnPS1IzpDTtDxOjY7KgOG17Is0H Y7YKnMGPcDGHbgW2hcBNY1Sk+4PKLUJ9zBivwc+f/xUmZGfkVvWdxEJ74x5yHRsMBye/ hMcdgMS0Wk1b8MMJRBWdjx5ztQmzZJISgcIxZZzPJf1IrG9VyKdq+qy/vqDEABEJM6Id XtbU2d5azQbw0WiuwDGsXwnwwf2qKn4hPhBZgvp0a9o4F8hg70NHnbfopo5bRBtbrhnX ujgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=V3MESOea7UnTWj3ux1VGIDQFD2fFg1BqUyHBfxStMuU=; b=gAX3fbjRslBZNcU/zIANdfLiRGV4MMkSFhOcDfl1RBMB6ZNhDbJjSZlbzemkzpUHIn tQNQlUy9SFNXCfC/x4Nfq5SInRvqVqZNh30lqgAayYVdcf82HaFvxxetrl3rl2BZ3W8r bME3SEWI6FhR9yi3GJ6ZAltxA0Rje/OCKubzW8VAiUrQOph6pyxXlFfWhzBL6tG84UUZ zZjNjxs6P4G52AaPgk5NdZ+364JQlckQWxpoZde8Rjr5/M0bRu+6Nsjcvgbbkxn6+GeB TtSeaVnyoy3rxUYiJ5rCPVMY0LZ7H1mEW5aBNUObgPFXkdKgoiVuMSnW+OCZa1S81/Fz AVJg== X-Gm-Message-State: APjAAAVeFLLcuU2ehBm33MISFEStTq+8bS/DUeyAi+LUSrIawWySIZJ/ Wk+K5E7WUPOShQcaJHmy7ZImrKgC2Yk= X-Google-Smtp-Source: APXvYqxIKQHQ/qEWu0d1OVN/bJ7A+oKrVjPJzaZoQuxodwQYvBoO93v4FgNzGG3a/wi5Ql7jzhcCRQ== X-Received: by 2002:a63:dd16:: with SMTP id t22mr19844261pgg.140.1566885765648; Mon, 26 Aug 2019 23:02:45 -0700 (PDT) Received: from [192.168.1.10] (C-59-101-129-12.mel.connect.net.au. [59.101.129.12]) by smtp.gmail.com with ESMTPSA id r12sm19300071pgb.73.2019.08.26.23.02.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Aug 2019 23:02:42 -0700 (PDT) Subject: Re: openwebmail broke with latest update To: MJ , William Dudley Cc: freebsd-questions References: <8f4b383d-5c50-1f52-c6d0-95ff8e63ea66@gmail.com> From: MJ Message-ID: <428030f8-4b77-0f48-0c29-2ac3dc4cf965@gmail.com> Date: Tue, 27 Aug 2019 16:02:06 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <8f4b383d-5c50-1f52-c6d0-95ff8e63ea66@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 46HdZc1BClz4RyF X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=VWVP59Uv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mafsys1234@gmail.com designates 2607:f8b0:4864:20::52a as permitted sender) smtp.mailfrom=mafsys1234@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.996,0]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[12.129.101.59.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[a.2.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-8.92), ipnet: 2607:f8b0::/32(-2.86), asn: 15169(-2.33), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2019 06:02:49 -0000 Oops, not too clear. When I said I think it's in another location, I meant the error message is in at least two files, one being the openwebmail.pl script. I didn't bother looking in the other because it seemed logical that the problem is in the login() function of openwebmail.pl On 27/08/2019 3:21 pm, MJ wrote: > Hi Bill, > > > On 27/08/2019 1:43 pm, William Dudley wrote: >> MJ, >> >> Again, thanks for your time on this. >> My comments are interspersed below: >> >> On Mon, Aug 26, 2019 at 1:53 AM MJ wrote: >> >>> Hi Bill, >>> >>> On 26/08/2019 12:30 am, William Dudley wrote: >>>> Mark, >>>> >>>> Thanks for your suggestions. >>>> >>>> I left my debugging attempts out of my email to the list. >>>> >>>> I checked the permissions, and they are as they should be: 4755 for >>>> openwebmail.pl, owned by root:mail. >>> Can you run the openwebmail.pl script in the directory? >>> >> If you mean run it from the command line, yes, I can, it poops out the >> login screen. >> The bug occurs if I successfully login to openwebmail -- then I get the >> error message. > > Yes that's the one because it's the script that contains login() and sets group/user ids and ultimately fails (I think - because it's also in another location which I will check out later) > > >>> Look, curiosity took hold and I decided to install everything in a new VM, >>> :-) >>> >>> FreeBSD freebsd 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 >>> >>> (and that may be a problem, the version of bsd though I doubt it.) >>> >> I'm running 11.3, and I fear that the version of either Perl or openwebmail >> is different between 11.3 and 12.0, >> such that your test, while useful, may not have much bearing on my current >> situation.  At least, it suggests >> that, when I upgrade to 12.x, openwebmail may once again work. >> >> My pkg versions are: >> perl5-5.30.0 >> openwebmail-2.53_4 >> apache24-2.4.41  (though I very much doubt apache has anything to do with >> the error) > > The only difference is I'm running perl: perl5-5.28.2 > > Yes, all the files are present; openwebmail isn't failing to run, it's >> failing to do a change group. >> For fun, I just uninstalled and re-installed openwebmail, to make sure all >> files are present. There >> was no change in the failure mode; still fails to change group. >> >> Thanks, >> Bill Dudley > > You know, openwebmail produces a log in /var/log. I just checked mine and it has some handy information. > > Checking the code quickly, you might be able to enable more verbose debugging. First check your log. > > Regards, > > Mark > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >