2 # munlock - set up Maildir environment, leaving no (unencrypted) trace of mail
3 # and credentials on disk (excepting syslog(3)) unless specifically
4 # requested, making sure not to overwrite any files
8 for (b in $inbox $outbox) {
9 for (d in new cur tmp) {
21 test -e /tmp/dma/auth.conf || {
23 succeed gpg --yes -q -d -o /tmp/dma/auth.conf $home/lib/.dma.auth.conf.gpg
24 doas chown :mail /tmp/dma/auth.conf
27 ## mblaze(1) , mblaze-profile(5)
29 test -e /tmp/.mblaze/profile || {
30 succeed gpg --yes -q -d -o $MBLAZE/profile $home/lib/.mblaze.profile.gpg
31 chmod 0600 $MBLAZE/profile
33 # mcom(1) throws lots of errors without this
34 test -e $MBLAZE/seq || {
36 chmod 0600 $MBLAZE/seq
38 test -e $MBLAZE/signature || {
39 succeed gpg --yes -q -d -o $MBLAZE/signature $home/lib/.mblaze.signature.gpg
40 chmod 0600 $MBLAZE/signature