View previous topic :: View next topic |
Author |
Message |
maruscya Guru
Joined: 13 Aug 2004 Posts: 507
|
Posted: Mon Sep 25, 2006 10:41 am Post subject: Courier Imap |
|
|
Ciao a tutti.
Non riesco a far funzionare in modo corretto Courier-Imap. Ho configurato un client di posta per fare il download dei messaggi, ma non ne vuole sapere di collegarsi. Non riesco a capire dove possa essere l'errore sinceramente..
Se provo a collegarmi dal client a mano con telnet ottengo questo :
A mano ho provato a dare questi comandi .... e sembra funzionare
Code: |
maruscya@digimon ~ $ telnet bart 143
Trying 172.16.0.85...
Connected to bart.mobileservices.it.
Escape character is '^]'.
^[
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.
NO Error in IMAP command received by server.
a01 abazzanini sundevil
a01 NO Error in IMAP command received by server.
a01 login Login Password
a01 OK LOGIN Ok.
a02 list
a02 NO Error in IMAP command received by server.
a02 list "Mail" "*"
a02 OK LIST completed
|
Questo e' il mio file di configurazione
Code: |
bart courier-imap # cat imapd
ADDRESS=0
PORT=143
MAXDAEMONS=40
MAXPERIP=4
PIDFILE=/var/run/imapd.pid
TCPDOPTS="-nodnslookup -noidentlookup"
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
IMAP_KEYWORDS=1
IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE"
IMAP_PROXY=0
IMAP_PROXY_FOREIGN=0
IMAP_IDLE_TIMEOUT=60
IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN"
IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN"
IMAP_DISABLETHREADSORT=0
IMAP_CHECK_ALL_FOLDERS=0
IMAP_OBSOLETE_CLIENT=0
IMAP_UMASK=022
IMAP_ULIMITD=65536
IMAP_USELOCKS=1
IMAP_SHAREDINDEXFILE=/etc/courier-imap/shared/index
IMAP_ENHANCEDIDLE=0
IMAP_TRASHFOLDERNAME=Trash
IMAP_EMPTYTRASH=Trash:7
IMAP_MOVE_EXPUNGE_TO_TRASH=0
SENDMAIL=/usr/sbin/sendmail
HEADERFROM=X-IMAP-Sender
IMAPDSTART=YES
##NAME: MAILDIRPATH:0
#
# MAILDIRPATH - directory name of the maildir directory.
#
#MAILDIRPATH=Maildir
#Hardwire a value for ${MAILDIR}
MAILDIR=.maildir
MAILDIRPATH=.maildir
#Put any program for ${PRERUN} here
PRERUN=
|
Insomma non capisco perche cavolo non funziona imap
QUalcuno mi aiuti!!
MaruscyA |
|
Back to top |
|
|
makoomba Bodhisattva
Joined: 03 Jun 2004 Posts: 1856
|
Posted: Mon Sep 25, 2006 2:43 pm Post subject: |
|
|
Moved from Forum italiano (Italian) to Forum di discussione italiano. _________________ When all else fails, read the instructions. |
|
Back to top |
|
|
maruscya Guru
Joined: 13 Aug 2004 Posts: 507
|
Posted: Wed Sep 27, 2006 9:57 am Post subject: |
|
|
Up...
Ragazzi, se non c'e' una soluzione apparente a questo problema, vi chiedo quale server imap posso usare al posto di courier.
Grazie mille... |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Wed Sep 27, 2006 1:10 pm Post subject: |
|
|
aumenta la verbosità dei log nel tuo mta,
riprova a connetterti con un occhio su mail log
se trovi un problema dopo aver fatto cosi
posta un estratto del log con il problema incriminato
altrimenti nessuno potrà aiutarti con le informazioni
che hai fornito _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
maruscya Guru
Joined: 13 Aug 2004 Posts: 507
|
Posted: Wed Sep 27, 2006 1:55 pm Post subject: |
|
|
Intanto ... grazie per la risposta.
Ecco il post di un pezzo di log ... quello che appare dopo lo start dei servizi di Courier
Code: |
Sep 27 15:24:55 bart authdaemond: modules="authpam authuserdb authshadow authcustom authpipe", daemons=5
Sep 27 15:24:55 bart authdaemond: Installing libauthpam
Sep 27 15:24:55 bart authdaemond: Installation complete: authpam
Sep 27 15:24:55 bart authdaemond: Installing libauthuserdb
Sep 27 15:24:55 bart authdaemond: Installation complete: authuserdb
Sep 27 15:24:55 bart authdaemond: Installing libauthshadow
Sep 27 15:24:55 bart authdaemond: Installation complete: authshadow
Sep 27 15:24:55 bart authdaemond: Installing libauthcustom
Sep 27 15:24:55 bart authdaemond: Installation complete: authcustom
Sep 27 15:24:55 bart authdaemond: Installing libauthpipe
Sep 27 15:24:55 bart authdaemond: authpipe: disabled: failed to stat pipe program /etc/courier/authlib/authProg: No such file or directory
Sep 27 15:24:55 bart authdaemond: Installation complete: authpipe
|
Ho certato info sil quell' errore evidenziato nelle ultime righe, ma non ho trovato nulla di particolare. Nel file di cfg non trovo nulla che faccia riferimento a "authProg"
E qui di seguito il log di una connessione con thunderbird che e' uguale ad un login di egroupware
Code: |
Sep 27 15:29:13 bart imapd: Connection, ip=[::ffff:10.0.0.122]
|
Oltre questo non appare nulla.....
Con pop3 , funziona invece tutto senza problemi. |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Wed Sep 27, 2006 2:40 pm Post subject: |
|
|
allora in: /etc/courier/authlib/authdaemonrc
dovresti avere quanto segue:
Code: | authmodulelist="authmysql authpam"
authmodulelistorig="authuserdb authpam authshadow authmysql authcustom authpipe"
daemons=5
authdaemonvar=/var/lib/courier/authdaemon
DEBUG_LOGIN=0
DEFAULTOPTIONS=""
LOGGEROPTS=""
|
-modifica il file se necessario
-/etc/init.d/courier-authlib restart
-riprova a loggarti via imap
in caso di problemi riposta il relativo log _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
|