I run it like this, (from command line) su cyrus -c "/usr/cyrus/bin/unexpunge -l user/demo@xxxxxxxxxxx" and when i try like this, su cyrus -c "/usr/cyrus/bin/unexpunge -l user.demo@xxxxxxxxxxx" it still doesn't work, can't lock null.... (and no one has accessed the mailbox in a hour when i try this or the above) :( /C Den Må, 2006-08-21, 23:52 skrev Scott Russell: > C.K wrote: > >> Is here anyone who ca ntell me how unexpunge works? >> >> >> i have delayed in imapd.conf expunge_mode: delayed >> >> >> and cyrus.conf delprune cmd="cyr_expire -E 6" at=0100 expunge >> cmd="cyr_expire -X 8" at=0300 >> >> but when i try the commands in any form i get errors like this, >> >> mail2# su cyrus -c "/usr/cyrus/bin/unexpunge -l user/demo@xxxxxxxxxxxx" >> mail2# tail /var/log/imapd.log >> >> Aug 21 17:57:50 mail2 unexpunge[47669]: unable to open/lock mailbox >> (null) >> >> > > I see the unable to open/lock mailbox if it's in use by an IMAP client. > The (null) part looks strange though. Maybe you have some character > separator settings that are confusing the situation? How are you running > the command exactly? > > -- > Scott Russell <lnxgeek@xxxxxxxxxx> > IBM Linux Technology Center, System Admin > > > ---- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > > > > ---- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html