[Dovecot] Just in time AV scanning

Timo Sirainen tss at iki.fi
Fri Mar 16 19:55:44 EET 2012


On 16.3.2012, at 19.52, Kelsey Cummings wrote:

> On 03/16/12 08:30, Ed W wrote:
>> 2) Extremely racey, but if you were on maildir you could use some kind
>> of pre-login scripting to kick off a scan on login. Touch some lock file
>> so that you can tell when last scanned and only scan if the definitions
>> have been updated since you last scanned?
> 
> I think this is actually the best solution to match our existing POP behavior.  This was a lot cooler back when 90% of our users were on POP and on average had a couple of hours between checks - it may be a feature that has outlived its usefulness.

Whatever you do: Don't modify existing message files (without renaming them so they appear as new mails). IMAP (and Dovecot) require that messages never change.




More information about the dovecot mailing list