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.

I'd be happy to supply the diffs to roll back the scripts to using Sam's
previous method (a sed script) if that is of any value.  If I'm the only
one with the problem don't go to the effort just on my behalf, I can
patch my upgrades by hand.

Let me know what (if anything) I can do.  On another note, am I
correct in assuming there is no Gnats or other defect DB for Courier?

Thanks to those who provide Courier, it's my most prefered MTA.

Eric Gustafson



-------------------------------------------------------
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

Reply via email to