mkimap fails if "@include" in imapd.conf

OpenMacNews OpenMacNews at speakeasy.net
Sat Jul 9 11:30:58 EDT 2005


hi,

this was reported, per suggestion, as a bug 
(https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2604) in Jan '05 ...


in Cyrus-IMAP ver >= 2.1.20, on OSX 10.4.1,

        % sudo -u adminuser mkimap

works as expected, and without error, in creating:

        %ls
                db  log  msg  proc  ptclient  socket

as long as the referenced imapd.conf:

        ==============================
        (EDITOR) mkimap
                @62
                $imapdconf = shift || "/etc/imapd.conf";
        ==============================

does NOT contain an "@ include:" directive.

however, if i change imapd.conf to refer to an include file, e.g:

        ==============================
        (EDITOR) imapd.conf
                admins: my_admin
                lmtp_admins: my_admin.lmtp
                sasl_minimum_layer: 128

                @include: /var/cyrus-imap/settings/imapd-common.conf
        ==============================


then

        % sudo -u adminuser mkimap

returns an error:

        reading configure file...
        done
        Use of uninitialized value in concatenation (.) or string at (eval 1) 
line 55.
        configuring ...
        Use of uninitialized value in chdir at (eval 1) line 59.
        Use of chdir('') or chdir(undef) as chdir() is deprecated at (eval 1) 
line 59.
        Use of uninitialized value in concatenation (.) or string at (eval 1) 
line 59.
        couldn't change to  at (eval 1) line 59.

%


fwiw, if i run mkimap on an imapd.conf w/o an include, then subsequently 
restructure my imapd*.conf(s) to include the references i'd like, everything 
ELSE seems (so far) to not mind the include directive ...

cheers,


richard
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list