Inbox problem cleaning | MDaemon Technologies, Ltd.

Inbox problem cleaning


  • Good morning, I don't know why users' email inboxes are being cleaned, only the last two months are appearing. somebody help me



  • We would love to help you.  CAn you provide more details about "users' email inboxes are being cleaned"?

    What version of MDaemon are you using?

    What email protocols are being used to access mailboxes?

    What email clients are being used to access mailboxes?

    Are all messages being removed from users' inboxes?

    Is it only messages older than a certain number of days that are being removed from users' inboxes?  

    Check your pruning settings in MDaemon Remote Administration.

    1. Setup / Server Settings / Pruning
    2. Main / Domain Manager / Select your domain / edit / Settings.
    3. Main / Account Manager / Select an account / edit / Quotas

    If you are applying templates to accounts, you should also check the settings under Main / Account Templates / Select a template / Edit / Quotas

    Do you have an email archiving tool, such as MailStore, that is archiving mail out of user mailboxes?

    If you have an archiving tool, make sure it is not deleting messages that it archives.


  • We would love to help you. Can you provide more details about "users' email inboxes are being cleaned"?

    Are all users

    What version of MDaemon are you using? 23.0.2

    What email protocols are being used to access mailboxes?

    Http

    What email clients are being used to access mailboxes?

    Via web http

    Are all messages being removed from users' inboxes?

    Only the oldest ones. Since 1 month ago

    Is it only messages older than a certain number of days that are being removed from users' inboxes?

    All messages I even have an email that is to archive copies of all incoming messages and outgoing messages of all emails and it is also affecting

    Check your pruning settings in MDaemon Remote Administration.

    It is at 0. No limit

    1. Setup / Server Settings / Pruning

    It is all unchecked and in 0 days.

    2. Main / Domain Manager / Select your domain / edit / Settings.

    Everything is in 0 days, except antivirus and antispam is marked

    3. Main / Account Manager / Select an account / edit / Quotas

    Quota restriction is disabled

    If you are applying templates to accounts, you should also check the settings under Main / Account Templates / Select a template / Edit / Quotas

    Quota configuration is disabled

    Do you have an email archiving tool, such as MailStore, that is archiving mail out of user mailboxes?

    This option is only enabled to send copies to an email address in the inbox and outbox.

    If you have an archiving tool, make sure it is not deleting messages that it archives.

    I don't see options that tell me if you are deleting the emails







  • Does the AccountPrune.log file in the MDaemon\logs directory show it removing any messages?  Please post the most recent snippet (bottom of the log file) that shows from "Begin removing old mail" all the way to "Done removing old mail"

    If you go to the mailbox directory (MDaemon\Users\$DOMAIN$\$MAILBOX$\ for an account that is having this issue, are there .msg files in that folder older than what is being shown in webmail?

    If the messages exist in the user mailbox, but are not being shown in webmail, then something in webmail must be causing them to not be shown.

    If the messages don't exist in the user mailbox, then something must be deleting them.  Check the webmail log file for entries that show messages being deleted.  Is the user accidentally deleting old messages?

    When a message is deleted a line similar to the following should be logged:

    Fri 2023-12-15 06:23:50.316: [ZMRUJED4R4A4Q] {688ecf7afd} User jack.johnson@domain.com - Sent command to delete message id <MDAEMON0004202312141245.bb4504550@mail.domain.com> with filename md5001000005715.msg in folder Inbox.

     


  • @Arron I will answer your questions soon. I just wanted to tell you that I have realized one thing and that is that all the messages that are in the inbox are from 2023/12/01 until today and it is only the inbox, in the sent tray if there are old messages even from 2020


  • @Arron apparently it's something that's clearing out your inbox on the last day of every month.


  • I can't think of anything in MDaemon that would clear out your inbox on the last day of every month.  

    If it were caused by the Pruning feature it would run every day and would delete messages older than X days. 

    Where there any disk errors in the Windows event log?

    Could somebody have ran a script on the MDaemon server that deleted MSG files?

    Could somebody have logged into the account using POP3?  POP3 clients typically delete messages after they are retrieved, so if somebody connected to an account with a POP3 client, it could have downloaded and deleted all messages in the inbox at the time.


  • @Arron 

    This is today's accountPrune.log log

     [Sat 2023-12-16 00:00:30] -- LogFile opening  [Sat 2023-12-16 00:00:30] MDaemon User DLL loaded successfully  [Sat 2023-12-16 00:00:30] Linked attachments will not be removed  [Sat 2023-12-16 00:00:30] Begin remove auto responder data  [Sat 2023-12-16 00:00:30] End remove auto responder data  [Sat 2023-12-16 00:00:30] Begin clear mail check data  [Sat 2023-12-16 00:00:30] Begin remove inactive users  [Sat 2023-12-16 00:00:30] Loading domain settings  [Sat 2023-12-16 00:00:30] Settings for: ************** - MaxInactive 0; MaxMsgAge 0; not processing subdirs; not removing disabled account  [Sat 2023-12-16 00:00:30] Settings for: ************** - MaxInactive 0; MaxMsgAge 0; not processing subdirs; not removing disabled account  [Sat 2023-12-16 00:00:30] Done loading domain settings  [Sat 2023-12-16 00:00:31] Beginning removal of inactive users  [Sat 2023-12-16 00:00:31] End remove inactive users  [Sat 2023-12-16 00:00:31] Begin remove disabled users  [Sat 2023-12-16 00:00:32] Beginning removal of disabled users  [Sat 2023-12-16 00:00:32] End remove disabled users  [Sat 2023-12-16 00:00:32] Begin removing old mail  [Sat 2023-12-16 00:00:32] Loading domain settings  [Sat 2023-12-16 00:00:32] Settings for:. ************* - MaxInactive 0; MaxMsgAge 0; not processing subdirs; not removing disabled account  [Sat 2023-12-16 00:00:32] Settings for: ****************** - MaxInactive 0; MaxMsgAge 0; not processing subdirs; not removing disabled account  [Sat 2023-12-16 00:00:32] Done loading domain settings  [Sat 2023-12-16 00:00:32] Old messages will be removed  [Sat 2023-12-16 00:00:32] Begin PurgeAllUsersMail  [Sat 2023-12-16 00:00:33] End PurgeAllUsersMail  [Sat 2023-12-16 00:00:33] Done removing old mail  [Sat 2023-12-16 00:00:33] -- LogFile closing  [Sat 2023-12-16 00:00:28] -- LogFile opening  [Sat 2023-12-16 00:00:29] MDaemon User DLL loaded successfully  [Sat 2023-12-16 00:00:29] Linked attachments will not be removed  [Sat 2023-12-16 00:00:29] Compressing old mail directory: C:\MDaemon\Logs  [Sat 2023-12-16 00:00:29] Archive Pathname: C:\MDaemon\Logs\OldLogs\Logs-2023-12-16-Sat-00-00-26.zip  [Sat 2023-12-16 00:00:29] Archiving messages/logs older than 1 days old  [Sat 2023-12-16 00:00:29] Archived messages/logs will be removed from disk  [Sat 2023-12-16 00:00:29] Only the passed directory will be archived  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\AccountPrune_2023-12-15.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\AclShlFix-2023-12-15.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\AirSyncMgmt-20231214.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\AntiVirus-ClamAVUpdater-2023-12-14.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\DynScrn-2023-12-14.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\HTTP-2023-12-14.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\InstantMessaging-2023-12-14.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\ListPrune_2023-12-15.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-Active-Directory.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-AntiSpam.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-AntiVirus.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-Auth-Failures.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-Content-Filter.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-DKIM.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-DMARC.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-DNSBL.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-DomainPOP.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-IMAP.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-MDaemon-Connector.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-MDaemon.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-MTA-STS.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-Minger.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-MultiPOP.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-POP3.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-Plug-ins.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-RAW.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-Routing.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-SMTP-(in).log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-SMTP-(out).log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-SPF.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-Screening.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-System.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-VBR.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-all.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MDaemon-2023-12-15-Statistics.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\MdMbSrch-2023-12-14.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\WDaemon-2023-12-14.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\WebAdmin-2023-12-14.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\WebAdmin-Changes-2023-12-14.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\WebAdmin-HTTP-2023-12-14.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\WebAdmin-WDaemon-2023-12-14.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\Webmail-2023-12-14.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\XMPPBOSHServer-2023-12-14.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\XMPPServer-2023-12-14.log  [Sat 2023-12-16 00:00:57] Deleted C:\MDaemon\Logs\XMPPServer-DB-2023-12-14.log  [Sat 2023-12-16 00:00:57] -- LogFile closing   

     


  • @Arron 

    This is the log of yesterday the 15th

     [Fri 2023-12-15 00:00:27] -- LogFile opening  [Fri 2023-12-15 00:00:27] MDaemon User DLL loaded successfully  [Fri 2023-12-15 00:00:27] Linked attachments will not be removed  [Fri 2023-12-15 00:00:27] Compressing old mail directory: C:\MDaemon\Logs  [Fri 2023-12-15 00:00:27] Archive Pathname: C:\MDaemon\Logs\OldLogs\Logs-2023-12-15-Fri-00-00-27.zip  [Fri 2023-12-15 00:00:27] Archiving messages/logs older than 1 days old  [Fri 2023-12-15 00:00:27] Archived messages/logs will be removed from disk  [Fri 2023-12-15 00:00:27] Only the passed directory will be archived  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\AccountPrune_2023-12-14.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\AclShlFix-2023-12-14.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\AirSyncMgmt-20231213.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\AntiVirus-ClamAVUpdater-2023-12-13.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\DynScrn-2023-12-13.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\HTTP-2023-12-13.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\InstantMessaging-2023-12-13.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\ListPrune_2023-12-14.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-Active-Directory.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-AntiSpam.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-AntiVirus.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-Auth-Failures.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-Content-Filter.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-DKIM.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-DMARC.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-DNSBL.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-DomainPOP.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-IMAP.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-MDaemon-Connector.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-MDaemon.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-MTA-STS.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-Minger.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-MultiPOP.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-POP3.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-Plug-ins.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-RAW.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-Routing.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-SMTP-(in).log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-SMTP-(out).log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-SPF.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-Screening.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-System.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-VBR.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-13-all.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MDaemon-2023-12-14-Statistics.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\MdMbSrch-2023-12-13.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\WDaemon-2023-12-13.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\WebAdmin-2023-12-13.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\WebAdmin-HTTP-2023-12-13.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\WebAdmin-WDaemon-2023-12-13.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\Webmail-2023-12-13.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\XMPPBOSHServer-2023-12-13.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\XMPPServer-2023-12-13.log  [Fri 2023-12-15 00:00:40] Deleted C:\MDaemon\Logs\XMPPServer-DB-2023-12-13.log  [Fri 2023-12-15 00:00:40] -- LogFile closing  [Fri 2023-12-15 00:00:27] -- LogFile opening  [Fri 2023-12-15 00:00:27] MDaemon User DLL loaded successfully  [Fri 2023-12-15 00:00:27] Linked attachments will not be removed  [Fri 2023-12-15 00:00:27] Begin remove auto responder data  [Fri 2023-12-15 00:00:27] End remove auto responder data  [Fri 2023-12-15 00:00:27] Begin clear mail check data  [Fri 2023-12-15 00:00:27] Begin remove inactive users  [Fri 2023-12-15 00:00:27] Loading domain settings  [Fri 2023-12-15 00:00:27] Settings for: *****************- MaxInactive 0; MaxMsgAge 0; not processing subdirs; not removing disabled account  [Fri 2023-12-15 00:00:27] Settings for: *****************- MaxInactive 0; MaxMsgAge 0; not processing subdirs; not removing disabled account  [Fri 2023-12-15 00:00:27] Done loading domain settings  [Fri 2023-12-15 00:00:42] Beginning removal of inactive users  [Fri 2023-12-15 00:00:42] End remove inactive users  [Fri 2023-12-15 00:00:42] Begin remove disabled users  [Fri 2023-12-15 00:00:42] Beginning removal of disabled users  [Fri 2023-12-15 00:00:42] End remove disabled users  [Fri 2023-12-15 00:00:42] Begin removing old mail  [Fri 2023-12-15 00:00:42] Loading domain settings  [Fri 2023-12-15 00:00:42] Settings for: *****************  - MaxInactive 0; MaxMsgAge 0; not processing subdirs; not removing disabled account  [Fri 2023-12-15 00:00:42] Settings for: ***************** - MaxInactive 0; MaxMsgAge 0; not processing subdirs; not removing disabled account  [Fri 2023-12-15 00:00:42] Done loading domain settings  [Fri 2023-12-15 00:00:42] Old messages will be removed  [Fri 2023-12-15 00:00:42] Begin PurgeAllUsersMail  [Fri 2023-12-15 00:00:45] End PurgeAllUsersMail  [Fri 2023-12-15 00:00:45] Done removing old mail  [Fri 2023-12-15 00:00:45] -- LogFile closing

     

    The ********** its de name of the domain server


  • The two account prune logs show that the server is not configured to prune old mail, and they did not delete any old messages.  I would reccomend checking the logs on the days around when the messages disappeared.


  • @Arron 

    I found this un mdaemon.ini

    StatsDBPruneDays=30

    ???

     


  • That is the number of days database records are kept in the statistics DB.  It does not affect messages.  You can configure it in MDaemon by going to Setup / Server Settings / Logging / Statistics Log.

    You can find more information in the help file at https://help.mdaemon.com/MDaemon/en/log_statistics_log.html


  • There is a file called cleanup.bat, in the App folder, with the following script.

    There is a problem with that?

     


  • No, that is the default cleanup.bat file that runs listprune and account prune.

    What do the accoutprune, webmail, imap, and POP logs show from around the time the messages disappeared?

    Where there any disk errors in the Windows event log around the time the message disappeared?

    Could somebody have ran a script on the MDaemon server that deleted MSG files?

    Could somebody have logged into the account using POP3?  POP3 clients typically delete messages after they are retrieved, so if somebody connected to an account with a POP3 client, it could have downloaded and deleted all messages in the inbox at the time.


  • @Arron I need to send the pop3 log but it is very long, I found something in the texts that say that the messages are deleted.


  • 1 / 2
  • 2
Please login to reply this topic!