Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] courier-imap->abilitare authvchkpw
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
DGilmour
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2005
Posts: 132
Location: Abbadia San Salvatore

PostPosted: Thu Feb 01, 2007 10:34 am    Post subject: [RISOLTO] courier-imap->abilitare authvchkpw Reply with quote

Volevo installarmi qmail con la gestione dei domini virtuali e implementare poi il controllo antivirus e antismap. Siccome non lo faccio da qualche annetto ho seguito la guida passo passo:

http://www.gentoo.it/doc/qmail-howto.html Fino al punto Courier-imap.

Ho fatto tutto questo come la guida mi consigla, ma ho avviato courier-pop3d senza il supporto ssl per ora:
Code:
# nano /etc/courier/authlib/authdaemonrc
(Impostare la variabile authmodulelist  affinché contenga "authvchkpw")
# cd /etc/courier-imap
# nano pop3d.cnf
(Editare la sezione [ req_dn ])
# mkpop3dcert
# rc-update add courier-pop3d-ssl default
# /etc/init.d/courier-pop3d-ssl start

Quando tento di accedere via pop3 ottengo questo errore su /varlog/mail.log:
Code:
Feb  1 11:20:38 ziobill authdaemond: failed to connect to mysql server (server=mysql.example.com, userid=admin): Can't connect to MySQL server on 'mysql.example.com' (110)
Feb  1 11:27:18 ziobill pop3d: Connection, ip=[192.168.0.250]

Non capisco perchè courier vuole passare poer forza da authdaemond invece che da authvchkpw. Ho provato anche a cambiare il nome, visto che non ho trovato un programma chiamato authvchkpw. Ho provato a mettere vchkpw, ma il problema mi persiste...

Eppure al passo prima (configurazione di vpopmail) tutto è ok. Se controllo il db mi trovo i domini virtuali con gli utenti che ho aggiunto. Ho anche ricontrollato i permessi e sono giusti...

Sapreste aiutarmi a trovare l'errore?

Ciao a tutti, Keres.


Last edited by DGilmour on Fri Feb 02, 2007 1:51 pm; edited 2 times in total
Back to top
View user's profile Send private message
DGilmour
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2005
Posts: 132
Location: Abbadia San Salvatore

PostPosted: Thu Feb 01, 2007 2:41 pm    Post subject: Reply with quote

Smanettando quà e là ho visto che nell'ebuild di /usr/portage/net-mail/courier-imap/courier-imap-4.0.4.ebuild è commentata la parte che riguarda l'abilitazione authvchkpw.

Ho scommentato il codice e poi da shell ho eseguito::
Code:
rm -rf /var/db/pkg/net-mail/courier-imap-4.0.4/
rm /usr/portage/distfiles/courier-imap-4.0.4.tar.bz2
emerge -va courier-imap
 * checking ebuild checksums ;-) ...                                                                                                                                                                       
!!! Digest verification failed:
!!! /usr/portage/net-mail/courier-imap/courier-imap-4.0.4.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 10097
!!! Expected: 10107

Come faccio a far saltare il check e prendere per buono il mio ebuild modificato?
Ciao!
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Thu Feb 01, 2007 2:50 pm    Post subject: Reply with quote

Code:
# ebuild path/to/ebuild.ebuild digest

Occhio che al prossimo sync la modifica verrà annullata, meglio se lo metti in overlay
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
DGilmour
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2005
Posts: 132
Location: Abbadia San Salvatore

PostPosted: Fri Feb 02, 2007 1:50 pm    Post subject: Reply with quote

Ho risolto grazie a questa guida: http://gentoo-wiki.com/HOWTO_Setup_QMAIL_RELAY-CTRL_VPOPMAIL.

Ciao!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum