Bug 204495 - kmail freezes when spamd is blocked
Summary: kmail freezes when spamd is blocked
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: filtering (show other bugs)
Version: unspecified
Platform: Gentoo Packages Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-20 10:58 UTC by Aleksander Balicki
Modified: 2015-04-12 10:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksander Balicki 2009-08-20 10:58:48 UTC
Version:            (using KDE 4.3.0)
Installed from:    Gentoo Packages

kmail freezes - i can't get it back from tray. After reset i get some new messages, that, in fact are messages i already got. They're copied. I have 3 IMAP accounts and 1 POP account. It's possible, that it happens on autocheck for new emails.
Comment 1 Christophe Marin 2009-08-20 14:42:40 UTC
Where are the duplicate messages, in your imap inbox or your pop3 one ?
Comment 2 Christophe Marin 2009-08-20 14:59:11 UTC
If it's an IMAP account, please also tell us whether there are filters enabled.

- If it's online imap w/ filters: this bug is a duplicate of bug 95064
- If it's online imap without filters, that's likely a duplicate of bug 118074
- If it's the pop3 account, this may be a duplicate of bug 187070
Comment 3 Aleksander Balicki 2009-08-21 12:03:53 UTC
Copied were in the POP account ibox, but i haven't got any on IMAP recently, so i dont really know if it works on IMAP too.

IMAP w/o filters

Now freezes few seconds after i turn the settings on and 100% freeze when serching for antispam software with wizard, it always crashes on spamassasin.
Comment 4 Aleksander Balicki 2009-08-21 12:10:20 UTC
After examination - also always crashes on POP email download - during fetch.
IMAP works perfectly.
Comment 5 Aleksander Balicki 2009-08-21 12:29:40 UTC
OK - kmail freezes when spamd is on, but the port is closed by iptables.
There should be an error
Comment 6 Torgny Nyblom 2009-08-21 12:40:37 UTC
REJECT or DROP in iptables?
If it is DROP does KMail spring back into life after the TCP timeout?
Comment 7 Aleksander Balicki 2009-08-21 12:45:28 UTC
POLICY DROP on INPUT
and how to check the second one? i waited some time, and kde says that kmail is not responding, do i want to kill the process?
Comment 8 Torgny Nyblom 2009-08-21 12:51:21 UTC
(In reply to comment #7)
> POLICY DROP on INPUT

Do you get the same error if you change into REJECT?

> and how to check the second one? i waited some time, and kde says that kmail is
> not responding, do i want to kill the process?

No not for about 5-10 minutes, make sure that the interval check is off or at a longer interval.
Comment 9 Aleksander Balicki 2009-08-21 13:17:45 UTC
> No not for about 5-10 minutes, make sure that the interval check is off or at a
> longer interval.

it's not answer to my question
Comment 10 Torgny Nyblom 2009-08-21 13:37:03 UTC
Excuse me for being blunt but what part of "no" is not an answer to your question?

You might be able to see if KMail is waiting for the network connection using netstat.
Comment 11 Aleksander Balicki 2009-08-21 22:45:10 UTC
i left it for 30 minutes, it haven't came back to work.

question was "how to check it"
Comment 12 Björn Ruberg 2010-03-04 23:57:59 UTC
The duplicate probably comes from the POP3 account. The mails are not marked as downloaded (because of the freeze). Concerning the freeze - have you tried to deactivate ipfilters just for checking whether they are the cause?
Comment 13 Aleksander Balicki 2010-03-05 00:48:48 UTC
yes, i tried and they are the problem, i had to let the traffic from localhost, because the spamassasin bot was blocked by iptables. I didn't have problems from that moment (like 6 months ago).
Comment 14 Björn Ruberg 2010-03-05 00:56:24 UTC
okay, so the only fault kmail has here is that it does call the spamfilter without a timeout
Comment 15 Laurent Montel 2015-04-12 10:20:56 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.