Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
3020 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  Postfix et uw_imap [resolu]

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Postfix et uw_imap [resolu]

n°946619
nico_tom
Posté le 24-08-2007 à 16:50:21  profilanswer
 

Bonjours a tous,
 
Je suis en train d'insatller un srveur de mail mis je bloque .
 
J'ai installé postfix puis uw_imap. (je n'ai pas installé cyrus-imap) !!!
 
J'arrive a me connecter au prt pop3 et smtp.
 
 
J'arrive très bien a envoyer un mail de mon serveur vers l'exterrieur mais pas l'inverse !!
 
Mon probleme est que quand je ecoit un mail (depuis google par exemple) une erreur apparait dans les log et .... rien
Voici les log au moment de la reception du mail:
 

Code :
  1. Aug 24 16:27:53 wallis postfix/smtpd[7404]: connect from an-out-0708.google.com[209.85.132.250]
  2. Aug 24 16:27:54 wallis postfix/smtpd[7404]: 1134AC0055: client=an-out-0708.google.com[209.85.132.250]
  3. Aug 24 16:27:54 wallis postfix/cleanup[7407]: 1134AC0055: message-id=<64d258bc0708240728w73e75856l7de162fd5c01a136@mail.gmail.com>
  4. Aug 24 16:27:54 wallis postfix/qmgr[7363]: 1134AC0055: from=<nicotom@gmail.com>, size=1926, nrcpt=1 (queue active)
  5. Aug 24 16:27:54 wallis postfix/local[7408]: warning: connect #1 to subsystem private/cyrus: No such file or directory
  6. Aug 24 16:28:04 wallis postfix/local[7408]: warning: connect #2 to subsystem private/cyrus: No such file or directory
  7. Aug 24 16:28:14 wallis postfix/local[7408]: warning: connect #3 to subsystem private/cyrus: No such file or directory
  8. Aug 24 16:28:24 wallis postfix/local[7408]: warning: connect #4 to subsystem private/cyrus: No such file or directory
  9. Aug 24 16:28:24 wallis postfix/smtpd[7404]: disconnect from an-out-0708.google.com[209.85.132.250]
  10. Aug 24 16:28:34 wallis postfix/local[7408]: warning: connect #5 to subsystem private/cyrus: No such file or directory
  11. Aug 24 16:28:44 wallis postfix/local[7408]: warning: connect #6 to subsystem private/cyrus: No such file or directory
  12. Aug 24 16:28:54 wallis postfix/local[7408]: warning: connect #7 to subsystem private/cyrus: No such file or directory
  13. Aug 24 16:29:04 wallis postfix/local[7408]: warning: connect #8 to subsystem private/cyrus: No such file or directory
  14. Aug 24 16:29:14 wallis postfix/local[7408]: warning: connect #9 to subsystem private/cyrus: No such file or directory
  15. Aug 24 16:29:24 wallis postfix/local[7408]: warning: connect #10 to subsystem private/cyrus: No such file or directory
  16. Aug 24 16:29:34 wallis postfix/local[7408]: fatal: connect #11 to subsystem private/cyrus: No such file or directory
  17. Aug 24 16:29:35 wallis postfix/qmgr[7363]: warning: premature end-of-input on private/local socket while reading input attribute name
  18. Aug 24 16:29:35 wallis postfix/qmgr[7363]: warning: private/local socket: malformed response
  19. Aug 24 16:29:35 wallis postfix/qmgr[7363]: warning: transport local failure -- see a previous warning/fatal/panic logfile record for the problem description
  20. Aug 24 16:29:35 wallis postfix/master[7361]: warning: process /usr/libexec/postfix/local pid 7408 exit status 1
  21. Aug 24 16:29:35 wallis postfix/master[7361]: warning: /usr/libexec/postfix/local: bad command startup -- throttling
  22. Aug 24 16:29:58 wallis postfix/qmgr[7363]: 1340CC0042: from=<nicolas@helionet.com>, size=702, nrcpt=1 (queue active)
  23. Aug 24 16:29:58 wallis postfix/qmgr[7363]: BFD64C003D: from=<nicolas@helionet.com>, size=702, nrcpt=1 (queue active)
  24. Aug 24 16:30:35 wallis postfix/local[10547]: warning: connect #1 to subsystem private/cyrus: No such file or directory
  25. Aug 24 16:30:35 wallis postfix/local[10548]: warning: connect #1 to subsystem private/cyrus: No such file or directory
  26. Aug 24 16:30:45 wallis postfix/local[10547]: warning: connect #2 to subsystem private/cyrus: No such file or directory
  27. Aug 24 16:30:45 wallis postfix/local[10548]: warning: connect #2 to subsystem private/cyrus: No such file or directory
  28. Aug 24 16:30:55 wallis postfix/local[10547]: warning: connect #3 to subsystem private/cyrus: No such file or directory
  29. Aug 24 16:30:55 wallis postfix/local[10548]: warning: connect #3 to subsystem private/cyrus: No such file or directory
  30. Aug 24 16:31:05 wallis postfix/local[10547]: warning: connect #4 to subsystem private/cyrus: No such file or directory
  31. Aug 24 16:31:05 wallis postfix/local[10548]: warning: connect #4 to subsystem private/cyrus: No such file or directory


 
 
