--- Please enter the report below this line. --- I would like to use KMail to read system messages sent to my /var/mail/<user> mbox file but it only seems to work the first time the account is created. Subsequent readings are ignored. Steps to reproduce: 1) Create an mbox account and link it to a /var/mail/<user> mbox file containing whatever messages. 2) See KMail reads it properly. 3) Wait until knowing new mail is available at /var/mail/<user>. 4) See KMail won't show new mail. Debian Release: jessie/sid 900 testing security.debian.org 900 testing ftp.es.debian.org 800 stable update.devolo.com 800 stable dl.google.com 500 unstable ftp.es.debian.org 500 sid linux.dropbox.com --- Package information. --- Depends (Version) | Installed ===================================================-+-=================== perl | 5.18.2-7 kde-runtime (>> 4:4.10) | 4:4.13.3-1 kdepim-runtime (>= 4:4.10.2) | 4:4.13.3-1 kdepimlibs-kio-plugins | 4:4.13.3-2 libakonadi-calendar4 (>= 4:4.11.1) | 4:4.13.3-2 libakonadi-contact4 (>= 4:4.12.2) | 4:4.13.3-2 libakonadi-kde4 (>= 4:4.12.2) | 4:4.13.3-2 libakonadi-kmime4 (>= 4:4.12.2) | 4:4.13.3-2 libakonadiprotocolinternals1 (>= 1.5.1) | 1.12.1-1+b1 libc6 (>= 2.14) | libcalendarsupport4 (= 4:4.12.4-1) | libfolderarchive4 (= 4:4.12.4-1) | libgcc1 (>= 1:4.1.1) | libgpgme++2 (>= 4:4.12.2) | libgrantlee-core0 (>= 0.3.0) | libincidenceeditorsng4 (= 4:4.12.4-1) | libkabc4 (>= 4:4.12.2) | libkalarmcal2 (>= 4:4.8.1) | libkcalcore4 (>= 4:4.5.86) | libkcalutils4 (>= 4:4.5.86) | libkcmutils4 (>= 4:4.5.86) | libkdecore5 (>= 4:4.4.95) | libkdepim4 (= 4:4.12.4-1) | libkdeui5 (>= 4:4.10.0) | libkio5 (>= 4:4.5.85) | libkleo4 (= 4:4.12.4-1) | libkmime4 (>= 4:4.12.2) | libknewstuff3-4 (>= 4:4.5.85) | libknotifyconfig4 (>= 4:4.3.4) | libkontactinterface4 (>= 4:4.12.2) | libkparts4 (>= 4:4.5.85) | libkpgp4 (= 4:4.12.4-1) | libkpimidentities4 (>= 4:4.12.2) | libkpimtextedit4 (>= 4:4.12.2) | libkpimutils4 (>= 4:4.12.2) | libkprintutils4 (>= 4:4.4.95) | libksieveui4 (= 4:4.12.4-1) | libktnef4 (>= 4:4.12.2) | libmailcommon4 (= 4:4.12.4-1) | libmailimporter4 (= 4:4.12.4-1) | libmailtransport4 (>= 4:4.12.2) | libmessagecomposer4 (= 4:4.12.4-1) | libmessagecore4 (= 4:4.12.4-1) | libmessagelist4 (= 4:4.12.4-1) | libmessageviewer4 (= 4:4.12.4-1) | libnepomukcore4 (>= 4:4.9.3) | libpimcommon4 (= 4:4.12.4-1) | libqt4-dbus (>= 4:4.5.3) | libqt4-network (>= 4:4.5.3) | libqt4-xml (>= 4:4.5.3) | libqtcore4 (>= 4:4.7.0~beta1) | libqtgui4 (>= 4:4.8.0) | libqtwebkit4 (>= 2.2.0) | libsendlater4 (= 4:4.12.4-1) | libsolid4 (>= 4:4.3.4) | libsoprano4 (>= 2.9.0) | libstdc++6 (>= 4.1.1) | libtemplateparser4 (= 4:4.12.4-1) | Recommends (Version) | Installed ===========================-+-=========== gnupg-agent | 2.0.25-1 gnupg2 | 2.0.25-1 pinentry-qt4 | 0.8.3-2 OR pinentry-x11 | Suggests (Version) | Installed ==================================-+-============== clamav | 0.98.4+dfsg-2+b1 OR f-prot-installer | kaddressbook | 4:4.12.4-1 kleopatra | procmail | 3.22-21 spamassassin | OR bogofilter | 1.2.4+dfsg1-3 OR annoyance-filter | OR spambayes (>= 1.0.4-6) | OR bsfilter | OR crm114 |
Do you have file monitoring enabled? Cheers, Kevin
El Martes, 12 de agosto de 2014 15:29:58 Kevin Krammer escribió: I had it at the beginning, then I re-created the account, disabled file monitoring and still it worked right once only after creating the account. Also tried to use a procmail lock (after using none) to no avail. Regards, Antonio
1) file monitoring: the program uses the operating system's file change notification mechanism to know when the file has been changed by another program 2) interval checking: the program reloads the file regularily in a configurable time interval. I personally use (1) for my /var/spool/$user mail file because it doesn't get updated very often so regular reloads would just be a waste of resources. Cheers, Kevin