Hello, After an update to courier-imap-4.5.0 the relay-ctrl function broke: imapd: relay-ctrl-allow[4945]: Warning: Could not chdir to FD : Bad file descriptor. >net-mail/relay-ctrl-3.1.1-r2 >net-mail/courier-imap-4.5.0 USE="berkdb fam gdbm nls -debug -gnutls -ipv6 (-selinux)" Please ask me more info you need, as it's my first contribution to bugs.gentoo.org Reproducible: Always
I have the same problem and I do not see any explanation as to why this bug is invalid.
Check that you still have this line: /usr/bin/relay-ctrl-chdir \ Just before the auth program in your /usr/lib/courier-imap/gentoo-*.rc files. This error will occur if that line has been included too early, such as if it is on the PRERUN line in /etc/courier-imap/{imapd,pop3d}. It must come AFTER couriertcpd is executed.
*** Bug 304599 has been marked as a duplicate of this bug. ***