[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdepim-users
Subject:    Re: Making kmail5 work from kmail-1.9 mails?
From:       Gene Heskett <gheskett () shentel ! net>
Date:       2021-12-03 19:33:53
Message-ID: LBTALMZEGFU4.MVYH339DPC7O () mwweb09oc
[Download RAW message or body]

On Fri, 3 Dec, 2021 at 10:01 AM, Anders Lund <anders@alweb.dk> wrote:
 

To: kdepim-users@kde.org
fredag den 3. december 2021 15.25.34<http://15.25.34> CET skrev \
rhkramer@gmail.com<mailto:rhkramer@gmail.com>:
> On Friday, December 03, 2021 08:41:51 AM Gene Heskett wrote:
> > In my quest to get a working email agent, first question is "how do I get
> > kmail5
> > 
> > to recognize and read, about 7 gigs and 45 maildir folders worth of old
> > kmail-1.9 mail"?
> > 
> > 
> > Ideally it should create folder entries in the left panel simply by
> > finding
> > the folder in
> > 
> > /home/$me/Mail, as it is already there, but currently invisible to kmail5.
> 
> Just postulating because no one else has responded -- maybe kmail5 can't
> read maildirs directly but somehow have to be input to or recognized by
> Akonadi?

Probably. Settings -> Configure KMail then in the dialog Accounts/Receiving, 
create a maildir resource.

Kindly,
Anders

but its the output from procmail and is a 5 megabyte  mailfile, in fact some
experiments have also created a pair of maildir files, msg.5digithash style. 

but I can't get it to read them either, no reaction to a check mail button click.
No output, failure or otherwise shows in kmail5 bottom line.


I did get it to import the old /home/me/Mail dir, and found it is now using a hidden
mysql database for that. Thats noticeably slower when changing folders, but may
be more dependable too, so it is what it is. I hope.


I do mail fetching with fetchmail, using procmail for its mta, and procmail uses \
clamav and spamd to weed out some of the BS, depositing what survives wherever I tell \
it to by assigning a $HOMEDIR in .procmailrc and using that as the last recipe.  So I \
can put it anyplace $me has perms. /var/mail is not the ideal place for that holding \
area due to perms problems.


So since I can put incoming mail anyplace I have perms for, how then do I configure
Settings -> Configure KMail then in the dialog Accounts/Receiving?


I currently have it pointed at /var/mail, but I have also failed seeing mails plopped \
into ~/$me/.local/share/local-mail. I don't think its even looking.


And since they like nothing better than to change working dbus commands, what
is the the exact synatx, sent to kmail via dbus, to make kmail go check the local \
mail?


My mailwatcher current script has: (and worked on stretch with tde's kmail

===========

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
===============

Will that still work?



Thanks Anders.


[Attachment #3 (text/html)]

<HTML>
<BODY>
<div class="rteDiv"></div><p style="margin-top:2px; margin-bottom:2px"><br>
</p><br>
<br>
<div origmsg="yes"></div>On Fri, 3 Dec, 2021 at 10:01 AM, Anders Lund \
&lt;anders@alweb.dk&gt; wrote:<div class="rteDiv">&nbsp;</div><div class="rteDiv" \
style="border-left: 3px #CCCCCC solid; padding-left:8px;"><div \
style="background-color:#F9F9F9; color:#454545;padding:5px; margin-bottom:15px; \
line-height:23px">To: kdepim-users@kde.org<br> </div>fredag den 3. december 2021 <a \
href="http://15.25.34">15.25.34</a> CET skrev <a \
href="mailto:rhkramer@gmail.com">rhkramer@gmail.com</a>:<br> &gt; On Friday, December \
03, 2021 08:41:51 AM Gene Heskett wrote:<br> &gt; &gt; In my quest to get a working \
email agent, first question is "how do I get<br> &gt; &gt; kmail5<br>
&gt; &gt; <br>
&gt; &gt; to recognize and read, about 7 gigs and 45 maildir folders worth of old<br>
&gt; &gt; kmail-1.9 mail"?<br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; Ideally it should create folder entries in the left panel simply by<br>
&gt; &gt; finding<br>
&gt; &gt; the folder in<br>
&gt; &gt; <br>
&gt; &gt; /home/$me/Mail, as it is already there, but currently invisible to \
kmail5.<br> &gt; <br>
&gt; Just postulating because no one else has responded -- maybe kmail5 can't<br>
&gt; read maildirs directly but somehow have to be input to or recognized by<br>
&gt; Akonadi?<br>
<br>
Probably. Settings -&gt; Configure KMail then in the dialog Accounts/Receiving, <br>
create a maildir resource.<br>
<br>
Kindly,<br>
Anders<br>
<br>
but its the output from procmail and is a 5 megabyte&nbsp; mailfile, in fact \
some</div><div class="rteDiv" style="border-left: 3px #CCCCCC solid; \
padding-left:8px;"> experiments have also created a pair of maildir files, \
msg.5digithash style. <br> </div><div class="rteDiv" style="border-left: 3px #CCCCCC \
solid; padding-left:8px;">but I can't get it to read them either, no reaction to a \
check mail button click.</div><div class="rteDiv" style="border-left: 3px #CCCCCC \
solid; padding-left:8px;">No output, failure or otherwise shows in kmail5 bottom \
line.</div><div class="rteDiv" style="border-left: 3px #CCCCCC solid; \
padding-left:8px;"><br> </div><div class="rteDiv" style="border-left: 3px #CCCCCC \
solid; padding-left:8px;">I did get it to import the old /home/me/Mail dir, and found \
it is now using a hidden</div><div class="rteDiv" style="border-left: 3px #CCCCCC \
solid; padding-left:8px;">mysql database for that. Thats noticeably slower when \
changing folders, but may</div><div class="rteDiv" style="border-left: 3px #CCCCCC \
solid; padding-left:8px;">be more dependable too, so it is what it is. I \
hope.</div><div class="rteDiv" style="border-left: 3px #CCCCCC solid; \
padding-left:8px;"><br> </div><div class="rteDiv" style="border-left: 3px #CCCCCC \
solid; padding-left:8px;">I do mail fetching with fetchmail, using procmail for its \
mta, and procmail uses clamav and spamd to weed out some of the BS, depositing what \
survives wherever I tell it to</div><div class="rteDiv" style="border-left: 3px \
#CCCCCC solid; padding-left:8px;">by assigning a $HOMEDIR in .procmailrc and using \
that as the last recipe.&nbsp; So I can put</div><div class="rteDiv" \
style="border-left: 3px #CCCCCC solid; padding-left:8px;"> it anyplace $me has perms. \
/var/mail is not the ideal place for that holding area due to</div><div \
class="rteDiv" style="border-left: 3px #CCCCCC solid; padding-left:8px;">perms \
problems.</div><div class="rteDiv" style="border-left: 3px #CCCCCC solid; \
padding-left:8px;"><br> </div><div class="rteDiv" style="border-left: 3px #CCCCCC \
solid; padding-left:8px;">So since I can put incoming mail anyplace I have perms for, \
how then do I configure</div><div class="rteDiv" style="border-left: 3px #CCCCCC \
solid; padding-left:8px;">Settings -&gt; Configure KMail then in the dialog \
Accounts/Receiving?</div><div class="rteDiv" style="border-left: 3px #CCCCCC solid; \
padding-left:8px;"><br> </div><div class="rteDiv" style="border-left: 3px #CCCCCC \
solid; padding-left:8px;">I currently have it pointed at /var/mail, but I have also \
failed seeing mails plopped into ~/$me/.local/share/local-mail. I don't think its \
even looking.</div><div class="rteDiv" style="border-left: 3px #CCCCCC solid; \
padding-left:8px;"><br> </div><div class="rteDiv" style="border-left: 3px #CCCCCC \
solid; padding-left:8px;">And since they like nothing better than to change working \
dbus commands, what</div><div class="rteDiv" style="border-left: 3px #CCCCCC solid; \
padding-left:8px;"> is the the exact synatx, sent to kmail via dbus, to make kmail go \
check the local mail?</div><div class="rteDiv" style="border-left: 3px #CCCCCC solid; \
padding-left:8px;"><br> </div><div class="rteDiv" style="border-left: 3px #CCCCCC \
solid; padding-left:8px;">My mailwatcher current script has: (and worked on stretch \
with tde's kmail<br> </div><div class="rteDiv" style="border-left: 3px #CCCCCC solid; \
padding-left:8px;">===========<br> </div><div class="rteDiv" style="border-left: 3px \
#CCCCCC solid; padding-left:8px;">Method=dcop<br> if [[ ${Method} = 'dbus' ]]<br>
then<br>
&nbsp;&nbsp;&nbsp; Cmd="/usr/bin/qdbus org.kde.kmail /KMail \
org.kde.kmail.kmail.checkMail"<br> fi<br>
if [[ ${Method} = 'dcop' ]]<br>
then<br>
#or for dcop, use:<br>
&nbsp;&nbsp;&nbsp; Cmd="/opt/trinity/bin/dcop kmail KMailIface checkMail"<br>
fi</div><div class="rteDiv" style="border-left: 3px #CCCCCC solid; \
padding-left:8px;">===============<br> </div><div class="rteDiv" style="border-left: \
3px #CCCCCC solid; padding-left:8px;">Will that still work?<br> </div><div \
class="rteDiv" style="border-left: 3px #CCCCCC solid; padding-left:8px;"><br> \
</div><div class="rteDiv" style="border-left: 3px #CCCCCC solid; \
padding-left:8px;">Thanks Anders.</div><div class="rteDiv" style="border-left: 3px \
#CCCCCC solid; padding-left:8px;"><br>  </div>
</BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic