[Users] Calling external program before MTA login?

Pierre Fortin pf at pfortin.com
Thu Feb 13 00:06:25 CET 2020


On Tue, 11 Feb 2020 08:16:51 +0000 Brad Rogers wrote:

>On Mon, 10 Feb 2020 21:44:58 -0500
>Pierre Fortin <pf at pfortin.com> wrote:
>
>Hello Pierre,

Hi Brad,

>>Is there a way to call an external program just before each MTA login?  
>
>Maybe actions can help, but that probably means a manual call each time
>you want to collect mail.

I would like to be able to call per account.

>Another option is to write a script that calls the program you want to
>run, then calls CM from the command line, claws-mail.  If you want to do
>this on a timed basis, you could set up a cron job to run the script.

OK, I see that while CM is running, I can issue:

    claws-mail --receive <account>

which may suffice...

Thanks
Pierre


More information about the Users mailing list