inotifywait -m -e close --format %f

Duncan 1i5t5.duncan at cox.net
Mon Jan 17 23:13:04 GMT 2011


gene heskett posted on Mon, 17 Jan 2011 17:27:00 -0500 as excerpted:

> Is there a way I can mate an output from the above command line,
> watching /var/spool/mail, to trigger a 'check mail' function in the
> recent kmail?
> 
> This is a case of not needing the text output, but just the occurrence
> of the output, used as an interrupt to kmail.  This would synchronize
> kmail with the activities of fetchmail and procmail/SA so I see incoming
> mail several minutes quicker.

I can't answer your question, but have one for you:

"Recent kmail"?

Are you being as flexible with that as the term suggests, or do you mean 
the new akonadi-enabled kmail (kmail2, I believe I've seen it called) not 
yet out of pre-release but which will presumably be the kmail introduced 
at sometime in the kde 4.6 cycle, or do you mean the kde4 thru 4.4.x kmail 
that's "current" but that hasn't been getting anything but minimal 
maintenance attention since pre-4.4, as they work on the akonadi-enabled 
version, or do you mean the kde3.5/trinity version still being worked on 
by the kde3/trinity project continuation, or...?

Because all of these are "recent kmail" in some sense, but the answer may 
differ depending on which one you are referring to, the kde3/trinity 
question presumably belongs on a different list, an answer for "current" 
full-release kmail will likely be dated within months but could well be 
what you're after, and of course the answer likely to remain valid going 
forward may well apply only to the still pre-release kmail2.

Of course if you're flexible and will take an answer for any of them... 
=:^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list