Alexei Yu. Batyr' writes:
Bowie Bailey wrote on 30.04.2015 19:48: > No, main check is the mtime of Maildir/cur folder. It's exactly the time > when user last checked mail by IMAP or POP. Check for > sqwebmail-timestamp - only for those who use Sqwebmail and not use IMAP > or POP. > Didn't notice that. That actually works better than what I suggested > since you only get a single result per mailbox. > > Why do the check for sqwebmail-timestamp? Doesn't a login to sqwebmail > also result in new messages being moved to the cur folder and updating > the mtime? > Good question. I wrote this script more then 10 years ago and remember only that added sqwebmail-timestamp check later for some reason.
If you have maildrop filtering enabled, you could have a mail filter that delivers all or most of the mail to some folder. So the main maildir's cur and new directories may not actually be touched for a while.
However, sqwebmail-timestamp will always get updated with every login.
pgpsNnYiE4kZk.pgp
Description: PGP signature
------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users