Toon posts:

Courier-imap met postfix / imapd en pop3d probleem

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik heb postfix en courier-imap draaien.
Beide halen hun info uit een mysql db.

Imap werkt perfect, maar ik kan niet inloggen op de pop3.

als ik nmap -p 110 localhost doe zie ik dat pop3 wel gewoon draait maar ik kan niet verbinden.
In de /var/log/maillog zie je wel als een imap user inlogt maar als een pop3 user probeert in te loggen zie je hier helemaal niets van in de maillog.

iemand die me kan helpen?

Verwijderd

gebruikt je pop3 daemon wel Maildir?

Verwijderd

Topicstarter
maybe domme vraag maar hoe stel ik dat in?

Verwijderd

Topicstarter
ik gebruik trouwens de pop3 server die bij courier-imap zit

Verwijderd

Topicstarter
ik ben al iets verder gekomen :)

als ik /usr/lib/courier-imap/bin/imapd uitvoer krijg ik:

INFO: LOGIN, user=user, ip=[127.0.0.1]
* PREAUTH Ready.

als ik /usr/lib/courier-imap/bin/pop3d uitvoer krijg ik:

AUTHFAILURE

Er is dus iets fout met de auth config denk ik zo
ik heb alleen geen enkel idee wat

Verwijderd

Topicstarter
Degene die het kan fixen, betaal ik ervoor.

Als iemand een oplossing weet, ICQ of mail dan even.

Verwijderd

Op vrijdag 31 mei 2002 07:56 schreef Lutjebroek het volgende:
Degene die het kan fixen, betaal ik ervoor.

Als iemand een oplossing weet, ICQ of mail dan even.
Is de laatste regel van de file pop3d (/usr/lib/courier-imap/bin/pop3d) uncomment ?

POP3DSTART=YES

Verwijderd

Topicstarter
DIT IS MIJN CONFIG FILE:

##VERSION: $Id: pop3d.dist.in,v 1.4 2001/07/04 19:32:37 uid26639 Exp $
#
# pop3d created from pop3d.dist by sysconftool
#
# Do not alter lines that begin with ##, they are used when upgrading
# this configuration.
#
# Copyright 1998 - 2001 Double Precision, Inc. See COPYING for
# distribution information.
#
# Courier POP3 daemon configuration
#
##NAME: install_prefix:0
#
# This is read by /usr/lib/courier-imap/sbin/pop3d
#
# The following settings shouldn't be changed.

prefix=/usr/lib/courier-imap
exec_prefix=/usr/lib/courier-imap
sbindir="/usr/lib/courier-imap/sbin"

##NAME: PIDFILE:0
#

PIDFILE=/var/run/pop3d.pid

##NAME: MAXDAEMONS:0
#
# Maximum number of POP3 servers started
#

MAXDAEMONS=40

##NAME: MAXPERIP:4
#
# Maximum number of connections to accept from the same IP address

MAXPERIP=4

##NAME: AUTHMODULES:0
#
#########################################################################
##
## Authentication modules which attempt to validate userid/password
## combinations. See authpam(8) for more information. The default set
## is installed at configuration time. You may have to edit the following
## to remove unnecessary authentication modules. In particular, if
## authpam is included in the list below, you will have to remove authpwd
## and authshadow, since their functionality is included in the authpam
## module.
##
#########################################################################

AUTHMODULES="authmysql"


##NAME: AUTHMODULES_ORIG:0
#
# This setting is for use with webadmin

AUTHMODULES_ORIG="authmysql"

##NAME: POP3AUTH:1
#
# To advertise the SASL capability, per RFC 2449, uncomment the POP3AUTH
# variable:
#
# POP3AUTH="LOGIN"
#
# If you have configured the CRAM-MD5 or CRAM-SHA1, set POP3AUTH to something
# like this:
#
# POP3AUTH="LOGIN CRAM-MD5 CRAM-SHA1"

POP3AUTH=""

##NAME: POP3AUTH_ORIG:0
#
# For use by webadmin

POP3AUTH_ORIG="LOGIN CRAM-MD5 CRAM-SHA1"

##NAME: POP3AUTH_TLS:1
#
# To also advertise SASL PLAIN if SSL is enabled, uncomment the
# POP3AUTH_TLS environment variable:
#
# POP3AUTH_TLS="LOGIN PLAIN"

POP3AUTH_TLS=""

##NAME: POP3AUTH_TLS_ORIG:0
#
# For use by webadmin

POP3AUTH_TLS_ORIG="LOGIN PLAIN"

##NAME: PORT:1
#
# Port to listen on for connections. The default is port 110.
#
# Multiple port numbers can be separated by commas. When multiple port
# numbers are used it is possibly to select a specific IP address for a
# given port as "ip.port". For example, "127.0.0.1.900,192.68.0.1.900"
# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1
# The ADDRESS setting is a default for ports that do not have a specified
# IP address.

PORT=110

##NAME: ADDRESS:0
#
# IP address to listen on. 0 means all IP addresses.

ADDRESS=0

##NAME: TCPDOPTS:0
#
# Other couriertcpd(1) options. The following defaults should be fine.
#

TCPDOPTS="-nodnslookup -noidentlookup"

##NAME: POP3DSTART:0
#
# POP3DSTART is not referenced anywhere in the standard Courier programs
# or scripts. Rather, this is a convenient flag to be read by your system
# startup script in /etc/rc.d, like this:
#
# prefix=/usr/lib/courier-imap
# exec_prefix=/usr/lib/courier-imap
# . ${sysconfdir}/pop3d
# case x$POP3DSTART in
# x[yY]*D
# /usr/lib/courier-imap/sbin/pop3d start
# ;;
# esac
#
# The default setting is going to be NO, until Courier is shipped by default
# with enough platforms so that people get annoyed with having to flip it to
# YES every time.

POP3DSTART=NO

Verwijderd

Op vrijdag 31 mei 2002 10:29 schreef Lutjebroek het volgende:
DIT IS MIJN CONFIG FILE:

[knip]

POP3DSTART=NO
Dat moet zijn:
POP3DSTART=YES

Verwijderd

Topicstarter
Ik heb nog steeds het probleem

als ik /usr/lib/courier-imap/bin/pop3d uitvoer krijg ik:

AUTHFAILURE

en als ik /usr/lib/courier-imap/bin/imapd uitvoer:

INFO: LOGIN, user=user, ip=[127.0.0.1]
* PREAUTH Ready.

Nog steeds niet goed dus.

Is dit misschien fout?

POP3AUTH=""

Verwijderd

zoiets:
POP3AUTH="authdaemond"

of:

POP3AUTH="mysql"

:?

Verwijderd

Topicstarter
ik heb samen met epauli uren lopen zoeken, bleek het dat poort 110 niet openstond in ipchains

DOM DOM DOM DOM

najah probleem is wel weer opgelost.

iedereen bedankt !! vooral epauli
Pagina: 1