[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dovecot
Subject:    [Dovecot] dovecot and new mail notification for subfolders in
From:       alan.schmitt () polytechnique ! org (Alan Schmitt)
Date:       2004-10-25 17:00:22
Message-ID: 2FF87C2E-268E-11D9-BBCD-000D93C467F4 () polytechnique ! org
[Download RAW message or body]

Le 25 oct. 04, ? 15:47, Timo Sirainen a ?crit :

> On 23.10.2004, at 18:07, Alan Schmitt wrote:
>
>> I am using dovecot as an IMAP server to which Mail.app (Apple Mail)
>> connects.  However I do not get any notification of new mails in 
>> folders
>> other than the inbox, unless I disconnect and reconnect Mail.app or
>> click on the folder with new mail.
>
> I found this applescript some time ago, but stopped using it because 
> mail.app started crashing more often then. But that was a year ago or 
> so.. Maybe it works more nicely nowadays:
>
> on checkMail()
> 	tell application "Mail"
> 		set everyAccount to every imap account
> 		repeat with eachAccount in everyAccount
> 			tell eachAccount
> 				set include when getting new mail to false
> 				set include when getting new mail to true
> 			end tell
> 		end repeat
> 	end tell
> end checkMail
>
> on run
> 	checkMail()
> end run
>
> on idle
> 	checkMail()
> 	return 60
> end idle

Thanks a lot, I'll have to try this (someone else sent me this script 
directly as well). This seems like such an obvious feature that it's 
surprising Mail.app doesn't have it yet.

Alan Schmitt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=
Url : http://dovecot.org/pipermail/dovecot/attachments/20041025/98125fc4/PGP-0001.pgp
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic