<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 <anders@alweb.dk> wrote:<div class="rteDiv"> </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>
> On Friday, December 03, 2021 08:41:51 AM Gene Heskett wrote:<br>
> > In my quest to get a working email agent, first question is "how do I get<br>
> > kmail5<br>
> > <br>
> > to recognize and read, about 7 gigs and 45 maildir folders worth of old<br>
> > kmail-1.9 mail"?<br>
> > <br>
> > <br>
> > Ideally it should create folder entries in the left panel simply by<br>
> > finding<br>
> > the folder in<br>
> > <br>
> > /home/$me/Mail, as it is already there, but currently invisible to kmail5.<br>
> <br>
> Just postulating because no one else has responded -- maybe kmail5 can't<br>
> read maildirs directly but somehow have to be input to or recognized by<br>
> Akonadi?<br>
<br>
Probably. Settings -> 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 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. 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 -> 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>
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>
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>