Alan Schmitt
2004-Oct-23 15:07 UTC
[Dovecot] dovecot and new mail notification for subfolders in Mail.app
Hello, 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'm pretty sure the problem comes from Mail.app. I have searched on Google for how to go around this issue, and have not yet found a solution. If someone here uses Mail.app and dovecot, I'd be really glad to have some advice as to what to do. (by the way, and this is probably related: new folders created in the maildir structure do not get reflected in Mail.app until I disconnect and reconnect). Thanks a lot, Alan Schmitt -- The hacker: someone who figured things out and made something cool happen. .O. ..O OOO -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20041023/78bd97af/attachment-0001.bin>
Peter Lacey
2004-Oct-24 20:27 UTC
[Dovecot] dovecot and new mail notification for subfolders in Mail.app
That's my setup. I just tried it, and it works for me. However, I created the imap folder through mail.app and used a rule to route mail into it. Presumably you are creating your imap folders remotely, and using procmail or something to route mail into them. If that's the case, then my test isn't valid. Pete On Oct 23, 2004, at 11:07 AM, Alan Schmitt wrote:> Hello, > > 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'm pretty sure the problem comes from Mail.app. I have searched on > Google for how to go around this issue, and have not yet found a > solution. If someone here uses Mail.app and dovecot, I'd be really glad > to have some advice as to what to do. > > (by the way, and this is probably related: new folders created in the > maildir structure do not get reflected in Mail.app until I disconnect > and reconnect). > > Thanks a lot, > > Alan Schmitt > > -- > The hacker: someone who figured things out and made something cool > happen. > .O. > ..O > OOO
Timo Sirainen
2004-Oct-25 13:47 UTC
[Dovecot] dovecot and new mail notification for subfolders in Mail.app
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20041025/b61c1255/attachment-0001.bin>