Bug 2333515 - Flush Outbox when sending mail to spamcop
Summary: Flush Outbox when sending mail to spamcop
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution-rspam
Version: 41
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lucian Langa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-20 15:11 UTC by Steve
Modified: 2025-01-16 01:59 UTC (History)
2 users (show)

Fixed In Version: evolution-rspam-0.6.0-45.fc42 evolution-rspam-0.6.0-45.fc41
Clone Of:
Environment:
Last Closed: 2025-01-07 16:22:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Steve 2024-12-20 15:11:27 UTC
Description of problem:
The Plugin does not send the SPAM-Report immediately. You have to press the Send / Receive button. And if you close Evolution without pressing the button, no report will ever be made. At least not to spamcop.net. I couldn't check the others.

Version-Release number of selected component (if applicable):
evolution-3.54.2-1.fc41.x86_64.rpm
evolution-rspam-0.6.0-44.fc41.x86_64.rpm

How reproducible:
Always

Steps to Reproduce:
1. Install the and enable plugin (maybe you have to make an account on spamcop.net. I have one.)
2. Report some SPAM
3. Nothing happens (unless you press the Send / Receive button)


Expected results:
The plugin should make the report immediately

Comment 1 Steve 2024-12-21 06:56:56 UTC
Please see also the report on spamcop.net: https://forum.spamcop.net/topic/73507-why-does-spam-reporting-takes-that-long/

Comment 2 Milan Crha 2025-01-06 14:39:46 UTC
Thanks for a bug report. I would normally upstream the problem to the evolution-rspam upstream, but the upstream is effectively dead, there was no change in the code for several years. It works this way since the beginning, I guess, the plugin piles up the messages into the On This Computer/Outbox folder, which is used to save messages to be sent. Evolution asks before quit when there are pending messages to be sent. Does it not ask you? Or do you not close the Evolution at all and only suspend the machine? You should see an unread count change on this On This Computer/Outbox folder shortly after you "Report as Spam".

I think I can patch the code in the Fedora to send the report messages automatically.

Comment 3 Steve 2025-01-06 19:51:23 UTC
In my case, I don't restart the computer for weeks, nor does it go to sleep. But yes, if I close evolution, it warns me that there are unsent messages (I never knew that meant the SPAM report).

Patching the code so that the SPAM report is immediate would be a really great idea.

Comment 4 Milan Crha 2025-01-07 10:26:01 UTC
I see, that makes sense then. Evo could not notify you about pending messages to be send when you do not close it.

I added a patch to the package to flush the Outbox when sending mail to the spamcop. It can have side effects, like sending mails already queued for sending, because it's not possible to selectively send a single message from the Outbox, but I guess it's no big deal.

An update for the Fedora 41 and rawhide will be prepared shortly.

Comment 5 Fedora Update System 2025-01-07 12:53:08 UTC
FEDORA-2025-501776a0b7 (evolution-rspam-0.6.0-45.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-501776a0b7

Comment 6 Fedora Update System 2025-01-07 14:34:17 UTC
FEDORA-2025-aa8a74080c (evolution-3.55.1-1.fc42, evolution-data-server-3.55.1-1.fc42, and 3 more) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-aa8a74080c

Comment 7 Steve 2025-01-07 14:37:16 UTC
The new version (evolution-rspam-0.6.0-45.fc41) is working for me that way.
Thank you.

Comment 8 Fedora Update System 2025-01-07 16:22:56 UTC
FEDORA-2025-aa8a74080c (evolution-3.55.1-1.fc42, evolution-data-server-3.55.1-1.fc42, and 3 more) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2025-01-08 02:12:36 UTC
FEDORA-2025-501776a0b7 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-501776a0b7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-501776a0b7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2025-01-16 01:59:11 UTC
FEDORA-2025-501776a0b7 (evolution-rspam-0.6.0-45.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.