Quote:
Originally Posted by LaFong The "Unknown argument : &" is likely related to the gzip'ing of the filelist, which follows the creation of the filelist. The "&&" in the code performs the next command if the first command is successful. The first command is probably not successful because of some issue with the encryption key, e.g. it was never set on install. Did you enter the encryption password during the install? It will never even ask you for the encryption password if you have it set to CRYPT="no" (the default) during install. The script should check for the key before attempting to decrypt, which I'd call a bug. You can manually set the encryption key if you like. |
Thanks, LaFong, et al, for your help. I appreciate each of you taking time to answer the questions of an ignorant n00b. I don't know of any better way to learn, though, than by asking questions and fixing things I've broken. Better to do so with my own mail than with someone else's.
I don't recall the script asking for an encryption passphrase when I installed it the first time. I bounced back to a pre-install condition to try to go through the process again to make sure I didn't miss something (I did).
That leads me first to a question about the install process, so I'd like to back up a bit if that's ok.
When I run zmbak --INSTALL, the script wants to install mailx, using mta-dummy, and it points to a
Zimbra forums post on installing mailx without postfix. Testing the instructions in that post (which are for Ubuntu 6.06; I'm on 10.04):
Code:
aptitude --safe-resolver --show-why install mailx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
"mailx" is a virtual package provided by:
mailutils heirloom-mailx bsd-mailx
You must choose one to install.
This is where I ran into some other difficulties previously. Big problems. (I broke postfix. Told ya I wasn't a sysadmin. I'm learning everything the hard way.) So: Does it matter which of these packages I install? Or is the crucial step editing /etc/mail.rc, as mentioned in the other post to which I referred? (I know I neglected that part last time... #facepalm)
Now, encryption: Let's assume I get the mailx dependency satisfied successfully and install the script again. If the script doesn't prompt me for an encryption passphrase, how do I go about setting the key manually?