Eric Gustafson writes: > Problem: > NetBSD 1.x - 1.5.3's /bin/sh has a subtle bug (1.6, which is in prerelease > fixes this). The bug is that the '-a' flag (and 'set -a') are not > implemented. > A couple of the Courier start up scripts (esmtpd, esmtpd-ssl, imapd, ...) > [grep for 'set -a' in courier/shared] take advantage of this and it causes > all of the configuration variables in courier/etc loaded by the stmp > daemon > and imap daemon to not be exported and thus not available to the servers. > > This bug (in /bin/sh) is known NOT to exist on FreeBSD, and I suspect > does not exist on OpenBSD, it's an artifact from the original BSD 4.4 > according to the cvs comments on NetBSD's repo where it was fixed. > > Looking at the change logs this change was made about 9 months ago > in Courier-0.36 (it's not in the current 0.39 change log, search for 'set > -a'). > I'm guessing that if this hasn't come up until now I may be one of very > few manually compiling Courier on NetBSD.
set -a is much cleaner. The old way was messy, and subject to breakage, and I'd like to avoid going back, if possible (I fixed a few more scripts the other day). You got to have some other bourne-like shell that implements set -a. In that case, set the SHELL environment variable before running configure. -- Sam ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek PC Mods, Computing goodies, cases & more http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
