Pages : 1
#1 Le 07/01/2011, à 09:57
- darkloy
Problème : postfix + maildb
Bonjour,
J'ai un problème avec l'installation de mon serveur de mail sur un dédié kimsufi (ovh).
J'ai installé sous ubuntu 1.04, postfix couplé à dbmail avec une base mysql
Tout est bien installé, la base réponds bien quand par exemple, j'ajoute un nouvel utilisateur (dbmail-users ...), je vois bien l'enregistrement.
Par contre, quand j'envoie un email depuis l'extérieur, rien dans la table dbmail_mailboxes n'arrive.
sur les log, j'ai des erreurs que je ne comprends pas :
Jan 7 08:40:17 ks37045 dbmail/imap4d[13441]: Message:[serverchild] serverchild.c,PerformChildTask(+349): incoming connection from [92.129.223.143] by pid [13441]
Jan 7 08:40:17 ks37045 dbmail/imap4d[13440]: Message:[imap] imapcommands.c,_ic_logout(+126): user (id:0) logging out @ [2011-01-07 08:40:17]
Jan 7 08:40:17 ks37045 dbmail/imap4d[13440]: Message:[imap] imap4.c,IMAPClientHandler(+327): Closing connection for client from IP [92.129.223.143]
Jan 7 08:40:17 ks37045 dbmail/imap4d[13440]: Message:[serverchild] serverchild.c,PerformChildTask(+349): incoming connection from [92.129.223.143] by pid [13440]
Jan 7 08:40:17 ks37045 dbmail/imap4d[13438]: Message:[imap] imapcommands.c,_ic_logout(+126): user (id:0) logging out @ [2011-01-07 08:40:17]
Jan 7 08:40:17 ks37045 dbmail/imap4d[13438]: Message:[imap] imap4.c,IMAPClientHandler(+327): Closing connection for client from IP [92.129.223.143]
Jan 7 08:40:17 ks37045 dbmail/imap4d[13441]: Message:[imap] imapcommands.c,_ic_logout(+126): user (id:0) logging out @ [2011-01-07 08:40:17]
Jan 7 08:40:17 ks37045 dbmail/imap4d[13441]: Message:[imap] imap4.c,IMAPClientHandler(+327): Closing connection for client from IP [92.129.223.143]
Jan 7 08:40:17 ks37045 dbmail/imap4d[13440]: Message:[imap] imapcommands.c,_ic_logout(+126): user (id:0) logging out @ [2011-01-07 08:40:17]
Jan 7 08:40:17 ks37045 dbmail/imap4d[13440]: Message:[imap] imap4.c,IMAPClientHandler(+327): Closing connection for client from IP [92.129.223.143]
J'ai suivi la doc ubuntu pour les paramètres d'installation : Lien vers la doc
Mon pare feu n'a aucune règle de restriction pour l'instant, le serveur viens d'être installé.
Quelqu'un pourrais m'apporter un peu d'aide svp ?
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
#2 Le 07/01/2011, à 11:12
- Uggy
Re : Problème : postfix + maildb
Hors ligne
#3 Le 07/01/2011, à 13:21
- darkloy
Re : Problème : postfix + maildb
Bonjour Uggy,
Désolé pour la mise en forme !
J'ai changé de "système". PostFix + Courrier
postconf -n
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
disable_vrfy_command = yes
inet_interfaces = all
mydestination = ksXXXX.kimsufi.com, localhost, localhost.localdomain
mydomain = mondomaine.com
myhostname = ksXXXX.kimsufi.com
mynetworks = 127.0.0.0/8 91.121.2.145
relayhost =
smtpd_client_restrictions = reject_unknown_client, permit_mynetworks
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_unknown_recipient_domain, reject_non_fqdn_recipient
smtpd_sender_restrictions = permit_mynetworks, reject_unknown_sender_domain, warn_if_reject reject_unverified_sender
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_aliases.cf, mysql:/etc/postfix/mysql-virtual_aliases_mailbox.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/spool/vmail/
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_uid_maps = static:5000
J'ai testé d'envoyer un email de gmail vers monadresse@mondomaine.com, voici le résultat dans /var/log/mail.log :
Jan 7 12:10:37 ks37045 postfix/smtpd[20396]: connect from mail-qy0-f170.google.com[209.85.216.170]
Jan 7 12:10:38 ks37045 postfix/smtpd[20396]: 0BEBEB83: client=mail-qy0-f170.google.com[209.85.216.170]
Jan 7 12:10:38 ks37045 postfix/cleanup[20401]: 0BEBEB83: message-id=<AANLkTindCy8xRbCN7hXU31eKvMfy8OakBcUkC16-GPEJ@mail.gmail.com>
Jan 7 12:10:38 ks37045 postfix/qmgr[20384]: 0BEBEB83: from=<monadresse@gmail.com>, size=2663, nrcpt=1 (queue active)
Jan 7 12:10:38 ks37045 postfix/virtual[20402]: 0BEBEB83: to=<monadresse@mondomaine.com>, relay=virtual, delay=0.43, delays=0.37/0.01/0/0.05, dsn=2.0.0, status=sent (delivered to maildir)
Jan 7 12:10:38 ks37045 postfix/qmgr[20384]: 0BEBEB83: removed
Jan 7 12:11:08 ks37045 postfix/smtpd[20396]: disconnect from mail-qy0-f170.google.com[209.85.216.170]
Jan 7 12:14:28 ks37045 postfix/anvil[20398]: statistics: max connection rate 1/60s for (smtp:209.85.216.170) at Jan 7 12:10:37
Jan 7 12:14:28 ks37045 postfix/anvil[20398]: statistics: max connection count 1 for (smtp:209.85.216.170) at Jan 7 12:10:37
Jan 7 12:14:28 ks37045 postfix/anvil[20398]: statistics: max cache size 1 at Jan 7 12:10:37
J'arrive pas à configurer thunderbird, surement à cause de ce problème du port 25. Du coup, j'ai décidé d'installer roundcube. Mais il n'arrive pas à ce connecter avec l'imap...
Pensez vous que l'envoie de mail fonctionne quand même ? Quel est la méthode la plus simple pour voir si un email a été reçu ?
Dernière modification par darkloy (Le 07/01/2011, à 13:25)
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
#4 Le 07/01/2011, à 15:35
- darkloy
Re : Problème : postfix + maildb
Dans les log d'erreur de roundcube, j'ai :
[07-Jan-2011 14:04:50 +0100]: IMAP Error: Could not connect to ssl://domaine.com at port 993: Connexion refusée (POST /roundcube/?_task=&_action=login)
Je tente avec telnet de me connecter en imap sur le port 993 ou 143 et évidement, je n'y arrive pas.
Est ce que cela peux venir de la configuration de courrier ?
Je n'ai aucune regle de pare feu de configurée pour l'instant.
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
#5 Le 07/01/2011, à 15:56
- Uggy
Re : Problème : postfix + maildb
J'ai testé d'envoyer un email de gmail vers monadresse@mondomaine.com, voici le résultat dans /var/log/mail.log :
Jan 7 12:10:38 ks37045 postfix/virtual[20402]: 0BEBEB83: to=<monadresse@mondomaine.com>, relay=virtual, delay=0.43, delays=0.37/0.01/0/0.05, dsn=2.0.0, status=sent (delivered to maildir)
Le mail a bien été délivré par Postfix.
Il est stoqué là ou tu l'as configuré (et qui est caché derrière les paramètres SQL du paramètre virtual_mailbox_maps)
Tu n'as donc pas de problème SMTP ni Postfix.
Tu as donc vraisemblablement un problème de client ou de serveur imap.
C'est du coté imap que tu doit regarder. (Conf client imap.. conf serveur imap.. logs serveur imap)
Hors ligne
#6 Le 07/01/2011, à 15:59
- Uggy
Re : Problème : postfix + maildb
Dans les log d'erreur de roundcube, j'ai :
[07-Jan-2011 14:04:50 +0100]: IMAP Error: Could not connect to ssl://domaine.com at port 993: Connexion refusée (POST /roundcube/?_task=&_action=login)
Je tente avec telnet de me connecter en imap sur le port 993 ou 143 et évidement, je n'y arrive pas.
Est ce que cela peux venir de la configuration de courrier ?
Je n'ai aucune regle de pare feu de configurée pour l'instant.
Le telnet est un bon test.
Est ce que au moins le démon imap est bien lancé ? Est ce que le port 143 et/ou 993 est en écoute ?
("ps aux" pour le process, "sudo netstat -ntaupe " pour le port en écoute)
Hors ligne
#7 Le 07/01/2011, à 16:34
- darkloy
Re : Problème : postfix + maildb
Je t'avouerais que je ne connais pas le service IMAP
ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2844 1568 ? Ss 10:28 0:01 /sbin/init
root 2 0.0 0.0 0 0 ? S 10:28 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 10:28 0:00 [migration/0]
root 4 0.0 0.0 0 0 ? S 10:28 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S 10:28 0:01 [events/0]
root 6 0.0 0.0 0 0 ? S 10:28 0:00 [cpuset]
root 7 0.0 0.0 0 0 ? S 10:28 0:00 [khelper]
root 10 0.0 0.0 0 0 ? S 10:28 0:00 [netns]
root 13 0.0 0.0 0 0 ? S 10:28 0:00 [async/mgr]
root 251 0.0 0.0 0 0 ? S 10:28 0:00 [sync_supers]
root 253 0.0 0.0 0 0 ? S 10:28 0:00 [bdi-default]
root 254 0.0 0.0 0 0 ? S 10:28 0:00 [kintegrityd/0]
root 256 0.0 0.0 0 0 ? S 10:28 0:00 [kblockd/0]
root 257 0.0 0.0 0 0 ? S 10:28 0:00 [kacpid]
root 258 0.0 0.0 0 0 ? S 10:28 0:00 [kacpi_notify]
root 259 0.0 0.0 0 0 ? S 10:28 0:00 [kacpi_hotplug]
root 370 0.0 0.0 0 0 ? S 10:28 0:00 [ata/0]
root 371 0.0 0.0 0 0 ? S 10:28 0:00 [ata_aux]
root 378 0.0 0.0 0 0 ? S 10:28 0:00 [khubd]
root 381 0.0 0.0 0 0 ? S 10:28 0:00 [kseriod]
root 392 0.0 0.0 0 0 ? S< 10:28 0:00 [kslowd000]
root 393 0.0 0.0 0 0 ? S< 10:28 0:00 [kslowd001]
root 419 0.0 0.0 0 0 ? S 10:28 0:00 [rpciod/0]
root 420 0.0 0.0 0 0 ? S 10:28 0:00 [kvm-irqfd-clean]
root 447 0.0 0.0 0 0 ? S 10:28 0:00 [kswapd0]
root 448 0.0 0.0 0 0 ? SN 10:28 0:00 [ksmd]
root 449 0.0 0.0 0 0 ? S 10:28 0:00 [aio/0]
root 453 0.0 0.0 0 0 ? S 10:28 0:00 [nfsiod]
root 457 0.0 0.0 0 0 ? S 10:28 0:00 [xfs_mru_cache]
root 458 0.0 0.0 0 0 ? S 10:28 0:00 [xfslogd/0]
root 459 0.0 0.0 0 0 ? S 10:28 0:00 [xfsdatad/0]
root 460 0.0 0.0 0 0 ? S 10:28 0:00 [xfsconvertd/0]
root 461 0.0 0.0 0 0 ? S 10:28 0:00 [ocfs2_wq]
root 462 0.0 0.0 0 0 ? S 10:28 0:00 [o2quot/0]
root 464 0.0 0.0 0 0 ? S 10:28 0:00 [user_dlm]
root 467 0.0 0.0 0 0 ? S 10:28 0:00 [glock_workqueue]
root 468 0.0 0.0 0 0 ? S 10:28 0:00 [delete_workqueu]
root 469 0.0 0.0 0 0 ? S 10:28 0:00 [ceph-msgr/0]
root 470 0.0 0.0 0 0 ? S 10:28 0:00 [crypto/0]
root 1186 0.0 0.0 0 0 ? S 10:29 0:00 [iscsi_eh]
root 1195 0.0 0.0 0 0 ? S 10:29 0:00 [fc_exch_workque]
root 1196 0.0 0.0 0 0 ? S 10:29 0:00 [fc_rport_eq]
root 1197 0.0 0.0 0 0 ? S< 10:29 0:00 [fcoethread/0]
root 1208 0.0 0.0 0 0 ? S 10:29 0:00 [scsi_eh_0]
root 1211 0.0 0.0 0 0 ? S 10:29 0:00 [scsi_eh_1]
root 1214 0.0 0.0 0 0 ? S 10:29 0:00 [scsi_eh_2]
root 1217 0.0 0.0 0 0 ? S 10:29 0:00 [scsi_eh_3]
root 1238 0.0 0.0 0 0 ? S 10:29 0:00 [mtdblockd]
root 1288 0.0 0.0 0 0 ? S 10:29 0:00 [kpsmoused]
root 1305 0.0 0.0 0 0 ? S 10:29 0:00 [kstriped]
root 1307 0.0 0.0 0 0 ? S 10:29 0:00 [kdelayd/0]
root 1308 0.0 0.0 0 0 ? S 10:29 0:00 [kmpathd/0]
root 1309 0.0 0.0 0 0 ? S 10:29 0:00 [kmpath_handlerd]
root 1310 0.0 0.0 0 0 ? S 10:29 0:00 [ksnapd]
root 1313 0.0 0.0 0 0 ? S 10:29 0:00 [edac-poller]
root 1330 0.0 0.0 0 0 ? S 10:29 0:00 [kondemand/0]
root 1331 0.0 0.0 0 0 ? S 10:29 0:00 [kconservative/0]
root 1362 0.0 0.0 0 0 ? S 10:29 0:00 [usbhid_resumer]
root 1384 0.0 0.0 0 0 ? S 10:29 0:00 [jbd2/sda1-8]
root 1385 0.0 0.0 0 0 ? S 10:29 0:00 [ext4-dio-unwrit]
root 1419 0.0 0.0 2360 596 ? S 10:29 0:00 upstart-udev-bridge --daemon
root 1421 0.0 0.0 2344 560 ? S<s 10:29 0:00 udevd --daemon
root 1620 0.0 0.0 2340 620 ? S< 10:29 0:00 udevd --daemon
root 1718 0.0 0.0 2340 564 ? S< 10:29 0:00 udevd --daemon
root 2346 0.0 0.0 0 0 ? S 10:29 0:00 [jbd2/sda2-8]
root 2350 0.0 0.0 0 0 ? S 10:29 0:00 [ext4-dio-unwrit]
syslog 2498 0.0 0.0 19096 1252 ? Sl 10:29 0:00 rsyslogd -c4
root 2545 0.0 0.0 5592 920 ? Ss 10:29 0:00 /usr/sbin/sshd
root 2570 0.0 0.0 1832 548 tty4 Ss+ 10:29 0:00 /sbin/getty -8 38400 tty4
root 2574 0.0 0.0 1832 552 tty5 Ss+ 10:29 0:00 /sbin/getty -8 38400 tty5
root 2577 0.0 0.0 1832 552 tty2 Ss+ 10:29 0:00 /sbin/getty -8 38400 tty2
root 2578 0.0 0.0 1832 552 tty3 Ss+ 10:29 0:00 /sbin/getty -8 38400 tty3
root 2581 0.0 0.0 1832 552 tty6 Ss+ 10:29 0:00 /sbin/getty -8 38400 tty6
root 2584 0.0 0.0 2420 904 ? Ss 10:29 0:00 cron
mysql 2623 3.6 1.3 138464 26752 ? Ssl 10:29 10:58 /usr/sbin/mysqld
bind 2628 0.0 0.9 52708 18584 ? Ssl 10:29 0:15 /usr/sbin/named -u bind
root 2654 0.0 0.0 0 0 ? S 10:29 0:00 [flush-8:0]
root 2671 0.0 0.2 7288 5464 ? Ss 10:29 0:01 /usr/sbin/munin-node
www-data 2731 0.0 0.4 60436 9864 ? S 15:22 0:00 /usr/sbin/apache2 -k start
www-data 2803 0.1 0.4 60428 9904 ? S 15:23 0:00 /usr/sbin/apache2 -k start
root 2812 0.0 0.1 8528 2896 ? Ss 10:29 0:03 sshd: root@pts/0
www-data 2918 0.0 0.4 60420 9920 ? S 15:25 0:00 /usr/sbin/apache2 -k start
www-data 2932 0.1 0.4 60404 9896 ? S 15:25 0:00 /usr/sbin/apache2 -k start
root 2957 0.0 0.0 2184 332 ? Ss 10:29 0:00 /sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan --syslog
www-data 3032 0.0 0.5 60404 10592 ? S 15:26 0:00 /usr/sbin/apache2 -k start
proftpd 3068 0.0 0.0 5648 1608 ? Ss 10:29 0:00 proftpd: (accepting connections)
www-data 3082 0.1 0.4 60336 9908 ? S 15:27 0:00 /usr/sbin/apache2 -k start
www-data 3086 0.0 0.4 60412 10004 ? S 15:27 0:00 /usr/sbin/apache2 -k start
bacula 3108 0.0 0.0 24800 1620 ? Ssl 10:29 0:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape
www-data 3136 0.1 0.4 60412 9816 ? S 15:28 0:00 /usr/sbin/apache2 -k start
www-data 3137 0.0 0.4 60436 9576 ? S 15:28 0:00 /usr/sbin/apache2 -k start
www-data 3140 0.0 0.4 60404 9492 ? S 15:28 0:00 /usr/sbin/apache2 -k start
www-data 3142 0.1 0.4 60332 9804 ? S 15:28 0:00 /usr/sbin/apache2 -k start
www-data 3143 0.1 0.4 60332 9756 ? S 15:28 0:00 /usr/sbin/apache2 -k start
www-data 3144 0.0 0.4 60276 9764 ? S 15:28 0:00 /usr/sbin/apache2 -k start
www-data 3145 0.0 0.4 60404 9620 ? S 15:28 0:00 /usr/sbin/apache2 -k start
root 3171 0.0 0.0 16336 1084 ? Ssl 10:29 0:00 /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf
bacula 3187 0.0 0.1 27424 2536 ? Ssl 10:29 0:00 /usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf -u bacula -g bacula
www-data 3195 0.1 0.4 60412 9920 ? S 15:29 0:00 /usr/sbin/apache2 -k start
www-data 3196 0.0 0.4 60436 9660 ? S 15:29 0:00 /usr/sbin/apache2 -k start
www-data 3200 0.1 0.4 60404 9796 ? S 15:29 0:00 /usr/sbin/apache2 -k start
www-data 3201 0.1 0.5 60332 10460 ? S 15:29 0:00 /usr/sbin/apache2 -k start
www-data 3205 0.0 0.4 60436 9524 ? S 15:29 0:00 /usr/sbin/apache2 -k start
www-data 3208 0.0 0.3 60336 6920 ? S 15:29 0:00 /usr/sbin/apache2 -k start
www-data 3209 0.0 0.2 60176 5784 ? S 15:29 0:00 /usr/sbin/apache2 -k start
postfix 3262 0.0 0.0 5872 1652 ? S 15:30 0:00 pickup -l -t fifo -u -c
www-data 3263 0.2 0.6 61660 13608 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3264 0.0 0.3 59784 6504 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3265 0.3 0.4 60412 9728 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3267 0.3 0.4 60428 9568 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3268 0.0 0.2 60328 5952 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3269 0.0 0.3 60176 6640 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3270 0.0 0.4 60404 9480 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3271 0.6 0.4 60412 9724 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3272 0.3 0.4 60412 9552 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3273 0.3 0.4 60412 9812 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3274 0.3 0.4 60428 9696 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3275 0.0 0.2 60176 5660 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3276 0.0 0.3 60328 6804 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3277 0.0 0.0 0 0 ? Z 15:30 0:00 [apache2] <defunct>
www-data 3278 0.0 0.2 60176 5672 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3279 0.0 0.4 60404 9396 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3280 0.0 0.2 59692 5400 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3281 0.0 0.2 59692 5400 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3282 0.0 0.2 60176 5828 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3283 0.0 0.2 60176 5688 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3284 0.0 0.2 60176 5660 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3285 0.1 0.4 60404 9476 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3286 0.6 0.4 60428 9532 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3287 0.1 0.3 60328 6804 ? S 15:30 0:00 /usr/sbin/apache2 -k start
www-data 3288 0.0 0.2 60176 5672 ? S 15:30 0:00 /usr/sbin/apache2 -k start
root 3333 0.0 0.0 2696 1004 pts/0 R+ 15:31 0:00 ps aux
root 3396 0.0 0.0 3584 2004 pts/0 Ss 10:29 0:00 -bash
root 3477 0.0 0.4 13792 9756 ? Ss 10:29 0:01 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
root 3481 0.0 0.0 1832 552 tty1 Ss+ 10:29 0:00 /sbin/getty -8 38400 tty1
root 5567 0.0 0.1 8528 2864 ? Ss 10:39 0:01 sshd: root@pts/1
root 5672 0.0 0.0 3532 1900 pts/1 Ss 10:39 0:00 -bash
root 6468 0.0 0.0 2004 428 ? S 10:42 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid -start /usr/lib/courier/courier-authlib/authdaemond
root 6469 0.0 0.0 4596 1100 ? S 10:42 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 6471 0.0 0.0 4596 256 ? S 10:42 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 6472 0.0 0.0 4596 256 ? S 10:42 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 6473 0.0 0.0 4596 256 ? S 10:42 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 6474 0.0 0.0 4596 256 ? S 10:42 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 6475 0.0 0.0 4596 256 ? S 10:42 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 17795 0.0 0.0 5856 1768 ? Ss 11:55 0:00 /usr/lib/postfix/master
root 19671 0.0 0.4 59692 10176 ? Ss 12:02 0:05 /usr/sbin/apache2 -k start
postfix 20384 0.0 0.0 5916 1876 ? S 12:10 0:00 qmgr -l -t fifo -u
root 26369 0.0 0.0 3224 1768 pts/1 T 13:28 0:00 nano /etc/roundcube/main.inc.php
root 29255 0.0 0.1 3488 2208 pts/1 S+ 14:04 0:00 nano /etc/roundcube/main.inc.php
Je regarde les ports mais je ne vois pas le 993...
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
#8 Le 07/01/2011, à 17:38
- darkloy
Re : Problème : postfix + maildb
J'ai sûrement oublié cette étape...Courier ne fait qu'a la base le pop et smtp...Je vous tiens au courant pour le retour.
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
#9 Le 07/01/2011, à 17:42
- Uggy
Re : Problème : postfix + maildb
Courier ne fait qu'a la base le pop et smtp...
il ne fait pas smtp.. mais pop/imap
Hors ligne
#10 Le 07/01/2011, à 17:57
- darkloy
Re : Problème : postfix + maildb
Oui autant pour moi
J'ai toujours le même problème, je commence à désespérer...
J'ai le service courier-imap qui est lancé pourtant...
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
#11 Le 07/01/2011, à 18:06
- Uggy
Re : Problème : postfix + maildb
$ sudo ps aux | grep courier
$ sudo netstat -ntaupe | grep 143
Hors ligne
#12 Le 07/01/2011, à 18:55
- darkloy
Re : Problème : postfix + maildb
Merci pour ton aide
J'ai tout réinstallé suivant ce tuto
Les services sont ok
sudo ps aux | grep courier
root 8000 0.0 0.0 2004 344 ? S 17:45 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/imapd.pid -start -name=imapd /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslookup -noidentlookup 143 /usr/lib courier/courier/imaplogin /usr/bin/imapd Maildir
root 8001 0.0 0.0 2116 620 ? S 17:45 0:00 /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip =20 -nodnslookup -noidentlookup 143 /usr/lib/courier/courier/imaplogin /usr/bin/imapd Maildir
root 8026 0.0 0.0 2004 428 ? S 17:45 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemo n/pid -start /usr/lib/courier/courier-authlib/authdaemond
root 8027 0.0 0.0 4596 1100 ? S 17:45 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 8029 0.0 0.0 4644 1056 ? S 17:45 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 8030 0.0 0.0 4596 256 ? S 17:45 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 8031 0.0 0.0 4596 256 ? S 17:45 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 8032 0.0 0.0 4596 256 ? S 17:45 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 8033 0.0 0.0 4596 256 ? S 17:45 0:00 /usr/lib/courier/courier-authlib/authdaemond
sudo netstat -ntaupe | grep 143
tcp 0 52 91.121.2.145:22 92.129.223.143:58083 ESTABLISHED 0 6069 3540/0
tcp 0 0 91.121.2.145:47143 66.220.153.32:443 TIME_WAIT 0 0 -
tcp 0 0 91.121.2.145:80 92.61.143.143:49241 ESTABLISHED 33 65738 8511/apache2
tcp 0 0 91.121.2.145:80 92.61.143.143:49240 TIME_WAIT 0 0 -
tcp 0 0 91.121.2.145:80 83.196.183.130:2143 FIN_WAIT2 0 0 -
tcp 0 0 91.121.2.145:80 85.201.2.198:51430 ESTABLISHED 33 65838 8104/apache2
tcp 0 0 91.121.2.145:22 92.129.223.143:58295 ESTABLISHED 0 61114 8240/1
tcp6 0 0 :::143 :::* LISTEN 0 57386 8001/couriertcpd
Le telnet sur le domaine et le port 993 fonctionne mais l'authentification échoue... Je vais vérifier les paramètres.
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
#13 Le 07/01/2011, à 23:35
- darkloy
Re : Problème : postfix + maildb
Bonsoir !
Y'a du mieux, je sent la fin
J'ai tout refais en suivant ce tuto
Telnet arrive à ce connecter, c'est merveilleux.
J'installe thunderbird en client local, il me trouve mes paramètres automatiquement (balaise le type) avec les bon ports, etc...
Par contre, impossible de m'authentifier !!
Dans le tuto joint, les utilisateurs sont crée dans mailbox. Et pourtant, le mot de passe est bien celui que je rentre dans thundebird.
A moins qu'un fichier de mapping déconne (j'ai vraiment vérifié), je ne vois pas ou peut être le problème ...
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
#14 Le 08/01/2011, à 00:00
- darkloy
Re : Problème : postfix + maildb
Voilà mes logs :
Jan 7 22:55:36 ks37045 imapd: LOGIN FAILED, user=fsdgdfgfdg, ip=[::ffff:92.129.223.143]
Jan 7 22:55:44 ks37045 imapd: Disconnected, ip=[::ffff:92.129.223.143], time=13
Dois-je regarder du côté de postfix ou de courrier ?
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
#15 Le 08/01/2011, à 01:12
- Uggy
Re : Problème : postfix + maildb
Tu n'as donc pas de problème SMTP ni Postfix.
[...]
C'est du coté imap que tu doit regarder. [...]
Hors ligne
#16 Le 08/01/2011, à 10:22
- darkloy
Re : Problème : postfix + maildb
du côté imap et courrier je pense même ...
Regarde, même quand j'essaye en pop ça ne marche pas ...
Jan 8 09:16:06 ks37045 imapd: Connection, ip=[::ffff:92.129.223.143]
Jan 8 09:16:06 ks37045 pop3d: Connection, ip=[::ffff:92.129.223.143]
Jan 8 09:16:06 ks37045 imapd: Connection, ip=[::ffff:92.129.223.143]
Jan 8 09:16:06 ks37045 pop3d: Connection, ip=[::ffff:92.129.223.143]
Jan 8 09:16:06 ks37045 imapd: LOGOUT, ip=[::ffff:92.129.223.143], rcvd=24, sent=446
Jan 8 09:16:06 ks37045 pop3d: LOGOUT, ip=[::ffff:92.129.223.143]
Jan 8 09:16:06 ks37045 pop3d: Disconnected, ip=[::ffff:92.129.223.143]
Jan 8 09:16:06 ks37045 pop3d: LOGOUT, ip=[::ffff:92.129.223.143]
Jan 8 09:16:06 ks37045 pop3d: Disconnected, ip=[::ffff:92.129.223.143]
Jan 8 09:16:06 ks37045 imapd: LOGOUT, ip=[::ffff:92.129.223.143], rcvd=24, sent=446
Test du pop avec Telnet :
root@ks37045:~# telnet mondomaine.com pop3
Trying 91.121.2.145...
Connected to mondomaine.com.
Escape character is '^]'.
+OK Hello there.
USER monnom
+OK Password required.
PASS monpass
-ERR Login failed.
Je pense que le problème est lié avec celui de l'imap. La je suis à court d'idée ...
Dernière modification par darkloy (Le 08/01/2011, à 10:30)
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
#17 Le 08/01/2011, à 10:39
- darkloy
Re : Problème : postfix + maildb
J'ai trouvé sur un forum une personne avec un problème similaire sur la même config.
Il a modifié /etc/courier/authmysqlrc en ajoutant MYSQL_NAME_FIELD username.
Mais ça ne marche pas, bien au contraire :
telnet mondomaine.com pop3
Trying 91.121.2.145...
Connected to mondomaine.com.
Escape character is '^]'.
+OK Hello there.
USER monnom
+OK Password required.
PASS pass
-ERR Temporary problem, please try again later
Connection closed by foreign host.
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
#18 Le 08/01/2011, à 10:52
- darkloy
Re : Problème : postfix + maildb
Hum !
>authtest nom@mondomaine.com
FAILED: Input/output error
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
#19 Le 08/01/2011, à 17:28
- darkloy
Re : Problème : postfix + maildb
Bon je débogue
Je fais un appel pop avec telnet :
root@ks37045:~# telnet domaine.com pop3
Trying 91.121.2.145...
Connected to domaine.com.
Escape character is '^]'.
+OK Hello there.
USER toto
+OK Password required.
PASS tata
-ERR Login failed.
Et dans les logs de mysql :
110108 16:17:18 287 Connect postfix@localhost on
287 Init DB postfix
287 Query SELECT email, password , "", 5000, 5000, "/var/spool/vmail/", CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/'), quota, "", "" FROM mailbox WHERE email = 'toto'
Donc ça interroge bien la base...
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
#20 Le 08/01/2011, à 17:30
- darkloy
Re : Problème : postfix + maildb
Comment tester la correspondance qui est faite entre le password de la bdd et celui qui est envoyé ?
Logiciel de traitement d'images en masse : http://www.laurent-clave.fr/picture-toolbox/
Hors ligne
Pages : 1