On Saturday 19 October 2019 15:03:49 Gene Heskett wrote:
On Saturday 19 October 2019 13:54:54 deloptes wrote:
Gene Heskett wrote:
3 hours later its behaving itself. Nothing from kmail is now anywhere near the top of an htop list. cpu temps are down about 8C. I think I've fixed it!
Gene, it is what I said before - you should never ever mess up with the Maildir content, except via a single interface, be it imap, or kmail. Let only one application work at a time.
regards
But no one has answered my question about how do I move a directory's contents en-mass to another directory by way of a dbus command. I need to move the contents of the spam directory by first deleting the contents of the spam-hold directory, and the move the contents of the spam directory into the spam-hold directory, a thing that is repeated each 24 hours by the script that drives sa-learn spam, and sa-learn ham over selected directory's.
I had to pull teeth w/o novocain just to find out how to send kmail a go get mail command from my mailwatcher script, which uses inotifywait to see the closing of a mailfile in /var/spool/mail as its indicator that a new mail has arrived from a separate fetchmail->procmail process.
If those rm's and mv's from outside of kmails knowledge, were converted to dbus commands to be executed by kmail, then nothing would disturb its database but kmails own actions.
So, where do I find the real docs on how kmail responds to commands sent over dbus? That seems to be a secret, and it sucks dead toads thru soda straws. I just now rechecked the Handbook, and it has zero mention of dbus. So please explain how, and I WILL fix my scripts.
Need washrag to remove egg on face. At the time I wrote it there was a battle going on as some distro's use dcop, and some dbus. It appears that in debian, dcop won that particular war, so thats what I'm using, and its coded like this:
Method=dcop if [[ ${Method} = 'dbus' ]] then Cmd="/usr/bin/qdbus org.kde.kmail /KMail org.kde.kmail.kmail.checkMail" fi if [[ ${Method} = 'dcop' ]] then #or for dcop, use: Cmd="/opt/trinity/bin/dcop kmail KMailIface checkMail" fi [... skip some other alternative hpusekeeping options] if test "${InMail}" = "gene" then $Cmd [...]
So thats the extent of my dcop training. The manpage for dcop is so incomplete its worthless. Hardly a full screenfull of very generalized info.
What dcop can do for|to kmail should be in the kmail handbook, but there seems to not even be the word dcop. Where can I access what will fix that lack?
- To unsubscribe, e-mail:
trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Cheers, Gene Heskett
Cheers, Gene Heskett