From owner-freebsd-questions@freebsd.org Wed Jul 29 00:48:55 2020 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 C424C3788C6 for ; Wed, 29 Jul 2020 00:48:55 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BGZft0w1qz45GW for ; Wed, 29 Jul 2020 00:48:53 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 7ADD15C0138 for ; Tue, 28 Jul 2020 20:48:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 28 Jul 2020 20:48:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=dI3P9TBjdDk3G4RfK/GrEnxuOJX ombD7Ea+CRAjBcH8=; b=ToRJdkIu5imJjPt7YWMITLnU4Bc+VR+MlBH7hoJ+gyh KE0m29ulaysDvSwZyxKlXUG7OcEfLwdLXmcSKKdHHB6ewus/GDWAymv+mb1niKSL KC49CNGhlW49k6acaLCQVivr2K+7U6gbolud5CuQ7U/PmKgVm5fyLuwWLh9bfbxS UsPp+Vyid7f0lbrcgKNt/atqzl50ORL2DNeYhPLDwdd5hmST0r0mESSAlTe+Qib/ 52eEES8pQ5Tu/LZk0RBXDQlUA1JDZhjEKQV/QQo8uhsqZZDt3DteTTGNFWMzEWTV opUAnulfJvDxdR8+xTCck2KZyP3YRaBHRzCwBoCvrZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=dI3P9T BjdDk3G4RfK/GrEnxuOJXombD7Ea+CRAjBcH8=; b=aY8dGFcv+xvcbeaTQ8ZmJa xHp2gYQWpV58Px88yFfR3hLghMb8bUZRpa1bMycMt2gfrhhwshVwGJchs9zOrJgr mUyr1/a5CqcPCvAJewvrA/Haau3rANyA5q7LX/ArCrSNh2W/o7mFvTpqoctfYW6u 6KIwmot6wEYWCF4AaeKpww4swasRo0GuI2kCTgX2fhohUiAHVUhFfmjz/MZdeu63 1n4m60AVRPfA9OzISTwZ6Jj9kh2udMoF8ohyg84D7MIoGdBq9+THAfOQbTQpPfUP y9Jg6Qd3ushwSpiWUxmJ90pBXg7myBAT2j25qVY7+luWK1+b/3lSWha7LIfiRTTQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrieefgdefkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtderre dttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshesiiih gihsthdrnhgvtheqnecuggftrfgrthhtvghrnhepkedutdeihefffeegiedtkeevjeeiue eliefhkeevieegveeikeegveeugeekgeegnecuffhomhgrihhnpehfrghsthhmrghilhdr tghomhenucfkphepkedvrdejtddrledurdelleenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthhdqlhhishhtshesiiihgihsthdrnhgv th X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id B364A3280059 for ; Tue, 28 Jul 2020 20:48:51 -0400 (EDT) Date: Wed, 29 Jul 2020 01:48:21 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: [WORKAROUND] Re: odd issue affecting firefox (any version) on freebsd (any version) Message-ID: <20200729004821.GA80948@bastion.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20200722182209.GA46914@bastion.zyxst.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <20200722182209.GA46914@bastion.zyxst.net> X-Rspamd-Queue-Id: 4BGZft0w1qz45GW X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=ToRJdkIu; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=aY8dGFcv; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.26 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-4.96 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-1.03)[-1.032]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.26:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.26]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.01)[-1.011]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.21)[-0.214]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.26:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2020 00:48:55 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 22, 2020 at 07:21:42PM +0100, tech-lists wrote: >Hi, > >This is a really odd problem which I haven't a clue how to debug. > >I use fastmail.com for my email. Sometimes, I'll want to use a web browser >(firefox in this instance) to look at mail via their webmail. I have, amon= gst >other machines, my main desktop machine running 12-stable/kf5/plasma. > >If I use firefox at the site to compose email, I can compose it but when I= try >to send it I get "sending failed" and this is real, the mail is not sent. = If I >run firefox (same version) from an ubuntu machine, I *can* send mail. > >If I run iridium on the desktop machine and do the same thing, I *can* send >email. > >I have tried this from a pristine freebsd-current vm as well. I get the sa= me >result as I do from my freebsd-desktop. That machine, as it's a vm, does n= ot >run a DE. > >fastmail support haven't a clue about this issue, not that I'd expect them= to >in this instance as it's far outside of their support remit. > >So why can I not use *specifically freebsd firefox* to send email from >fastmail.com's webmail? How can I debug this? Is it a headers thing? It seems the problem was being caused by Firefox on freebsd giving fastmail a fractional time-zone offset causing them to generate an invalid offset in the JSON fastmail was sending to the server. = Because of this the server was rejecting the message resulting in the "Send Failed"= =2E=20 Fastmail have worked around this issue and made a change that converts the offset to a whole number, and now firefox (freebsd) works. But this, to me, looks like a freebsd firefox problem and not directly a Fastmail one really. So i'll raise a PR in ports To reproduce, open a javascript console and enter=20 new Date().getTimezoneOffset() and ctrl-enter and it should produce a whole number as output. Firefox on my freebsd desktop outputs -59.55. My timezone is set Europe/London. For comparison, iridium on the same system shows -60 and firefox on Linux M= int 18 gives 0. Firefox installed from official freebsd pkg repos running a very recent -current shows the same as my 12.1 desktop - -59.55 So it does seem to be firefox on freebsd and only freebsd and it doesn't matter if it's 12.1-stable or current. I have not tried firefox-esr, i'll do that next. The firefox on the current vm is vanilla, no addons at all are installed. >--=20 >J. --=20 J. --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl8gx2cACgkQs8o7QhFz NAV82g/+N9rgXwZ/FtsBxBEsyqete5O/BS9kPHv6bnGDTVpfOyWLjYvoDcv1rna0 +BNyA/DingFqG08dtHqPuPu6V5HMzDXEe6le8SQqw6PfTADYk1jV+kf5PJ+i86sT ZZ72fmi54KfE62c1mO2C5dcwedp/2qIiAnNKJEVX55HdNLwUDxJsmsqaZQE5ayUP d1ySDuFFb5CUBApfuRdNoWOiS06e6FnknTVuI+93X6VMGSVd/Kz3+YrwC6Yh8Io6 lUNLnhboQ/GgUln4YIS26lLSyTZdhNKLniKoKlEtaxlTOlvT9tN2TUCOKt7wlSiK yVEnCx7clJG24sAb5nh4rmrCKODUZju+l3Vtyqbe4Ovsb5/2HD+GP4YPyF4d0rvR wuq2jFMBSjUOa/5IsfUHY/4WmmRgAMfFiWCq7XqSQ/gbyr4JvhPOjv42dN1LiBpi XQg0nbedN4ZkNrUHqC0+DnAjpN5eut6uy257WDp9Ej9Iu/m2jr0wLwwATZERSKhz HC4WPriQICqJcYZHnnzjRHI8oHJGzTQE+5ihHYqZKogDpr3KKmlIE0L++F4G5EPP 5cQvKoUsPPf22gHVXCuNGcsuJxQIQ5+EZKHmGfPAoGjPVpdaVXKXDjlEOureLfRp wD7tUKY2b8LR6pFXqybuLYa7wABN1oRZl93Q4iFt9l/P4pfV1DQ= =klxc -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--