Bug#191847: marked as done (balsa: doesn't quit when SMTP auth fails, doesn't show error)

Debian Bug Tracking System owner@bugs.debian.org
Fri, 27 May 2005 07:48:36 -0700


Your message dated Sat, 28 May 2005 00:03:20 +1000
with message-id <20050527140320.GA24540@espresso.caffeine>
and subject line balsa: doesn't quit when SMTP auth fails, doesn't show error
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 4 May 2003 10:44:05 +0000
>From miquels@cistron.nl Sun May 04 05:44:04 2003
Return-path: <miquels@cistron.nl>
Received: from 10fwd.cistron-office.nl (smtp.cistron-office.nl) [62.216.29.197] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 19CGyS-0006zH-00; Sun, 04 May 2003 05:44:04 -0500
Received: from miquels by smtp.cistron-office.nl with local (Exim 3.35 #1 (Debian))
	id 19CGyR-00008g-00
	for <submit@bugs.debian.org>; Sun, 04 May 2003 12:44:03 +0200
Date: Sun, 4 May 2003 12:44:03 +0200
From: Miquel van Smoorenburg <miquels@cistron.nl>
To: submit@bugs.debian.org
Subject: balsa: doesn't quit when SMTP auth fails, doesn't show error
Message-ID: <20030504104402.GA435@cistron.nl>
Mail-Followup-To: Miquel van Smoorenburg <miquels@cistron.nl>,
	submit@bugs.debian.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
X-NCC-RegID: nl.cistron
Sender: Miquel van Smoorenburg <miquels@cistron-office.nl>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-12.3 required=4.0
	tests=BAYES_10,HAS_PACKAGE,USER_AGENT_MUTT
	autolearn=ham version=2.53-bugs.debian.org_2003_04_23
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_04_23 (1.174.2.15-2003-03-30-exp)

Package: balsa
Version: 2.0.10-1
Tags: upstream sid
 
If you have enabled a username and a password in
Settings -> Preferences -> Mail servers -> Outgoing Mail -> User,
then balsa tries to authenticate with the remote mail server.
 
There are a few warts with this, that should be fixed:
 
- If the remote mailserver doesn't offer the AUTH extension, but
  a username is filled in, balsa will simply not authenticate and
  will just try to send the message.
 
  This is wrong. There should probably be an option just above "user"
  like:
 
  [ ] use SMTP authentication (username/password)
 
  If this is not enabled, never try to use authentication. If this
  /is/ enabled, and the remote server doesn't support the AUTH
  ESMTP extension, balsa should pop up a window telling you
  something like

        Could not login to the remote SMTP server - it
        doesn't appear to support the AUTH extension.
 
- If the authentication fails, balsa will just go ahead and try to
  send the message anyway. Which will probably result in a
  'relaying denied' message. Which, by the way, is not shown to the
  user anytime. If authentication fails, balsa should again show
  you a message in a window like
 
        Could not authenticate to the remote mailserver (login failed).
        The error message was: 502 bla bla bla
 
Mike.

---------------------------------------
Received: (at 191847-done) by bugs.debian.org; 27 May 2005 14:03:19 +0000
>From netsnipe@optusnet.com.au Fri May 27 07:03:19 2005
Return-path: <netsnipe@optusnet.com.au>
Received: from mail03.syd.optusnet.com.au [211.29.132.184] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DbfQl-0006lF-00; Fri, 27 May 2005 07:03:19 -0700
Received: from espresso.caffeine (c211-30-49-101.mirnd1.nsw.optusnet.com.au [211.30.49.101])
	by mail03.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id j4RE3HHD008245
	(version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO)
	for <191847-done@bugs.debian.org>; Sat, 28 May 2005 00:03:17 +1000
Received: from netsnipe by espresso.caffeine with local (Exim 4.50)
	id 1DbfQm-0006OW-7F
	for 191847-done@bugs.debian.org; Sat, 28 May 2005 00:03:20 +1000
Date: Sat, 28 May 2005 00:03:20 +1000
From: Andrew Lau <netsnipe@users.sourceforge.net>
To: 191847-done@bugs.debian.org
Subject: Re: balsa: doesn't quit when SMTP auth fails, doesn't show error
Message-ID: <20050527140320.GA24540@espresso.caffeine>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz"
Content-Disposition: inline
X-PGP-Key-ID: 0x2E8B68BD
X-PGP-Fingerprint: 0B77 73D0 4F3B F286 63F1 9F4A 9B24 C07D 2E8B 68BD
X-PGP-Key: http://pgp.dtype.org:11371/pks/lookup?op=get&search=0x2E8B68BD
User-Agent: Mutt/1.5.9i
Delivered-To: 191847-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Dear Miquel,

Upstream believes that this problem has now been satisfiably resolved.

Cheers,
Andrew "Netsnipe" Lau

------- Additional Comment #3 From Pawel Salek  2005-05-15 21:54 UTC -------

I can confirm this problem (partially): the libesmtp engine does not
signal a failed authentication - the reason for this behavior is that
failed authentication does not mean relaying will be denied. I can
imagine that this information should be passed to the user - this can be
helpful when explaining further problems. Would an dialog box with
message: "authentication was attempted but failed - continuing anyway"
be a sufficient solution?

More comments:

1. I see nothing wrong with silently continuing when no AUTH is
available - perhaps the server decided to trust the client on other
basis?
3. Current balsa passes though the "relay failed" message to the user
now.

<http://bugzilla.gnome.org/show_bug.cgi?id=3D112284>

--=20
---------------------------------------------------------------------------
     Andrew "Netsnipe" Lau	<http://www.cse.unsw.edu.au/~alau/>
	 Debian GNU/Linux Maintainer & Computer Science, UNSW
				     -
		  "Nobody expects the Debian Inquisition!
     Our two weapons are fear and surprise...and ruthless efficiency!"
---------------------------------------------------------------------------

--3V7upXqbjpZ4EhLz
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFClyiomyTAfS6LaL0RAhWeAJ9hGOr9U5vvUJYSPZ1OwlMWSb6TOACgt0yR
auQLy3FNWTj/o10//HdE+9E=
=Bz42
-----END PGP SIGNATURE-----

--3V7upXqbjpZ4EhLz--