Quoting Mark Farver <[EMAIL PROTECTED]>: > Turbo Fredriksson wrote: > >> But the QUEUE files are encoded with the inode, which will change >> when/if you so much as TOUCHES the file (that is, everything but a >> READ!). > > So worst case I lose a couple dozen messages.. my users can handle > that, but they would kill me if their saved messages were lost. (We > use IMAP and encourage people to save mail on the server.)
Not shure what you're getting at, I just told you how Qmail works. The name/file you see in the queue directory is the actuall inode it's on! How you deal with this, you're problem. I've been told that it can be done (a restore from backup). This is nothing I've tried, but if you like to give it a shot, I would be most interested in hearing _more_ success stories. I've heard one recommend a python script that can fix this. ----- s n i p ----- fritz:/var/qmail/queue# /bin/ls -li ./mess/1/1240322 1240322 -rw-r--r-- 1 qmailq qmail 2373 Jan 1 22:59 ./mess/1/1240322 fritz:/var/qmail/queue# /bin/ls -li `find -name 1240322` 1729921 -rw------- 1 qmails qmail 2 Jan 1 22:59 ./info/1/1240322 1240322 -rw-r--r-- 1 qmailq qmail 2373 Jan 1 22:59 ./mess/1/1240322 65281 -rw------- 1 qmails qmail 26 Jan 1 22:59 ./remote/1/1240322 ----- s n i p ----- If you backup this file and then later restore it, it is _most likley_ (read, with almost 100% certainty) NOT be on inode 1240322.... As you might see here, it's only the actuall _message_ file that's encoded with the inode, which makes things easier. I guess that if I really cared, I could whip up a shell script in a couple of minutes that can fix this (restore) problem... I'm just saying. IF you backup your queue directory, you will NOT be able to restore it and be on your way. You MUST run _some_ script to fix the queue after a restore. -- smuggle critical spy Iran toluene BATF Mossad domestic disruption FSF Honduras genetic radar Clinton cryptographic quiche [See http://www.aclu.org/echelonwatch/index.html for more about this] [Or http://www.europarl.eu.int/tempcom/echelon/pdf/rapport_echelon_en.pdf] If neither of these works, try http://www.aclu.org and search for echelon.