Bonjour à tous, Je vous remercie pour votre aide la dernière fois, mais j'ai encore certains soucis avec cette configuration, j'ai modifié mon fichier main.cf, et configuré saslauthd, ainsi que courier-imap et courier-pop, pour l'acheminement des mails, Là c'est mieux que la dernière fois car j'ai une connexion au serveur LDAP qui est visible au niveau des logs, mais j'ai toujours le problème du user unknown, que ce soit en utilisant la commande mail ou quand je configure Thunderbird, ayant activé l'authentification smtp, lors de l'envoi, le mot de passe ne passe pas et même chose pour la récéption. En fait il y a un truc que je ne comprend pas bien c'est ce que je dois mettre comme contenu dans les fichiers accounts, aliases et domains quand je fais ça
virtual_mailbox_maps = ldap:accounts virtual_mailbox_domains = ldap:domains virtual_alias_maps = ldap:aliases ce n'est pas expliqué dans les documents ou plutôt pas bien expliqués, je pense que mon problème vient de la. dans le fichier accounts j'ai mis ça : cat /etc/postfix/accounts server_host = localhost server_port = 389 search_base = ou=people,dc=tba,dc=linux,dc=org query_filter = (mail=%s) result_attribute = mail je vous envoi le contenu de /var/log/mail.log et /var/log/slapd.log tail -f /var/log/mail.log Jan 30 09:00:37 tba postfix/master[10706]: daemon started -- version 2.3.3, configuration /etc/postfix Jan 30 09:01:04 tba postfix/cleanup[10715]: warning: dict_ldap_open: aliases ignoring cache Jan 30 09:01:04 tba postfix/pickup[10710]: A106DE1CCB: uid=1000 from=<tahar> Jan 30 09:01:04 tba postfix/trivial-rewrite[10716]: warning: dict_ldap_open: aliases ignoring cache Jan 30 09:01:04 tba postfix/trivial-rewrite[10716]: warning: dict_ldap_open: accounts ignoring cache Jan 30 09:01:04 tba postfix/cleanup[10715]: A106DE1CCB: message-id=<[EMAIL PROTECTED]> Jan 30 09:01:04 tba postfix/qmgr[10711]: A106DE1CCB: from=<[EMAIL PROTECTED]>, size=288, nrcpt=1 (queue active) Jan 30 09:01:05 tba postfix/local[10717]: A106DE1CCB: to=<[EMAIL PROTECTED]>, relay=local, delay=0.41, delays=0.12/0.25/0/0.04, dsn=5.1.1, status=bounced (unknown user: "shaka") Jan 30 09:01:05 tba postfix/cleanup[10715]: 088D7E1CCC: message-id=<[EMAIL PROTECTED]> Jan 30 09:01:05 tba postfix/qmgr[10711]: 088D7E1CCC: from=<>, size=1925, nrcpt=1 (queue active) Jan 30 09:01:05 tba postfix/bounce[10718]: A106DE1CCB: sender non-delivery notification: 088D7E1CCC Jan 30 09:01:05 tba postfix/qmgr[10711]: A106DE1CCB: removed Jan 30 09:01:05 tba postfix/local[10717]: 088D7E1CCC: to=<[EMAIL PROTECTED]>, relay=local, delay=0.29, delays=0.17/0.09/0/0.03, dsn=2.0.0, status=sent (delivered to maildir) Jan 30 09:01:05 tba postfix/qmgr[10711]: 088D7E1CCC: removed tail -f /var/log/slapd.log Jan 30 09:01:04 tba slapd[4013]: conn=5 fd=14 ACCEPT from IP=127.0.0.1:36514 (IP=0.0.0.0:389) Jan 30 09:01:04 tba slapd[4013]: conn=5 op=0 BIND dn="cn=admin,dc=tba,dc=linux,dc=org" method=128 Jan 30 09:01:05 tba slapd[4013]: conn=5 op=0 BIND dn="cn=admin,dc=tba,dc=linux,dc=org" mech=SIMPLE ssf=0 Jan 30 09:01:05 tba slapd[4013]: conn=5 op=0 RESULT tag=97 err=0 text= Jan 30 09:01:05 tba slapd[4013]: connection_input: conn=5 deferring operation: binding Jan 30 09:01:05 tba slapd[4013]: conn=5 op=1 SRCH base="ou=people,dc=tba,dc=linux,dc=org" scope=2 deref=0 filter="(&(objectClass=qmailUser)(mail=linux.org)(accountStatus=active))" Jan 30 09:01:05 tba slapd[4013]: conn=5 op=1 SRCH attr=mailForwardingAddress Jan 30 09:01:05 tba slapd[4013]: conn=5 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Jan 30 09:01:05 tba slapd[4013]: conn=5 op=2 SRCH base="ou=people,dc=tba,dc=linux,dc=org" scope=2 deref=0 filter="(&(objectClass=qmailUser)(mail=linux.org)(accountStatus=active))" Jan 30 09:01:05 tba slapd[4013]: conn=5 op=2 SRCH attr=mailMessageStore Jan 30 09:01:05 tba slapd[4013]: conn=5 op=2 SEARCH RESULT tag=101 err=0 nentries=0 text= Jan 30 09:01:05 tba slapd[4013]: conn=4 op=4 SRCH base="ou=people,dc=tba,dc=linux,dc=org" scope=2 deref=0 filter="(&(objectClass=qmailUser)([EMAIL PROTECTED])(accountStatus=active))" Jan 30 09:01:05 tba slapd[4013]: conn=4 op=4 SRCH attr=mailForwardingAddress Jan 30 09:01:05 tba slapd[4013]: conn=4 op=4 SEARCH RESULT tag=101 err=0 nentries=1 text= Jan 30 09:01:05 tba slapd[4013]: conn=4 op=5 SRCH base="ou=people,dc=tba,dc=linux,dc=org" scope=2 deref=0 filter="(&(objectClass=qmailUser)(mail=tahar)(accountStatus=active))" Jan 30 09:01:05 tba slapd[4013]: conn=4 op=5 SRCH attr=mailForwardingAddress Jan 30 09:01:05 tba slapd[4013]: conn=4 op=5 SEARCH RESULT tag=101 err=0 nentries=0 text= Jan 30 09:01:05 tba slapd[4013]: conn=4 op=6 SRCH base="ou=people,dc=tba,dc=linux,dc=org" scope=2 deref=0 filter="(&(objectClass=qmailUser)([EMAIL PROTECTED])(accountStatus=active))" Jan 30 09:01:05 tba slapd[4013]: conn=4 op=6 SRCH attr=mailForwardingAddress Jan 30 09:01:05 tba slapd[4013]: conn=4 op=6 SEARCH RESULT tag=101 err=0 nentries=0 text= Jan 30 09:01:05 tba slapd[4013]: conn=5 op=3 SRCH base="ou=people,dc=tba,dc=linux,dc=org" scope=2 deref=0 filter="(&(objectClass=qmailUser)(mail=linux.org)(accountStatus=active))" Jan 30 09:01:05 tba slapd[4013]: conn=5 op=3 SRCH attr=mailForwardingAddress Jan 30 09:01:05 tba slapd[4013]: conn=5 op=3 SEARCH RESULT tag=101 err=0 nentries=0 text= Jan 30 09:01:05 tba slapd[4013]: conn=5 op=4 SRCH base="ou=people,dc=tba,dc=linux,dc=org" scope=2 deref=0 filter="(&(objectClass=qmailUser)(mail=linux.org)(accountStatus=active))" Jan 30 09:01:05 tba slapd[4013]: conn=5 op=4 SRCH attr=mailMessageStore Jan 30 09:01:05 tba slapd[4013]: conn=5 op=4 SEARCH RESULT tag=101 err=0 nentries=0 text= Jan 30 09:02:45 tba slapd[4013]: conn=4 fd=9 closed Jan 30 09:02:46 tba slapd[4013]: conn=5 fd=14 closed je vous attache les fichiers /etc/postfix/main.cf /etc/postfix/master.cf /etc/postfix/accounts /etc/saslauthd.conf /etc/default/saslauthd /etc/courier/imapd /etc/courier/pop3d /etc/courier/authdaemonrc /etc/courier/authldaprc Merci beaucoup pour votre aide
config.tar.gz
Description: 4267227757-config.tar.gz