From owner-freebsd-questions@freebsd.org Tue Aug 27 05:22:25 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 47905CA5F7 for ; Tue, 27 Aug 2019 05:22:25 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (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 46Hch02zvGz4PjC for ; Tue, 27 Aug 2019 05:22:24 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: by mail-pl1-x629.google.com with SMTP id 4so11166690pld.10 for ; Mon, 26 Aug 2019 22:22:24 -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-transfer-encoding:content-language; bh=MB3wC/lzo1C1e06C0wwry+gNYlJZJRhI+wUXFRLZh2k=; b=p70OA/GvpaoxVcTUr+5LIofgZK8PK+vSV+TdT92SdsgwsUQYmytRO/CpJKUPxmom63 YctDHXMZxO6nadGNRLQvuR2YIGyyk8TYi791979YvpULvF85q3l8bUINccwZAtjS6FVf Oo8cR5N4ySHi6A74sbi+C8TCD29JgtE/miNY8QdhIM30te4z9gFpLmMYaNwC8y/yJn/c WcaVYQ17/AYmk2aM9CdC5cVxbv/wQALywmNdOzww1AXWPCtVU3zqdu0zwFu3r0O2ICcx 8fI8C2+NShBBX92KK88a7/LMUvDjAmgB6bjxwWF7+2ni3t2qhkeGvIBBKjxFDn2P2kW8 mBDg== 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-transfer-encoding :content-language; bh=MB3wC/lzo1C1e06C0wwry+gNYlJZJRhI+wUXFRLZh2k=; b=TWQ85yEZhDIzoGFObyNwNSUvbJpX0rqAKDpa+hmVj8r2rPuSweHT/wuTMviPtQW0dA E7xx01Mnra97MKPRWkMQcHTEkVyUAADKQTbqSYkMMn2nC3sHnZ0RWUR94PbQ+YUVYfwI OcDNtVxV9vGABjRjlYaTZu7JKbjMOvs5gfon+7s3Mr3AlAGq0vbTyWdGyXFPmTF4x/0v QVQ979wUV4W8qHEMdGIfKWTasa2z7yXxd0EZ6mJAy7M82F1l92Bkc/xaVMOgOiJ0F35d 79JNyANmbB1Ns9yTv8K4Qzffss/N8BUbV3YB8nBZpFtGMF8AOVWIU84bwf1Hhb1np1f8 a8yQ== X-Gm-Message-State: APjAAAWEZ6rk2LT4sl++Sg7NVc8W5DC3lK5TEh460hd/DluRuSOMUZ4m blL3AVRFCI9p4HVhwMu0VSDSMkGR X-Google-Smtp-Source: APXvYqw+xtiZEetAd2ZNo+V0mgNElxf9Sk7ZhegpIbYD+GbIr8rsz/xRXL3H+Dkd7TPK1jA5Oap5Kw== X-Received: by 2002:a17:902:8d8d:: with SMTP id v13mr22436155plo.137.1566883342628; Mon, 26 Aug 2019 22:22:22 -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 d11sm14912785pfh.59.2019.08.26.22.22.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Aug 2019 22:22:22 -0700 (PDT) Subject: Re: openwebmail broke with latest update To: William Dudley Cc: freebsd-questions References: From: MJ Message-ID: <8f4b383d-5c50-1f52-c6d0-95ff8e63ea66@gmail.com> Date: Tue, 27 Aug 2019 15:21:46 +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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 46Hch02zvGz4PjC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=p70OA/Gv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mafsys1234@gmail.com designates 2607:f8b0:4864:20::629 as permitted sender) smtp.mailfrom=mafsys1234@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; 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)[]; 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)[9.2.6.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: (-9.14), 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 05:22:25 -0000 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