>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.

On 30.04.15 21:15, Sam Varshavchik wrote:
>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.

if a user does log in once per time, using IMAP_EMPTYTRASH for automatic
deletion from some (trash, spam) folders and compiling --with-trashquota
should help the issue

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Holmes, what kind of school did you study to be a detective?
- Elementary, Watson.  -- Daffy Duck & Porky Pig

------------------------------------------------------------------------------
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

Reply via email to