Cyrus-IMAP BUG (?): 'mkimap' fails when target imapdconf has/uses "@ include:" hi all, on Cyrus-IMAP 2.1.20, % sudo -u adminuser mkimap works as expected 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: blakers.admin lmtp_admins: darkmatter.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)

OpenMacNews cyrus-info.20.openmacnews at spamgourmet.com
Fri Dec 31 22:08:47 EST 2004


hi all,

in Cyrus-IMAP 2.1.20 on OSX 10.3.7,

	% 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