From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DDB5A13882C for ; Sun, 3 Feb 2013 17:34:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B7C421C048; Sun, 3 Feb 2013 17:33:49 +0000 (UTC) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 59CE221C026 for ; Sun, 3 Feb 2013 17:33:47 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id hm14so2148978wib.9 for ; Sun, 03 Feb 2013 09:33:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=WNqB1YkIuFAaxOdvrAH5iEwwaGG4h2mQw3LztAPEyfQ=; b=I+PeWgwLlx2BD12N1CSrAu8gElBUe7xJzzuyng9f3idOpgRsRyJ0+anyuYCLQVNZ0i snRkX/hPAamvicZmaM03/59JJThAmircNkP+jP0E4j4zetC2qvUyyFlWj3Lb/JVbI1Vr nxifbguYjLCqxmf6zUuXhUgV3KwW6eeOoANMy2EgEcE9ZXe6RCKXAoZ0zW5tRSkn1mnT yK/CLf5Q7TxE4a+7HcYTTVQ1qZl9RY47wBKb/wGo3DKbZ3mu1X1BDXfRPI0AQp6b76V/ QXB0ubt+zg+uDrO+Hjoz0z9AaGz7/o/KxeiiJMAhYsyEvRTWawLA9j6DSTJpBMcaOS66 mIDQ== X-Received: by 10.180.93.100 with SMTP id ct4mr6320014wib.32.1359912825918; Sun, 03 Feb 2013 09:33:45 -0800 (PST) Received: from [172.20.0.41] (196-215-2-98.dynamic.isadsl.co.za. [196.215.2.98]) by mx.google.com with ESMTPS id eo10sm16749902wib.9.2013.02.03.09.33.43 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 03 Feb 2013 09:33:45 -0800 (PST) Message-ID: <510E9F44.7060709@gmail.com> Date: Sun, 03 Feb 2013 19:32:52 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130114 Thunderbird/17.0.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Creating accounts in Thunderbird References: <510E4F56.1080703@gmail.com> <510E584E.3090902@hadt.biz> <510E58C8.8080504@gmail.com> <510E59F9.3010308@hadt.biz> <510E5E00.5060209@gmail.com> <510E608F.9050207@hadt.biz> <510E6F4C.5050609@gmail.com> <510E7419.4020400@hadt.biz> In-Reply-To: <510E7419.4020400@hadt.biz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: bad759c4-2faa-4e1d-8aa4-978d1581a723 X-Archives-Hash: 4144516757091f4d40b60af8b4d0abda On 03/02/2013 16:28, Michael Hampicke wrote: > Am 03.02.2013 15:08, schrieb Alan McKinnon: >> So what we have here is a piece of FOSS software that is too fucking >> clever for it's own good. It's applying insane validation checks to >> things that are not in any spec at all: >> >> - I want two IMAP accounts. One runs locally on port 143. The other one >> is also local, and just happens to use the same username. It also runs >> on a different port which uses ssl magic to tunnel through into the >> corporate network. A mail client has no business deciding it will not >> add the second account because it already has something for that >> username and host. So fucking what? I'll run 19 imap servers on >> localhost if I feel like it, it's no business of Mozilla if I do >> >> - I don't *actually* need to give a valid password for a mail client to >> configure the account. So what if I don't have the password right now? >> Maybe I'll get it later. Just add the damn thing to your config and stop >> refusing to continue if you can't validate the password! That becomes my >> problem not Mozillas! >> >> - When I change data in a textbox on a dialog and the "Advanced config" >> button ungreys, I sorta kinda expect it to do something. Like maybe let >> me add stuff that is out of the ordinary. i sorta kinda don't expect it >> to do nothing nothing whatsoever at all and sit there having no effect. >> >> - Wizards are fine for helping out Aunt Tilly. But for the love of Pete, >> give advanced users a way to bypass the thing and enter information that >> has not occurred to Mozilla devs yet. It;'s not hard to come out with >> scenarios that any wizard does not cater for. >> >> Rant over. Now where is Thunderbirds bugzilla? >> > Here you go https://bugzilla.mozilla.org/ > And while your at it, tell them to drop that social media shite like FB > from their products :) > > I got it fixed eventually. Here's the hoops I had to jump through: Put thunderbird in offline mode. The wizard is at least smart enough to recognise it can't verify stuff online if it's offline so it goes straight to advanced mode. Enter sane defaults for mail accounts that exist. To get two accounts on localhost (on different ports), do this: For the first one, host is 127.0.0.1, wizard validates it as saves it as "localhost". For the second one, host is again entered as 172.0.0.1, which is a different string to "localhost", validation succeeds and config is written to prefs.js. Ha-ha! Gotcha motherfucker! Your stupid front end validation didn't think of that! Quit thunderbird. vi /path/to/prefs.js Clean up manually any residual crap left behind by the wizard Start thunderbird, go to online mode. Observe how mail fetch works. Observe how HTML is TheWaveOfTheFuture and spend next two hours getting in the way of TheWave. Sometime this week I might even get around to filing a bug, once I've calmed down somewhat and once my initial choice of words is slightly less profane than it is now. :-) p.s thanks for chipping in with suggestions and help. Appreciate it. -- alan.mckinnon@gmail.com