expire does not remove messages

1. I configured these settings to remove files from the Deleted folder:

store.expirerule.agedeleted.exclusive = yes

store.expirerule.agedeleted.folderpattern = user/%/Deleted

store.expirerule.agedeleted.messagedays = 30

store.expirestart = 22

2. I ran a test expire with 'stored -n -v' and verified that messages would be expired from many accounts.

3. I checked the default log and found that the expire started at 22:00 and finished at 23:46, but NO messages were removed.

What's wrong?

I'm using version:

iPlanet Messaging Server 5.2 HotFix 2.12 (built May 22 2006)

libimta.so 5.2 HotFix 2.12 (built 15:13:17, May 22 2006)

HP-UX mailserv B.11.11 U 9000/800 1683737817 unlimited-user license

[770 byte] By [dpelinkaa] at [2007-11-26 14:08:25]
# 1
Well, on my system, the "trash" folder is not named, "Deleted", but is named, "Trash". .. That would explain why it's not working for you.Also, most changes you make with configutil requre a server restart. You did restart, right?
jay_plesseta at 2007-7-8 1:55:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

Yes, I did a stop-msg/start-msg. Our system has both Trash and Deleted folders. The 'stored -n -v' check returned messages like this:

NOTICE: expired 166 messages in 'user/aabebe/Deleted'

I expected that the real run would remove those messages. This is the first time I've run an expire. Could it be they weren't deleted because stored can't tell they've been in the folder for 30 days? If that was true, I wouldn't expect to see the message above during the test.

dpelinkaa at 2007-7-8 1:55:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
I'd be interested in seeing whatstored -c -vdays, and does.
jay_plesseta at 2007-7-8 1:55:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4
Well, messages are being deleted, but I don't understand why. When I run 'stored -n -v' interactively (test mode), then control-C, messages that should have been expired disappear from the user mail store. That doesn't make sense. I'll continue to monitor this.
dpelinkaa at 2007-7-8 1:55:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5
Well, if we assume for the sake of argument, that -n actually means, "do the deletes, but back them out before exiting", then the answer is pretty clear.Messages get deleted, and are not backed out, because of the ctrl c. I would not stop these things without a real urgency to do so.
jay_plesseta at 2007-7-8 1:55:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 6
The expire ran longer last night and it appears messages were removed. I don't know why messages weren't deleted the first night, but the stored deamon sometimes works in mysterious ways. I'll continue to monitor.
dpelinkaa at 2007-7-8 1:55:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...