bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Movemail options


From: Sergey Poznyakoff
Subject: Re: Movemail options
Date: Sat, 02 Oct 2021 19:31:30 +0200
User-agent: MH (GNU Mailutils 3.13.90)

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

[Prev in Thread] Current Thread [Next in Thread]