[Users] Need help, moving from kmail-1.13.5 to claws-mail

Gene Heskett gheskett at wdtv.com
Sun Feb 23 14:42:49 CET 2014


On Sunday 23 February 2014 08:39:50 Holger Berndt did opine:

> On Sa, 22.02.2014 22:05, Gene Heskett wrote:
> >A session of
> >inotifywatch being run by a looping script then arranges to send kmail
> >a go get the mail commend over the dbus everytime a $user file is
> >closed in /var/spool/mail.  This has been working extremely well for
> >several years and linux installs, but claws-mail will need to be
> >notified by some other means to go get and sort the mail.
> 
> You can trigger Claws-Mail to receive mail with the --receive and
> --receive-all command line switches.
> 
> >How would one go about doing that from this looping script since
> >claws-mail doesn't have a dbus port?
> 
> One of the examples of the python plugin is to add a simple dbus
> interface, which would also allow you to trigger mail receiving
> externally
> 
> dbus-send --session --type=method_call --dest=org.ClawsMail.PythonPlugin
> /org/ClawsMail/PythonPlugin
> org.ClawsMail.PythonPlugin.MainWindow.TriggerGtkAction
> string:'Message/Receive/AllAccounts'
> 
> But if you just want to trigger receiving, the command line switch is
> easier, and has the additional benefit of starting Claws Mail if it's
> not yet running.
> 
> Holger

Thank you Holger, printed for the next time I swap drives & reboot.  Maybe 
I'll get this to work yet. ;-)  These python examples are in a claws-mail-
python package?

> _______________________________________________
> Users mailing list
> Users at lists.claws-mail.org
> http://lists.claws-mail.org/cgi-bin/mailman/listinfo/users


Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

NOTICE: Will pay 100 USD for an HP-4815A defective but
complete probe assembly.




More information about the Users mailing list