watch/monitor mailbox and notify new mails
I have googled some ways to watch(monitor) mailbox(I use maildir) and Notify when have new mails. First one is use some scripts. I found one on github that monitor maildir can notify. This method should be more simple. Second is use mutt's own status_format = filter '' | to pipe to a script. then script will notify you. but I use sidebar patch, this method can not display status_format any more. I have tried those method. Or maybe write one script to run in cron to watch maildir. Anyway, I have not find good method still. If you have any idea about this. Or if you have some good hints or suggests. please tell me, thanks. -- stardiviner GPG: 5D9F64D8 Twitter: @numbchild http://stardiviner.dyndns-blog.com/author.html signature.asc Description: Digital signature
Re: watch/monitor mailbox and notify new mails
On Sat, Oct 22, 2011 at 07:26:52PM +0800, stardiviner wrote: Maybe fsniper is for you: A tool that monitors a given set of directories for new or modified files then applies rule based scripts https://github.com/l3ib/fsniper I've never tried out myself but its on my roadmap - currently I start my scripts cron based. Best regards Sebastian Tramp I have googled some ways to watch(monitor) mailbox(I use maildir) and Notify when have new mails. First one is use some scripts. I found one on github that monitor maildir can notify. This method should be more simple. Second is use mutt's own status_format = filter '' | to pipe to a script. then script will notify you. but I use sidebar patch, this method can not display status_format any more. I have tried those method. Or maybe write one script to run in cron to watch maildir. Anyway, I have not find good method still. If you have any idea about this. Or if you have some good hints or suggests. please tell me, thanks. -- WebID: http://sebastian.tramp.name
Re: watch/monitor mailbox and notify new mails
On Saturday 10/22/11 19:26:52 CST, stardiviner wrote: I have googled some ways to watch(monitor) mailbox(I use maildir) and Notify when have new mails. First one is use some scripts. I found one on github that monitor maildir can notify. This method should be more simple. Second is use mutt's own status_format = filter '' | to pipe to a script. then script will notify you. but I use sidebar patch, this method can not display status_format any more. I have tried those method. Or maybe write one script to run in cron to watch maildir. Anyway, I have not find good method still. If you have any idea about this. Or if you have some good hints or suggests. please tell me, thanks. If you are looking for a desktop widget, you can try gnubiff, xbiff2, xbiff, and etc. the first one supports multiple mailbox. the second seems just support only one mailbox. the last one xbiff only support mbox. So gnubiff is most probably suitable for you. If you just need a notify program, you can also try libnotify. Use a script to check new mails and use the command notify-send to send notifications. I personally like the small and simple program xbiff, so I use a C program + xbiff + libnotify. which the C program is use to check mailboxes and then write a mbox file which could be monitored by xbiff. Best regards, du yang -- oooO: (..): :\.(:::Oooo:: ::\_)::(..):: :::)./::: ::(_/ signature.asc Description: Digital signature
Re: watch/monitor mailbox and notify new mails
= On [2011-10-22 16:34:34 +0200]: Sebastian Tramp Said: On Sat, Oct 22, 2011 at 07:26:52PM +0800, stardiviner wrote: Maybe fsniper is for you: A tool that monitors a given set of directories for new or modified files then applies rule based scripts https://github.com/l3ib/fsniper This is not a simple way. but this is a good tool really. Thanks very much. I do not know whether monitor maildir is hard to do with script. but usually script is more simple then install one stuff. I've never tried out myself but its on my roadmap - currently I start my scripts cron based. Best regards Sebastian Tramp I have googled some ways to watch(monitor) mailbox(I use maildir) and Notify when have new mails. First one is use some scripts. I found one on github that monitor maildir can notify. This method should be more simple. Second is use mutt's own status_format = filter '' | to pipe to a script. then script will notify you. but I use sidebar patch, this method can not display status_format any more. I have tried those method. Or maybe write one script to run in cron to watch maildir. Anyway, I have not find good method still. If you have any idea about this. Or if you have some good hints or suggests. please tell me, thanks. -- WebID: http://sebastian.tramp.name -- stardiviner GPG: 5D9F64D8 Twitter: @numbchild http://stardiviner.dyndns-blog.com/author.html signature.asc Description: Digital signature
Re: watch/monitor mailbox and notify new mails
= On [2011-10-22 23:01:52 +0800]: du yang Said: On Saturday 10/22/11 19:26:52 CST, stardiviner wrote: I have googled some ways to watch(monitor) mailbox(I use maildir) and Notify when have new mails. First one is use some scripts. I found one on github that monitor maildir can notify. This method should be more simple. Second is use mutt's own status_format = filter '' | to pipe to a script. then script will notify you. but I use sidebar patch, this method can not display status_format any more. I have tried those method. Or maybe write one script to run in cron to watch maildir. Anyway, I have not find good method still. If you have any idea about this. Or if you have some good hints or suggests. please tell me, thanks. If you are looking for a desktop widget, you can try gnubiff, xbiff2, xbiff, and etc. the first one supports multiple mailbox. the second seems just support only one mailbox. the last one xbiff only support mbox. So gnubiff is most probably suitable for you. I will try this gnubiff. thanks du yang. If you just need a notify program, you can also try libnotify. Use a script to check new mails and use the command notify-send to send notifications. I personally like the small and simple program xbiff, so I use a C program + xbiff + libnotify. which the C program is use to check mailboxes and then write a mbox file which could be monitored by xbiff. Best regards, du yang -- oooO: (..): :\.(:::Oooo:: ::\_)::(..):: :::)./::: ::(_/ -- stardiviner GPG: 5D9F64D8 Twitter: @numbchild http://stardiviner.dyndns-blog.com/author.html signature.asc Description: Digital signature