voici mon main.cf :
 

Code :
  1. queue_directory = /var/spool/postfix
  2. program_directory = /usr/libexec/postfix
  3. command_directory = /usr/sbin
  4. daemon_directory = /usr/libexec/postfix
  5. mail_owner = postfix
  6. myhostname = wallis.chrono.fr
  7. mydomain = helionet.com
  8. myorigin = $mydomain
  9. inet_interfaces = $myhostname, localhost
  10. unknown_local_recipient_reject_code = 550
  11. mynetworks = 10.1.34.0/24, 10.1.48.0/24
  12. alias_database = hash:/etc/aliases
  13. home_mailbox = Mailbox
  14. mailbox_transport = cyrus
  15. debug_peer_level = 2
  16. debugger_command =
  17.          PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
  18.          xxgdb $daemon_directory/$process_name $process_id & sleep 5
  19. sendmail_path = /usr/sbin/sendmail.postfix
  20. newaliases_path = /usr/bin/newaliases.postfix
  21. mailq_path = /usr/bin/mailq.postfix
  22. setgid_group = postdrop
  23. html_directory = no
  24. manpage_directory = /usr/share/man
  25. sample_directory = /usr/share/doc/postfix-2.1.5/samples
  26. readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES


 
 
ainsi que mon master.cf :
 

Code :
  1. # ==========================================================================
  2. # service type  private unpriv  chroot  wakeup  maxproc command + args
  3. #               (yes)   (yes)   (yes)   (never) (100)
  4. # ==========================================================================
  5. smtp      inet  n       -       n       -       -       smtpd
  6. #smtps    inet  n       -       n       -       -       smtpd
  7. #  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
  8. #submission   inet    n       -       n       -       -       smtpd
  9. #  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o smtpd_etrn_restrictions=reject
  10. #628      inet  n       -       n       -       -       qmqpd
  11. pickup    fifo  n       -       n       60      1       pickup
  12. cleanup   unix  n       -       n       -       0       cleanup
  13. qmgr      fifo  n       -       n       300     1       qmgr
  14. #qmgr     fifo  n       -       n       300     1       oqmgr
  15. #tlsmgr   fifo  -       -       n       300     1       tlsmgr
  16. rewrite   unix  -       -       n       -       -       trivial-rewrite
  17. bounce    unix  -       -       n       -       0       bounce
  18. defer     unix  -       -       n       -       0       bounce
  19. trace     unix  -       -       n       -       0       bounce
  20. verify    unix  -       -       n       -       1       verify
  21. flush     unix  n       -       n       1000?   0       flush
  22. proxymap  unix  -       -       n       -       -       proxymap
  23. smtp      unix  -       -       n       -       -       smtp
  24. relay     unix  -       -       n       -       -       smtp
  25. #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  26. showq     unix  n       -       n       -       -       showq
  27. error     unix  -       -       n       -       -       error
  28. local     unix  -       n       n       -       -       local
  29. virtual   unix  -       n       n       -       -       virtual
  30. lmtp      unix  -       -       n       -       -       lmtp
  31. anvil     unix  -       -       n       -       1       anvil
  32. maildrop  unix  -       n       n       -       -       pipe
  33.   flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
  34. uucp      unix  -       n       n       -       -       pipe
  35.   flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  36. ifmail    unix  -       n       n       -       -       pipe
  37.   flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  38. bsmtp     unix  -       n       n       -       -       pipe
  39.   flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient


 
 
en modifiant le mster.cf comme ceci (ajout des lignes relatives a cyrus)
 

Code :
  1. # ==========================================================================
  2. # service type  private unpriv  chroot  wakeup  maxproc command + args
  3. #               (yes)   (yes)   (yes)   (never) (100)
  4. # ==========================================================================
  5. smtp      inet  n       -       n       -       -       smtpd
  6. #smtps    inet  n       -       n       -       -       smtpd
  7. #  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
  8. #submission   inet    n       -       n       -       -       smtpd
  9. #  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o smtpd_etrn_restrictions=reject
  10. #628      inet  n       -       n       -       -       qmqpd
  11. pickup    fifo  n       -       n       60      1       pickup
  12. cleanup   unix  n       -       n       -       0       cleanup
  13. qmgr      fifo  n       -       n       300     1       qmgr
  14. #qmgr     fifo  n       -       n       300     1       oqmgr
  15. #tlsmgr   fifo  -       -       n       300     1       tlsmgr
  16. rewrite   unix  -       -       n       -       -       trivial-rewrite
  17. bounce    unix  -       -       n       -       0       bounce
  18. defer     unix  -       -       n       -       0       bounce
  19. trace     unix  -       -       n       -       0       bounce
  20. verify    unix  -       -       n       -       1       verify
  21. flush     unix  n       -       n       1000?   0       flush
  22. proxymap  unix  -       -       n       -       -       proxymap
  23. smtp      unix  -       -       n       -       -       smtp
  24. relay     unix  -       -       n       -       -       smtp
  25. #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  26. showq     unix  n       -       n       -       -       showq
  27. error     unix  -       -       n       -       -       error
  28. local     unix  -       n       n       -       -       local
  29. virtual   unix  -       n       n       -       -       virtual
  30. lmtp      unix  -       -       n       -       -       lmtp
  31. anvil     unix  -       -       n       -       1       anvil
  32. maildrop  unix  -       n       n       -       -       pipe
  33.   flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
  34. old-cyrus unix  -       n       n       -       -       pipe
  35.   flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
  36. cyrus     unix  -       n       n       -       -       pipe
  37.   user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
  38. uucp      unix  -       n       n       -       -       pipe
  39.   flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  40. ifmail    unix  -       n       n       -       -       pipe
  41.   flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  42. bsmtp     unix  -       n       n       -       -       pipe
  43.   flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient


 
 
