In the Debian/Ubuntu setup for perdition, there is
/etc/perdition/perdition.conf and there is also /etc/default/perdition
which gets dotted into /etc/init.d/perdition. I'm running all of
pop3, pop3s, imap4, and imap4s modes.
Most of the config info is the same, so I did that in perdition.conf.
That leaves me with pretty short command line options to set
separately in /etc/default/perdition. So far, so good.
I'm trying to set imap_capability for imap4/imap4s and pop_capability
for pop3/pop3s. By trial and error, I have figured out that those two
names are just synonyms in perdition.conf, so I can't set them both
there. Fine, I'll just set them differently in
/etc/default/perdition.
Alas, the embedded spaces are driving me a little crazy. Has anyone
worked out the combination of quote marks, backslashes, and other
shell magic to get things interpreted correctly by the time it gets
interpreted by the init script?
(I know I can just use different config files for the different
protocols, which is what I will do if I don't find some other
solution. I'd just rather avoid the redundancy if there is some other
answer.)
Show replies by date