Bug 2333515

Summary: Flush Outbox when sending mail to spamcop
Product: [Fedora] Fedora Reporter: Steve <bugzilla>
Component: evolution-rspamAssignee: Lucian Langa <lucilanga>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 41CC: lucilanga, mcrha
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: evolution-rspam-0.6.0-45.fc42 evolution-rspam-0.6.0-45.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-07 16:22:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.