Hi Duke,

> Can `movemail' be run as a daemon like `fetchmail'?

No, it cannot.  You can run it as a cronjob, if the need be.

> I know that `mailutils' has `imap4d', but I don't grok exactly what
> it does behind the scene.

Imap4d is in certain sense on the other side of the fence -- it is a 
server program designed to serve mail to the clients, whereas movemail
is a client program, i.e. a program run by a client to retrieve his mail
from the server (such as imap4d).

> - poll imap server at regular intervals to check for mail
> - if mail is present, run `movemail' from emacs (or from my CLI)

You can either run movemail as a cronjob, as I mentioned above, or,
if you want to run it from Emacs, use the run-with-timer function
(https://www.gnu.org/software/emacs/manual/html_node/elisp/Timers.html)
to run it periodically.

Regards,
Sergey

Reply via email to