search for: hash_fold

Displaying 2 results from an estimated 2 matches for "hash_fold".

Did you mean: has_fold
2015 Mar 04
0
Rebuilding SIS attachment links from log
...------ next part -------------- #!/bin/bash # These variables need to be customized for your particular installation LOGFILE='/var/log/mail.err' ATTACHMENT_STORAGE_BASE='/var/mail/attachments' # These variables are based on current Dovecot behaviour and should not require changing HASH_FOLDER='hashes' # Initialization PREVIOUS_ERR='' ERR='' function usage { echo "Dovecot Single-Instance-Storage Attachment Repair" echo "usage: dovesisfix [-d] [-t] [-v] [-h]" echo " -t | --test-only perform logfile analysis and show steps...
2015 Mar 03
3
Rebuilding SIS attachment links from log
This seems simple enough...I'm just not script wizard. If someone can throw together a starting point I can test and tweak it from there. It seems to me: 1. Read /var/mail/mail.err or specified logfile 2. For each "failed: read(/var/mail/attachments/aa/bb/attachmentHash-userHash" line, a. Confirm /var/mail/attachments/aa/bb/hashes/attachmentHash exists i. If