##VERSION: $Id: authdaemonrc.in,v 1.13 2005/10/05 00:07:32 mrsam Exp $
#
# Copyright 2000-2005 Double Precision, Inc. See COPYING for
# distribution information.
#
# authdaemonrc created from authdaemonrc.dist by sysconftool
#
# Do not alter lines that begin with ##, they are used when upgrading
# this configuration.
#
# This file configures authdaemond, the resident authentication daemon.
#
# Comments in this file are ignored. Although this file is intended to
# be sourced as a shell script, authdaemond parses it manually, so
# the acceptable syntax is a bit limited. Multiline variable contents,
# with the \ continuation character, are not allowed. Everything must
# fit on one line. Do not use any additional whitespace for indentation,
# or anything else.
##NAME: authmodulelist:2
#
# The authentication modules that are linked into authdaemond. The
# default list is installed. You may selectively disable modules simply
# by removing them from the following list. The available modules you
# can use are: authuserdb authpam authldap authcustom authpipe
authmodulelist="authuserdb authpam authldap authcustom authpipe"
##NAME: authmodulelistorig:3
#
# This setting is used by Courier's webadmin module, and should be left
# alone
authmodulelistorig="authuserdb authpam authldap authcustom authpipe"
##NAME: daemons:0
#
# The number of daemon processes that are started. authdaemon is typically
# installed where authentication modules are relatively expensive: such
# as authldap, or authmysql, so it's better to have a number of them running.
# PLEASE NOTE: Some platforms may experience a problem if there's more than
# one daemon. Specifically, SystemV derived platforms that use TLI with
# socket emulation. I'm suspicious of TLI's ability to handle multiple
# processes accepting connections on the same filesystem domain socket.
#
# You may need to increase daemons if as your system load increases. Symptoms
# include sporadic authentication failures. If you start getting
# authentication failures, increase daemons. However, the default of 5
# SHOULD be sufficient. Bumping up daemon count is only a short-term
# solution. The permanent solution is to add more resources: RAM, faster
# disks, faster CPUs...
daemons=5
##NAME: authdaemonvar:2
#
# authdaemonvar is here, but is not used directly by authdaemond. It's
# used by various configuration and build scripts, so don't touch it!
authdaemonvar=/var/run/authdaemon.courier-imap
##NAME: DEBUG_LOGIN:0
#
# Dump additional diagnostics to syslog
#
# DEBUG_LOGIN=0 - turn off debugging
# DEBUG_LOGIN=1 - turn on debugging
# DEBUG_LOGIN=2 - turn on debugging + log passwords too
#
# ** YES ** - DEBUG_LOGIN=2 places passwords into syslog.
#
# Note that most information is sent to syslog at level 'debug', so
# you may need to modify your /etc/syslog.conf to be able to see it.
DEBUG_LOGIN=0
##NAME: DEFAULTOPTIONS:0
#
# A comma-separated list of option=value pairs. Each option is applied
# to an account if the account does not have its own specific value for
# that option. So for example, you can set
# DEFAULTOPTIONS="disablewebmail=1,disableimap=1"
# and then enable webmail and/or imap on individual accounts by setting
# disablewebmail=0 and/or disableimap=0 on the account.
DEFAULTOPTIONS=""
##NAME: LOGGEROPTS:0
#
# courierlogger(1) options, e.g. to set syslog facility
#
LOGGEROPTS=""
##NAME: LDAP_TLS_OPTIONS:0
#
# Options documented in ldap.conf(5) can be set here, prefixed with 'LDAP'.
# Examples:
#
#LDAPTLS_CACERT=/path/to/cacert.pem
#LDAPTLS_REQCERT=demand
#LDAPTLS_CERT=/path/to/clientcert.pem
#LDAPTLS_KEY=/path/to/clientkey.pem
Nicht zwingend.eiswind schrieb:muss ich noch irgendwo einen user anlegen ?? seltsam
authmodulelist="authpam"
authmodulelist="authshadow"
http://www.eiswind.de/squirrelmail/src/configtest.php
(mail, apache-error.log, messages)b3ll3roph0n schrieb:Fehlermeldung in den Server-Logs?
May 30 16:05:21 eiswind authdaemond: stopping authdaemond children
May 30 16:05:21 eiswind authdaemond: modules="authpam", daemons=5
May 30 16:05:21 eiswind authdaemond: Installing libauthpam
May 30 16:05:21 eiswind authdaemond: Installation complete: authpam
[Wed May 30 16:05:36 2007] [error] [client 212.202.165.178] PHP Warning: fsocko
pen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect t
o www.eiswind.de:143 (Connection refused) in /srv/www/htdocs/squirrelmail/src/co
nfigtest.php on line 255
FW_SERVICES_EXT_TCP="1024:65535 21 http https imap pop3 smtp ssh"
eiswind schrieb:meine firewall ist offen
Code:FW_SERVICES_EXT_TCP="1024:65535 21 http https imap pop3 smtp ssh"
Du weißt nicht wirklich was du da tust, oder?eiswind schrieb:habe spasseshalber auf authpam zurückgestellt, sagt er ist alles gut.
[Wed May 30 16:05:36 2007] [error] [client 212.202.165.178] PHP Warning: fsocko
pen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect t
o www.eiswind.de:143 (Connection refused) in /srv/www/htdocs/squirrelmail/src/co
nfigtest.php on line 255
ps aux | grep courier
netstat -tplne | egrep '143|993'
Offensichtlich fehlt der Mechanismus in den SUSE-Paketen.eiswind schrieb:also vorhin hatte ich noch keine, jetzt meckert der authdaemon das er linauthshadow.so nicht findet (hab ich ja umgestellt). wo krieg ich die her ?
Ja ... und ... wie ist PAM konfiguriert?eiswind schrieb:habe spasseshalber auf authpam zurückgestellt, sagt er ist alles gut.
telnet localhost 143
:shock:eiswind schrieb:meine firewall ist offen
Code:FW_SERVICES_EXT_TCP="1024:65535 21 http https imap pop3 smtp ssh"
eiswind:~ # ps aux | grep courier
root 1742 0.0 0.0 1508 408 ? S 16:05 0:00 /usr/sbin/couri
erlogger -pid=/var/run/authdaemon.courier-imap/pid -start /usr/lib/courier-authl
ib/authdaemond
root 1743 0.0 0.1 1876 616 ? S 16:05 0:00 /usr/lib/courie
r-authlib/authdaemond
root 1744 0.0 0.0 1876 280 ? S 16:05 0:00 /usr/lib/courie
r-authlib/authdaemond
root 1745 0.0 0.0 1876 280 ? S 16:05 0:00 /usr/lib/courie
r-authlib/authdaemond
root 1746 0.0 0.0 1876 280 ? S 16:05 0:00 /usr/lib/courie
r-authlib/authdaemond
root 1747 0.0 0.0 1876 280 ? S 16:05 0:00 /usr/lib/courie
r-authlib/authdaemond
root 1748 0.0 0.0 1876 280 ? S 16:05 0:00 /usr/lib/courie
r-authlib/authdaemond
root 4726 0.0 0.1 1888 628 pts/1 R+ 17:09 0:00 grep courier
root 23519 0.0 0.0 1512 324 ? S 10:51 0:00 /usr/sbin/couri
erlogger -pid=/var/run/imapd-ssl.pid -start -name=imapd-ssl /usr/lib/courier-ima
p/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup 99
3 /usr/sbin/couriertls -server -tcpd /usr/sbin/imaplogin /usr/sbin/imapd Maildir
root 23520 0.0 0.0 1608 496 ? S 10:51 0:00 /usr/lib/courie
r-imap/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlook
up 993 /usr/sbin/couriertls -server -tcpd /usr/sbin/imaplogin /usr/sbin/imapd Ma
ildir
root 23557 0.0 0.0 1508 324 ? S 10:51 0:00 /usr/sbin/couri
erlogger -pid=/var/run/pop3d-ssl.pid -start -name=pop3d /usr/lib/courier-imap/co
uriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup 995 /u
sr/sbin/couriertls -server -tcpd /usr/sbin/pop3login /usr/sbin/pop3d Maildir
root 23558 0.0 0.0 1604 492 ? S 10:51 0:00 /usr/lib/courie
r-imap/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlook
up 995 /usr/sbin/couriertls -server -tcpd /usr/sbin/pop3login /usr/sbin/pop3d Ma
ildir
root 28057 0.0 0.0 1508 324 ? S 14:15 0:00 /usr/sbin/couri
erlogger -pid=/var/run/imapd.pid -start -name=imapd /usr/lib/courier-imap/courie
rtcpd -address=127.0.0.1 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup 14
3 /usr/sbin/imaplogin /usr/sbin/imapd Maildir
root 28058 0.0 0.0 1608 496 ? S 14:15 0:00 /usr/lib/courie
r-imap/couriertcpd -address=127.0.0.1 -maxprocs=40 -maxperip=4 -nodnslookup -noi
dentlookup 143 /usr/sbin/imaplogin /usr/sbin/imapd Maildir
eiswind:~ # netstat -tplne| egrep '143|993'
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN
0 744613 23520/couriertcpd
tcp 0 0 127.0.0.1:143 0.0.0.0:* LISTEN
0 758246 28058/couriertcpd
eiswind:~ #