[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
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
Le 24 oct. 04, à 22:27, Peter Lacey a écrit :
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.
I am indeed routing mail through procmail (or synchronizing it using the unison file synchronizer), so unfortunately this is a bit different.
Thanks.
Alan Schmitt
The hacker: someone who figured things out and made something cool happen. .O. ..O OOO
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
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
participants (3)
-
Alan Schmitt
-
Peter Lacey
-
Timo Sirainen