After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 688819 - It's possible to make Evolution stop sending emails
It's possible to make Evolution stop sending emails
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.6.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2012-11-21 16:50 UTC by Ivan
Modified: 2012-11-23 15:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
cancel (67.84 KB, image/png)
2012-11-23 06:11 UTC, Ivan
  Details
retry (67.82 KB, image/png)
2012-11-23 06:12 UTC, Ivan
  Details
evo patch (778 bytes, patch)
2012-11-23 15:22 UTC, Milan Crha
committed Details | Review

Description Ivan 2012-11-21 16:50:52 UTC
Not sure about SMTP since I don't use it

Evolution 3.6.2 
Sending mail SMTP postfix server
Postbox in IMAP mode (not sure it's important, but I have no POP3 mailboxes)

If press cancel during early sending process it will be fished gracefully, but repeating a send same email will not work.
It will show old log SMTP messages as sending errors and now email will be send until evolution restart

I cant't remember such behavior in 3.6.1 verison. Was working fine
Comment 1 Ivan 2012-11-21 16:52:23 UTC
> Not sure about SMTP since I don't use it

remove this line please it's copied
Comment 2 André Klapper 2012-11-22 15:40:59 UTC
(In reply to comment #0)
> It will show old log SMTP messages as sending errors 

Like what?
Which postfix version?
Comment 3 Ivan 2012-11-23 06:11:48 UTC
Created attachment 229687 [details]
cancel

Cancel button pressed
Comment 4 Ivan 2012-11-23 06:12:16 UTC
Created attachment 229688 [details]
retry

retry pressed
Comment 5 Ivan 2012-11-23 06:12:59 UTC
It's not so hard to reproduce the bug
Send a screenshots
Working with gmail, not only postfix
Comment 6 Milan Crha 2012-11-23 15:13:47 UTC
Confirming, I can reproduce it too.
Comment 7 Milan Crha 2012-11-23 15:22:43 UTC
Created attachment 229729 [details] [review]
evo patch

for evolution;

It would be surprising if this was introduced in 3.6.2, at least for me, I'd rather believe that you were lucky and didn't trigger the bug. The bug is that the disconnect call on the CamelService was a no-op when the passed-in cancellable was already cancelled, thus the service didn't disconnect as expected, and the next try to send an email lead to use of old connection, which is in an error state. I was able to send the message, if I tried enough times, like 3-5 times, then the connection got synchronized with server and able to send an email. Anyway, the disconnect is crucial, thus as such should be done.
Comment 8 Milan Crha 2012-11-23 15:24:53 UTC
Created commit 10aa3a7 in evo master (3.7.3+)
Created commit 5224a67 in evo gnome-3-6 (3.6.3+)