Commit 847519d6 authored by nimrod's avatar nimrod
Browse files

Avoid rescanning unchanged mailboxes.

In the SpamAssassin learn script, avoid going over mailboxes that
haven't changed in 2 days (the learn job runs daily so it should cover
failures as well).
parent 9a165c22
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ do
    find "$user" \
        -maxdepth 1 \
        -type f \
        -mtime -2 \
        \! -name Junk \
        \! -name Inbox \
        \! -name Sent \