[Solira] fetchmail e dintorni

Andrea Lutri andrea.lutri a tiscali.it
Mer 13 Set 2006 18:28:50 CEST


Salve a tutti e ben ritrovati dopo le vacanze estive.
Riallacciandomi al discorso sulla shell contest, avrei un quesito da porvi.
Allora, ho intenzione di gestire due caselle di posta elettronica che ho con 
Infinito e Tin.it attraverso il protocollo IMAP ed un client testuale come 
Mutt, utilizzando fetchmail per visualizzare le e-mail presenti sui due 
server.
Bene, ho installato fetchmail ed avviato la comoda utility di configurazione 
fetchmailconf che si trova in /usr/bin/.
Le informazioni da inserire sono molto banali come l'indirizzo del server 
IMAP, il nome utente e la password utilizzata per scaricare la posta. 
Alla fine il mio .fetchmailrc risulta essere questo:
-------------------------
alutri a andy:~$ cat .fetchmailrc
# Configuration created Tue Jul 25 19:16:45 2006 by fetchmailconf
set postmaster "alutri"
set bouncemail
set no spambounce
set properties ""
poll in.virgilio.it with proto IMAP
       user 'pippo.franco' there with password 'Pippo' is 'pippo.franco' here

poll imap.infinito.it with proto IMAP
       user 'pippi.franci' there with password 'Pippi' is pippi.franci' here


Cerco di scaricare la posta da entrambi gli account e ottengo questo:
-------------------------
alutri a andy:~$ fetchmail -v
fetchmail: 6.2.5.2 querying in.virgilio.it (protocol IMAP) at mer 26 lug 2006 
12:24:12 CEST: poll started
fetchmail: IMAP< * OK IMAP4 PROXY server ready (7.2.072.1)
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 UIDPLUS IDLE LOGIN-REFERRALS NAMESPACE 
QUOTA CHILDREN AUTH=CRAM-MD5 AUTH=DIGEST-MD5
fetchmail: IMAP< A0001 OK capabilities listed
fetchmail: IMAP> A0002 AUTHENTICATE CRAM-MD5
fetchmail: IMAP< + 
PDc4MjgxOTFFQkMzNUEzNjAzQzdGNTUzQjcxOUFBRjJDRTREMThDQUJAcG9wOV9pbWFwLmNwLnRpbi5pdD4=
fetchmail: IMAP> YW5kcmVhLmx1dHJpIGY1ZTg5OGMyMDVlOTM4MTM0ZTZhNTUwZGM1YjVkZDg5
fetchmail: IMAP< * BYE disconnecting
fetchmail: IMAP< A0002 NO invalid proxy password
fetchmail: IMAP> A0003 *
fetchmail: IMAP> A0004 LOGIN "pippo.franco" *
fetchmail: IMAP> A0005 *
fetchmail: Unknown login or authentication error on 
pippo.franco a boxrm.virgilio.it
fetchmail: socket error while fetching from in.virgilio.it
fetchmail: 6.2.5.2 querying in.virgilio.it (protocol IMAP) at mer 26 lug 2006 
12:24:17 CEST: poll completed
fetchmail: Query status=2 (SOCKET)
fetchmail: 6.2.5.2 querying imap.infinito.it (protocol IMAP) at mer 26 lug 
2006 12:24:17 CEST: poll started
fetchmail: IMAP< * OK CommuniGate Pro IMAP Server 4.2.7 at infinito.it ready
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4 IMAP4REV1 ACL NAMESPACE UIDPLUS IDLE 
LITERAL+ QUOTA ID MULTIAPPEND LISTEXT CHILDREN BINARY LOGIN-REFERRALS 
AUTH=LOGIN AUTH=PLAIN AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=MSN
fetchmail: IMAP< A0001 OK completed
fetchmail: IMAP> A0002 AUTHENTICATE CRAM-MD5
fetchmail: IMAP< + PDE4ODk4OS4xMTUzOTA5NDAyQGluZmluaXRvLml0Pg==
fetchmail: IMAP> YW5kcmVhLmx1dHJpIDBjZTM3ZmNkNzRlYWY2MjFkNWNlMmI1Y2NjYTBlN2Qz
fetchmail: IMAP< A0002 NO incorrect password or account name
fetchmail: IMAP> A0003 *
fetchmail: IMAP> A0004 LOGIN "pippi.franci" *
fetchmail: IMAP< A0003 BAD unknown command
fetchmail: IMAP< A0004 NO incorrect password or account name
fetchmail: IMAP> A0005 *
fetchmail: Authorization failure on pippi.franci a imap.infinito.it
fetchmail: IMAP> A0006 LOGOUT
fetchmail: IMAP< A0005 BAD unknown command
fetchmail: IMAP< * BYE CommuniGate Pro IMAP closing connection
fetchmail: IMAP< A0006 OK completed
fetchmail: 6.2.5.2 querying imap.infinito.it (protocol IMAP) at mer 26 lug 
2006 12:24:29 CEST: poll completed
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: normal termination, status 3


Come si può notare, fetchmail prende l'indirizzo del server IMAP di Infinito e 
Tin.it e lo "appicica" alla parte dominio del nome utente; in questo modo, 
come ovvio, la procedura di autenticazione non potrà mai avere esito 
favorevole.
Come si esce da questo ginepraio?
Ps: scusate per la lunghezza del post.

Andrea.
-------------- parte successiva --------------
Un allegato non testuale è stato rimosso....
Nome:        non disponibile
Tipo:        application/pgp-signature
Dimensione:  189 bytes
Descrizione: non disponibile
Url:         http://liste.solira.org/cgi-bin/mailman/private/solira/attachments/20060913/cc4feb99/attachment.pgp


Maggiori informazioni sulla lista Solira