Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kmail fetch POP mail with background/cron job
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
augustin
Guru
Guru


Joined: 23 Feb 2015
Posts: 318

PostPosted: Tue Jan 03, 2017 3:15 pm    Post subject: kmail fetch POP mail with background/cron job Reply with quote

I just had a crazy idea...

Theoretically, would it be possible to create a script that one could run that would allow kmail to download POP3 emails from a remote server in a background, e.g. from a cron job, even when the user is NOT logged in in the KDE session??

This way the user would log into a KDE session and find the emails already downloaded into kmail's local folder.

I just browsed the net a bit and I don't see anything relevant. If nothing exists yet, would it be possible to script something to that effect?

Maybe it does not depend on kmail but on akonadi...
Back to top
View user's profile Send private message
augustin
Guru
Guru


Joined: 23 Feb 2015
Posts: 318

PostPosted: Tue Jan 03, 2017 3:42 pm    Post subject: Reply with quote

The idea is not that crazy, after all.

I just found this:

* net-mail/getmail
Available versions: (4) 4.52.0
{ssl PYTHON_TARGETS="python2_7"}
Homepage: http://pyropus.ca/software/getmail/
Description: A POP3 mail retriever with reliable Maildir and mbox delivery


Maybe I can use it to fetch emails and deposit them locally. But then I need the kmail filters. Maybe I can fetch mail from one local folder into the one used by kmail...
Back to top
View user's profile Send private message
augustin
Guru
Guru


Joined: 23 Feb 2015
Posts: 318

PostPosted: Tue Jan 03, 2017 3:46 pm    Post subject: Reply with quote

Hmmm.... I search for getmail + kmail and the top results are multiple copies of the same 12 year old thread!!

I'm sure others have thought of doing something similar.
Back to top
View user's profile Send private message
augustin
Guru
Guru


Joined: 23 Feb 2015
Posts: 318

PostPosted: Tue Jan 03, 2017 3:50 pm    Post subject: Reply with quote

* net-mail/fetchmail
Available versions: 6.3.26-r2 {hesiod kerberos nls socks ssl tk PYTHON_TARGETS="python2_7"}
Homepage: http://www.fetchmail.info/
Description: the legendary remote-mail retrieval and forwarding utility

??
Back to top
View user's profile Send private message
augustin
Guru
Guru


Joined: 23 Feb 2015
Posts: 318

PostPosted: Tue Jan 03, 2017 3:52 pm    Post subject: Reply with quote

Grrrr....


No love lost between KMail/Akonadi and fetchmail/postfix/mbox...
https://lists.ubuntu.com/archives/kubuntu-users/2011-November/054944.html
Back to top
View user's profile Send private message
augustin
Guru
Guru


Joined: 23 Feb 2015
Posts: 318

PostPosted: Tue Jan 03, 2017 3:54 pm    Post subject: Reply with quote

Grrrr....^2

"... I can say with some authority that using fetchmail as a Kmail back-end would be a Bad Thing..... "
https://lwn.net/Articles/347304/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum