It happens to all Domino servers. Dead mail. Lots of it. And you have two options, (a) manually clean it up every few days or (b) leave it to grow and grow.

Well, there is a third option. Have Domino delete the dead mail for you automatically. With no code. Like magic. Seriously, I'm not lying. Now, you may have an underlying issue about why you are getting dead mail, but let's ignore that for now and fix the issue, not the symptom.....

Open Domino Administrator, enable full access administration and go the Messaging tab. From here you will see one or many mail.box files:

Image:Old school - how to auto delete dead mail in the Domino mail.box

Click on one of the mail.boxes (you will have to do this for all listed mail.boxes).

With the mail.box open, go to File/Replication/Options for this Application menu item. You should get this window and select "Space Savers" tab:

Image:Old school - how to auto delete dead mail in the Domino mail.box

Simply check the "remove documents not modified in the last (days)". Set the number to whatever you are comfortable with.

Yes, this is a replication setting. But really it's not. No, it's not. Really.

Now any dead mail older than 7 days will be automatically removed.

See. No code. Just magic.
Darren Duke   |   September 11 2012 04:54:45 PM   |    domino    |  
  |   Next Document   |   Previous Document

Discussion for this entry is now closed.

Comments (5)

Gravatar Image
1 - Dennis van Remortel    http://www.d2k.nl/domino    09/12/2012 3:03:44 AM

Darren:

does this work if you set it in the template? For when you recreate mailboxes? I don't like things like this I can forget to do.

Gravatar Image
2 - Darren Duke    http://blog.darrenduke.net    09/12/2012 7:49:52 AM

I have not tried that, but I suspect it would work.

Gravatar Image
3 - Ben Rose       10/02/2012 7:43:22 AM

Why do you get lots of dead email? I get maybe one a month a most.

Gravatar Image
4 - Ben Rose       10/02/2012 7:43:29 AM

Why do you get lots of dead email? I get maybe one a month at most.

Gravatar Image
5 - Rakesh       03/27/2014 12:33:00 AM

Need to try this..