Your message dated Tue, 13 Sep 2016 14:05:08 -0400
with message-id <[email protected]>
and subject line Re: Bug#723072: monkeyscan should be cleaner in the absence of
a local MTA
has caused the Debian Bug report #723072,
regarding monkeyscan: handle exceptions better, esp. for missing local MTA
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
723072: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=723072
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: monkeysign
Version: 1.0
Severity: normal
monkeyscan doesn't currently cope well with systems with no mta
installed. The package should probably at least Suggest:
mail-transport-agent, and if /usr/sbin/sendmail isn't found, it should
report the error through the GUI instead of dumping a backtrace to
stderr.
But for many folks, running or maintaining a local MTA is not
possible, which limits the adoption of monkeysign, especially for
regular users, who it could potentially seriously help.
It occurs to me that in the absence of a local MTA, monkeysign could
prompt the user for their e-mail SMTP configuration, storing the
connection parameters for future use (but not storing the password, of
course). Perhaps the tool could rely on something like
python-twisted-mail's SMTP client to do the submission?
But even this is probably more complex than we want for most users.
To streamline things for a lot of people, we could make use of
thunderbird's Autoconfig standard [0] [1], applying it against the
e-mail address in the sender's primary user ID and extracting the
outgoingServer info to pre-configure the outbound SMTP parameters.
[0] https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat
[1]
https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration/FileFormat/HowTo
Getting this to work properly probably also means handling with the
situation where the SMTP server is not available, dies in the middle
of transmission, etc. this is all a pain to do, and i don't actually
expect or want monkeysign to recapitulate an MTA. But it would be
really nice to offer at least the baseline of "if you have an outbound
SMTP server, and it is online, and we can talk to it right now, we
will send the mail through it".
Regards,
--dkg
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.11-rc4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages monkeysign depends on:
ii gnupg 1.4.14-1.2
ii python 2.7.5-4
Versions of packages monkeysign recommends:
ii python-gtk2 2.24.0-3+b1
ii python-qrencode 1.01-2+b1
ii python-zbar 0.10+doc-9+b1
ii python-zbarpygtk 0.10+doc-9+b1
monkeysign suggests no packages.
-- debconf-show failed
--- End Message ---
--- Begin Message ---
Control: fixed -1 1.2
On Thu, Sep 01, 2016 at 11:58:30AM -0400, Antoine Beaupré wrote:
> The remaining issue here seems to me more about error handling in
> Monkeyscan, and specifically within the context of a missing local MTA.
Looking at this again, it seems to me the GTK UI has everything it needs
to handle exceptions correctly. There's a error handler since monkeysign
1.2 that shows the exception to the user, and I have hooked into it the
extra sysinfo versionning system developped here:
https://0xacab.org/monkeysphere/monkeysign/issues/38
It *could* be that this hook doesn't work as planned, because it doesn't
use sys.excepthook, but so far I'm going with the assumption that I
don't need to rewrite that piece of code just yet. I have added extra
documentation about that hook in the file itself:
https://0xacab.org/monkeysphere/monkeysign/commit/fe2c82edcdfbb6de9194de3d50336bb70d6f7700
The only thing that remains unresolved in this discussion is the lack of
autodiscovery configuration for monkeysign, but I would rather discuss
this in the 0xACAB.org issue tracker, as a separate feature request,
since so much was done here to improve the situation.
At least part of that discussion is reflected here as well anyways:
https://0xacab.org/monkeysphere/monkeysign/issues/7
Thanks, and sorry for the noise.
A.
signature.asc
Description: Digital signature
--- End Message ---