Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
KMail: Run script on open for local mail dirs
I use offlineimap to synchronize my mail, and I have the directory set up as a local folder in KMail.
Currently, I open KMail and also run
offlineimap to synchronize my mail. Is there a way to make KMail to run this command automatically, similar to how it would synchronize an IMAP account?
Note: I do not want to set up IMAP inside KMail. I want to keep using offlienimap for synchronization.