diff --git a/j-lawyer-server/j-lawyer-server-war/src/java/com/jdimension/jlawyer/timer/MailboxScannerTask.java b/j-lawyer-server/j-lawyer-server-war/src/java/com/jdimension/jlawyer/timer/MailboxScannerTask.java index 8009359f8..0f5e9f5d9 100644 --- a/j-lawyer-server/j-lawyer-server-war/src/java/com/jdimension/jlawyer/timer/MailboxScannerTask.java +++ b/j-lawyer-server/j-lawyer-server-war/src/java/com/jdimension/jlawyer/timer/MailboxScannerTask.java @@ -886,8 +886,8 @@ protected PasswordAuthentication getPasswordAuthentication() { for (Message msg : allMessages) { if (msg.getReceivedDate() != null) { - if (msg.getReceivedDate().getTime() < (currentTimeStamp - (1000l * 60l * 60l * 24l * 31l * 3l))) { - log.info("Message '" + msg.getSubject() + "' is older than three months and will not be processed"); + if (msg.getReceivedDate().getTime() < (currentTimeStamp - (1000l * 60l * 60l * 24l * 31l * 2l))) { + log.info("Message '" + msg.getSubject() + "' is older than two months and will not be processed"); continue; } }