Re: 4.0.6b3 refuses to find qpopper.config file

2005-02-07 Thread Randall Gellens
At 4:06 PM -0500 1/3/05, Jeff A. Earickson wrote:
 Hi,
I'm working on getting TLS going with 4.0.5 and 4.0.6b3,
 and I've discovered that 4.0.6b3 refuses to find/read the
 qpopper.config file.  4.0.5 has no problems with this, using the
 same file.
 Platform: Solaris 9
 Code compiled with the following settings:
 CC=cc ./configure \
 --prefix=/opt/maild \
 --enable-debugging \
 --enable-keep-temp-drop \
 --enable-nonauth-file=/etc/pop.nonauth \
 --enable-log-login \
 --disable-hash-dir-check \
 --disable-old-spool-loc \
 --enable-hash-spool=3 \
 --with-pam=pop3 \
 --enable-uw-kludge \
 --enable-temp-drop-dir=/var/spool/pop \
 --enable-server-mode \
 --enable-low-debug \
 --with-openssl=/opt/openssl
 Config file is: /opt/maild/qpopper.config, perms are 644 (attached).
 /etc/inetd.conf entry on the server machine is:
 pop3 stream tcp nowait root /opt/maild/popper popper -l 1 -f 
/opt/maild/qpopper.config -d -t /tmp/trace-file

 What happens:
 % telnet machine 110
 Trying {IP number disguised]
 Connected to machine.colby.edu.
 Escape character is '^]'.
 Unable to process config file /opt/maild/qpopper.config
 Connection to machine.colby.edu closed by foreign host.
 (nothing appears in the trace-file)
I can't reproduce this with 4.0.6b4.  I've tried:
- specifying a file that doesn't exist (it says it can't open it and exits)
- specifying the sample file (it processes it)
- specifying a file with bad syntax (it gives an error)
Please try changing the inetd line to put the -t option first, and 
see if you get anything written to the trace file then.
--
Randall Gellens
Opinions are personal;facts are suspect;I speak for myself only
-- Randomly-selected tag: ---
Despite an abundance of devoted followers, the production of great
leaders been discontinued.


4.0.6b3 refuses to find qpopper.config file

2005-01-03 Thread Jeff A. Earickson
Hi,
   I'm working on getting TLS going with 4.0.5 and 4.0.6b3,
and I've discovered that 4.0.6b3 refuses to find/read the
qpopper.config file.  4.0.5 has no problems with this, using the
same file.
Platform: Solaris 9
Code compiled with the following settings:
CC=cc ./configure \
--prefix=/opt/maild \
--enable-debugging \
--enable-keep-temp-drop \
--enable-nonauth-file=/etc/pop.nonauth \
--enable-log-login \
--disable-hash-dir-check \
--disable-old-spool-loc \
--enable-hash-spool=3 \
--with-pam=pop3 \
--enable-uw-kludge \
--enable-temp-drop-dir=/var/spool/pop \
--enable-server-mode \
--enable-low-debug \
--with-openssl=/opt/openssl
Config file is: /opt/maild/qpopper.config, perms are 644 (attached).
/etc/inetd.conf entry on the server machine is:
pop3 stream tcp nowait root /opt/maild/popper popper -l 1 -f 
/opt/maild/qpopper.config -d -t /tmp/trace-file
What happens:
% telnet machine 110
Trying {IP number disguised]
Connected to machine.colby.edu.
Escape character is '^]'.
Unable to process config file /opt/maild/qpopper.config
Connection to machine.colby.edu closed by foreign host.
(nothing appears in the trace-file)
Jeff Earickson
Colby College#-
# Sample Qpopper 4.0 configuration file.
#
# This file lists all Qpopper configuration file options.  To use,
# copy the desired setting to your own configuration file, remove
# the leading '#' and set the desired value.
#
#-



# An integer value for the number of seconds to announce in
# the CAPA response for the server's minimum login delay.
#
# Default: 
#
# set announce-login-delay =


# An integer value for the number of days to announce in
# the CAPA response for the server's maximum message
# retention period.
#
# Default:
#
# set announce-expire  =


# The full path to the bulletins directory.
#
# Default: /var/spool/bulls
#
# set bulldir  = "/var/spool/bulls"


# Set TRUE to permit sessions to continue even if the
# bulletins database can't be accessed.  This permits
# users to get their mail, but they might not see some
# bulletins for a while, or at all.
#
# Only valid when compiled with '--enable-bulldb'.
#
# Default: false.
#
# set bulldb-nonfatal  = false


# Sets the maximum number of attempts to lock the bulletins
# database.  You normally do not need to adjust this.  This value
# should only be changed if you know if your system has usleep(3C)
# or not.  On systems with usleep(3C), this can be a large value
# (the default is 75).  On systems without usleep(3C), this should
# remain small (the default is 10).
#
# Only valid when compiled with '--enable-bulldb'.
#
# Default: 75 (10 on systems without usleep(3c)).
#
# set bulldb-max-tries = 75


# Sets clear text handling options.  Values are:
#o 'default'  Clear text passwords are permitted for all users,
# except those in the APOP database
#o 'never'Clear text passwords are never permitted
#o 'always'   Clear text passwords are always permitted
#o 'local'Clear text passwords are permitted on the local
# (127.*.*.*) loop back interface only
#o 'tls'  Clear text passwords are permitted when TLS/SSL
# has been negotiated for the session
#o 'ssl'  Same as tls
#
# The 'tls' and 'ssl' values are only valid if '--with-openssl' or
# '--with-sslplus' was used with ./configure.
#
# Default: default
#
set clear-text-password  = never


# Reads additional run-time options from the specified file.
#
#   Caution. There are no restrictions on which options may
#   appear in files specified with the '-f' command-line flag
#   or the 'config-file' configuration file option in files 
#   chained from -f.  Be certain that the file specified with
#   '-f' or in any files it chains to are not writable by
#   users.
#
# Default: none
#
# set config-file  = /etc/mail/pop/qpopper.config


# Enables debug logging.  Output is in syslog.  If this option is used,
# it should be first, so that debug records are generated for subsequent
# options.
#
# Only valid if ./configure was run with '--enable-debugging'
#
# Default: false
#
# set debug= false


# Changes uppercase user names to lowercase.  This permits users to
# configure their clients with user names in UPPER or MiXeD case.
# They can then login, assuming their actual user name is all
# lowercase.
#
# Default: false
#
# set downcase-user= false


# If '--with-drac' used with ./configure, this option specifies the DRAC 
# host.
#
# Default: localhost
#
# set drac-host= localhost


# Enables Kerberos support.
#
# Only valid if ./configure run with '--enable-kerberos5'.
#
# Default: false
#
# set kerberos = false


# Specifies the Kerberos service to use (same as the compile