Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319751 - courier-imap-4.5.0 broke relay-ctrl
Summary: courier-imap-4.5.0 broke relay-ctrl
Status: RESOLVED DUPLICATE of bug 304599
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-14 18:34 UTC by Vern Smith
Modified: 2013-04-20 15:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/courier-imap/imapd-ssl for v4.5.0 (imapd-ssl.v4.5.0,10.22 KB, text/plain)
2010-05-30 15:12 UTC, Vern Smith
Details
/etc/courier-imap/imapd-ssl for v4.0.6-r3 (imapd-ssl.old,6.33 KB, text/plain)
2010-05-30 15:15 UTC, Vern Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vern Smith 2010-05-14 18:34:38 UTC
Hello,
After an update to courier-imap-4.5.0 from 4.0.6-r3, the relay-ctrl function stopped working and I get these messages in the logfiles every time I login to imap:

[imapd-ssl] relay-ctrl-allow[21124]: 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 gdbm ipv6 nls -debug -fam -gnutls% (-selinux)"

My /etc/courier-imap/imapd-ssl file still has these lines at the end of it:
# Put any program for ${PRERUN} here
PRERUN="envdir /etc/relay-ctrl relay-ctrl-chdir"
# Put any program for ${LOGINRUN} here
# this is for relay-ctrl-allow in 4*
LOGINRUN="relay-ctrl-allow"

My emerge --info is:
Portage 2.1.8.3 (default/linux/x86/10.0/server, gcc-4.1.2, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 13 May 2010 23:15:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.4-r1
dev-python/pycrypto: 2.1.0_beta1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="acl apache2 authdaemond berkdb bzip2 cli cracklib crypt ctype cups cxx dri fortran gdbm gpm iconv imap ipv6 maildir modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl perlsuid pppd python qmail readline reflection session snmp spamassassin spl sqlite ssl sysfs tcpd unicode valias vhosts x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Vern Smith 2010-05-30 15:12:54 UTC
Created attachment 233521 [details]
/etc/courier-imap/imapd-ssl  for v4.5.0

This is the /etc/courier-imap/imapd-ssl file I was using with v4.5.0
Comment 2 Vern Smith 2010-05-30 15:15:43 UTC
Created attachment 233523 [details]
/etc/courier-imap/imapd-ssl  for v4.0.6-r3

This is the /etc/courier-imap/imapd-ssl file I am currently successfully using with v4.0.6-r3.
Comment 3 Paweł Drewniak 2011-01-03 22:14:47 UTC
Seems like a duplicate of bug 304599 to me...
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-20 15:52:57 UTC

*** This bug has been marked as a duplicate of bug 304599 ***