mes log deviennent :
 

Code :
  1. ug 24 16:40:40 wallis postfix/smtpd[14484]: connect from el-out-1112.google.com[209.85.162.181]
  2. Aug 24 16:40:40 wallis postfix/smtpd[14484]: ECD62C0058: client=el-out-1112.google.com[209.85.162.181]
  3. Aug 24 16:40:41 wallis postfix/cleanup[14736]: ECD62C0058: message-id=<64d258bc0708240741r651274b6wfdc7988880b5dda@mail.gmail.com>
  4. Aug 24 16:40:41 wallis postfix/qmgr[11562]: ECD62C0058: from=<nicotom@gmail.com>, size=1941, nrcpt=1 (queue active)
  5. Aug 24 16:40:41 wallis postfix/pipe[14813]: fatal: get_service_attr: unknown username: cyrus
  6. Aug 24 16:40:42 wallis postfix/local[14812]: warning: premature end-of-input on private/cyrus socket while reading input attribute name
  7. Aug 24 16:40:42 wallis postfix/local[14812]: warning: private/cyrus socket: malformed response
  8. Aug 24 16:40:42 wallis postfix/master[11558]: warning: process /usr/libexec/postfix/pipe pid 14813 exit status 1
  9. Aug 24 16:40:42 wallis postfix/master[11558]: warning: /usr/libexec/postfix/pipe: bad command startup -- throttling
  10. Aug 24 16:41:11 wallis postfix/smtpd[14484]: disconnect from el-out-1112.google.com[209.85.162.181]


 
 
auriez vous une idée pour me débloquer ??
 
Merci de votre aide


Message édité par nico_tom le 28-08-2007 à 14:13:35
mood
Publicité
Posté le 24-08-2007 à 16:50:21  profilanswer
 

n°946700
Trakx
Posté le 24-08-2007 à 23:04:35  profilanswer
 

Il ne fallait pas modifier le master.cf mais simplement enlever du main.cf la ligne "mailbox_transport = cyrus"

n°947190
nico_tom
Posté le 27-08-2007 à 11:01:21  profilanswer
 

Merci Trakx ca passe nikel !!
 
Par contre, maintenant, j'ai une autre interogation:
 
Les mails arrivent bien mais ils arrivent dans /home/utilisateur/Mailbox
 
Les utilisateurs sont sous Win et utilisent outlook.
Lorsu'ils chech leur mails, aucun ne parvient jusqu'a chez eux. (alors qu'il sont bien dans /home/utilisateur/Mailbox.)
 
Comment faire pour que ca fonctionne ??
 
Est-ce dans la config de postfix, du daemon pop ..... ????
 
merci


Message édité par nico_tom le 27-08-2007 à 11:30:00
n°947392
Trakx
Posté le 27-08-2007 à 18:31:22  profilanswer
 

De mémoire uw-imap va chercher les mails dans /var/spool/mail/<user>
 
Donc il faut dire à postfix de les mettre là avec la ligne suivante dans le main.cf:
mail_spool_directory = /var/spool/mail
 
(n'oublie pas de relancer/recharger postfix après les modifications du fichier de conf)
Sinon tu peux aussi utiliser un MDA comme procmail pour écrire les mails où tu souhaites.

n°947637
nico_tom
Posté le 28-08-2007 à 14:13:11  profilanswer
 

Merci Trakx
 
Ca fonctionne nikel !!
 
Merci a vous pour votre aide !!


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  Postfix et uw_imap [resolu]

 

Sujets relatifs
[Résolu] Kino, acquisition se plante au bout de 30sCompilation Gentooïste de qt-4.3.0 qui foire, avec gcc-4.2.0 [Résolu]
[résolu] connexion internet en user[résolu] Suse 10.2 + fast800
Erreur avec Postfix et courier-imapDroits sur les fichiers créés par un processus [Résolu]
[résolu] Comment lancer un script shell via un clic de souris ?[resolu] envoi mail postfix extérieur
Pb avec PostFix & Cyrus ou Courier-imap [Courier-imap : Non-Resolu][MAIL] Postfix + Courier-Imap + SquirrelMail [Résolu]
Plus de sujets relatifs à : Postfix et uw_imap [resolu]


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR