From owner-freebsd-questions@freebsd.org Tue Aug 27 03:43:52 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 C6C40C7BA8 for ; Tue, 27 Aug 2019 03:43:52 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (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 46HZVJ027Sz4HsG for ; Tue, 27 Aug 2019 03:43:51 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: by mail-io1-xd31.google.com with SMTP id p12so42979452iog.5 for ; Mon, 26 Aug 2019 20:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XXZkElCYYlreC/58Q+gjLHH7pIBYkdndAEExVHMXV7s=; b=L/ikVrbXb9KLupHSPBuBehWx70V/6cZb9gxOzykKvJAgNCIW6IHkO2OJOibQ7ucDWT kn7dwELTBYsRL630+rDBoCSkhPyYx4EHhsztI6SHn6BXnzcP7N07DQUz4UI45ZcEXPXS ezIKc+4pGmxUQdRt0XGk7joy4jriERU6au67r81P4njoWW+3PxF5xMHh5oc0U2jtIqZK XlMdhnxWKuXXRuc0loIE+YaXEgjDz6qTwZTaex7MOMRKDhGigce2fodd26k0M5cwusNv aK2EgtQ7ESxjjxx9MTHIUHsVmBBhvOXT5wvPYZuC3kSzKzwlXcjauIQ1Qnc1UXHgAAYu KefA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XXZkElCYYlreC/58Q+gjLHH7pIBYkdndAEExVHMXV7s=; b=FVgfEAlX2fucyRS3OmRwk/LnQFBPDmIwjjTwBYZvEWP0hu4P/+Z0MlgiGzGp/X/bDU OVVCh3ZA2lTorCzheUJoot6pYJB71h+w9sAvzznZTZSvsy9ngatOqvxsOmy8ZYH2hIZH 7xTbJhrvubu9y2v8BKSEA1K8VcoDZbEiP9Ibgk911tSJNfYAQ9d2Kdi4bHDCU4WljuKg XuPG3ghHV0RbzPGz/CAH3OeaWVE4wogF6YOOll6H/2HCL2ohL51S1ugS+nEzyA8gNFLo 1pbDXcdEc1pDm5jFdBgh5qYQGCmSWqweHOtt8H1oRw2QV5D58d4mGFfYojHhW4e6IgB4 B66Q== X-Gm-Message-State: APjAAAXcpUPTyVZlyTc48tOzUWnF+tCE8kD3E4ppkx8VGEv7IkWYXP1Z 2wmaKkdFh8zbkkhBH1wEo0qQGuvII8tozf6Ox3s= X-Google-Smtp-Source: APXvYqxZyzIG4rK3OpRRZvn3eLv74wErO6ENNM/aRNJkvw0hIOIROyo3Duzk+fqZnAWELGtsT8V/zTrTvIo6HiW7oMg= X-Received: by 2002:a5d:88ce:: with SMTP id i14mr3576085iol.307.1566877430651; Mon, 26 Aug 2019 20:43:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: William Dudley Date: Mon, 26 Aug 2019 23:43:39 -0400 Message-ID: Subject: Re: openwebmail broke with latest update To: MJ Cc: freebsd-questions X-Rspamd-Queue-Id: 46HZVJ027Sz4HsG X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=L/ikVrbX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of wfdudley@gmail.com designates 2607:f8b0:4864:20::d31 as permitted sender) smtp.mailfrom=wfdudley@gmail.com X-Spamd-Result: default: False [-2.99 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; URI_COUNT_ODD(1.00)[5]; 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.995,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-5.34), ipnet: 2607:f8b0::/32(-2.86), asn: 15169(-2.33), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; 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)[multipart/alternative,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)[1.3.d.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]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 03:43:52 -0000 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. > > 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) > > Anyway, installed perl, apache and openwebmail. After a bit of torture > with apache (I'm a lighttpd/nginx person I should've installed that - I > just assumed you're running that, sorry) I got things working. > Yes, I use apache24, so that's the same. > > So, it's not the packages, it's a file. Perhaps check in > /usr/local/www/cgi-bin/openwebmail if all the .files in there for the perl > scripts have the correct permissions (these don't need the 's' sticky bit > though, that's the domain of the C wrapper called openwebmail.pl). In my > config they're all 755. > 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 > > Regards, > > Mark. > >