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 :
- Aug 24 16:27:53 wallis postfix/smtpd[7404]: connect from an-out-0708.google.com[209.85.132.250]
- Aug 24 16:27:54 wallis postfix/smtpd[7404]: 1134AC0055: client=an-out-0708.google.com[209.85.132.250]
- Aug 24 16:27:54 wallis postfix/cleanup[7407]: 1134AC0055: message-id=<64d258bc0708240728w73e75856l7de162fd5c01a136@mail.gmail.com>
- Aug 24 16:27:54 wallis postfix/qmgr[7363]: 1134AC0055: from=<nicotom@gmail.com>, size=1926, nrcpt=1 (queue active)
- Aug 24 16:27:54 wallis postfix/local[7408]: warning: connect #1 to subsystem private/cyrus: No such file or directory
- Aug 24 16:28:04 wallis postfix/local[7408]: warning: connect #2 to subsystem private/cyrus: No such file or directory
- Aug 24 16:28:14 wallis postfix/local[7408]: warning: connect #3 to subsystem private/cyrus: No such file or directory
- Aug 24 16:28:24 wallis postfix/local[7408]: warning: connect #4 to subsystem private/cyrus: No such file or directory
- Aug 24 16:28:24 wallis postfix/smtpd[7404]: disconnect from an-out-0708.google.com[209.85.132.250]
- Aug 24 16:28:34 wallis postfix/local[7408]: warning: connect #5 to subsystem private/cyrus: No such file or directory
- Aug 24 16:28:44 wallis postfix/local[7408]: warning: connect #6 to subsystem private/cyrus: No such file or directory
- Aug 24 16:28:54 wallis postfix/local[7408]: warning: connect #7 to subsystem private/cyrus: No such file or directory
- Aug 24 16:29:04 wallis postfix/local[7408]: warning: connect #8 to subsystem private/cyrus: No such file or directory
- Aug 24 16:29:14 wallis postfix/local[7408]: warning: connect #9 to subsystem private/cyrus: No such file or directory
- Aug 24 16:29:24 wallis postfix/local[7408]: warning: connect #10 to subsystem private/cyrus: No such file or directory
- Aug 24 16:29:34 wallis postfix/local[7408]: fatal: connect #11 to subsystem private/cyrus: No such file or directory
- Aug 24 16:29:35 wallis postfix/qmgr[7363]: warning: premature end-of-input on private/local socket while reading input attribute name
- Aug 24 16:29:35 wallis postfix/qmgr[7363]: warning: private/local socket: malformed response
- 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
- Aug 24 16:29:35 wallis postfix/master[7361]: warning: process /usr/libexec/postfix/local pid 7408 exit status 1
- Aug 24 16:29:35 wallis postfix/master[7361]: warning: /usr/libexec/postfix/local: bad command startup -- throttling
- Aug 24 16:29:58 wallis postfix/qmgr[7363]: 1340CC0042: from=<nicolas@helionet.com>, size=702, nrcpt=1 (queue active)
- Aug 24 16:29:58 wallis postfix/qmgr[7363]: BFD64C003D: from=<nicolas@helionet.com>, size=702, nrcpt=1 (queue active)
- Aug 24 16:30:35 wallis postfix/local[10547]: warning: connect #1 to subsystem private/cyrus: No such file or directory
- Aug 24 16:30:35 wallis postfix/local[10548]: warning: connect #1 to subsystem private/cyrus: No such file or directory
- Aug 24 16:30:45 wallis postfix/local[10547]: warning: connect #2 to subsystem private/cyrus: No such file or directory
- Aug 24 16:30:45 wallis postfix/local[10548]: warning: connect #2 to subsystem private/cyrus: No such file or directory
- Aug 24 16:30:55 wallis postfix/local[10547]: warning: connect #3 to subsystem private/cyrus: No such file or directory
- Aug 24 16:30:55 wallis postfix/local[10548]: warning: connect #3 to subsystem private/cyrus: No such file or directory
- Aug 24 16:31:05 wallis postfix/local[10547]: warning: connect #4 to subsystem private/cyrus: No such file or directory
- 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 :
- queue_directory = /var/spool/postfix
- program_directory = /usr/libexec/postfix
- command_directory = /usr/sbin
- daemon_directory = /usr/libexec/postfix
- mail_owner = postfix
- myhostname = wallis.chrono.fr
- mydomain = helionet.com
- myorigin = $mydomain
- inet_interfaces = $myhostname, localhost
- unknown_local_recipient_reject_code = 550
- mynetworks = 10.1.34.0/24, 10.1.48.0/24
- alias_database = hash:/etc/aliases
- home_mailbox = Mailbox
- mailbox_transport = cyrus
- debug_peer_level = 2
- debugger_command =
- PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
- xxgdb $daemon_directory/$process_name $process_id & sleep 5
- sendmail_path = /usr/sbin/sendmail.postfix
- newaliases_path = /usr/bin/newaliases.postfix
- mailq_path = /usr/bin/mailq.postfix
- setgid_group = postdrop
- html_directory = no
- manpage_directory = /usr/share/man
- sample_directory = /usr/share/doc/postfix-2.1.5/samples
- readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
|
ainsi que mon master.cf :
Code :
- # ==========================================================================
- # service type private unpriv chroot wakeup maxproc command + args
- # (yes) (yes) (yes) (never) (100)
- # ==========================================================================
- smtp inet n - n - - smtpd
- #smtps inet n - n - - smtpd
- # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
- #submission inet n - n - - smtpd
- # -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o smtpd_etrn_restrictions=reject
- #628 inet n - n - - qmqpd
- pickup fifo n - n 60 1 pickup
- cleanup unix n - n - 0 cleanup
- qmgr fifo n - n 300 1 qmgr
- #qmgr fifo n - n 300 1 oqmgr
- #tlsmgr fifo - - n 300 1 tlsmgr
- rewrite unix - - n - - trivial-rewrite
- bounce unix - - n - 0 bounce
- defer unix - - n - 0 bounce
- trace unix - - n - 0 bounce
- verify unix - - n - 1 verify
- flush unix n - n 1000? 0 flush
- proxymap unix - - n - - proxymap
- smtp unix - - n - - smtp
- relay unix - - n - - smtp
- # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
- showq unix n - n - - showq
- error unix - - n - - error
- local unix - n n - - local
- virtual unix - n n - - virtual
- lmtp unix - - n - - lmtp
- anvil unix - - n - 1 anvil
- maildrop unix - n n - - pipe
- flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
- uucp unix - n n - - pipe
- flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
- ifmail unix - n n - - pipe
- flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
- bsmtp unix - n n - - pipe
- 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 :
- # ==========================================================================
- # service type private unpriv chroot wakeup maxproc command + args
- # (yes) (yes) (yes) (never) (100)
- # ==========================================================================
- smtp inet n - n - - smtpd
- #smtps inet n - n - - smtpd
- # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
- #submission inet n - n - - smtpd
- # -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o smtpd_etrn_restrictions=reject
- #628 inet n - n - - qmqpd
- pickup fifo n - n 60 1 pickup
- cleanup unix n - n - 0 cleanup
- qmgr fifo n - n 300 1 qmgr
- #qmgr fifo n - n 300 1 oqmgr
- #tlsmgr fifo - - n 300 1 tlsmgr
- rewrite unix - - n - - trivial-rewrite
- bounce unix - - n - 0 bounce
- defer unix - - n - 0 bounce
- trace unix - - n - 0 bounce
- verify unix - - n - 1 verify
- flush unix n - n 1000? 0 flush
- proxymap unix - - n - - proxymap
- smtp unix - - n - - smtp
- relay unix - - n - - smtp
- # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
- showq unix n - n - - showq
- error unix - - n - - error
- local unix - n n - - local
- virtual unix - n n - - virtual
- lmtp unix - - n - - lmtp
- anvil unix - - n - 1 anvil
- maildrop unix - n n - - pipe
- flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
- old-cyrus unix - n n - - pipe
- flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
- cyrus unix - n n - - pipe
- user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
- uucp unix - n n - - pipe
- flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
- ifmail unix - n n - - pipe
- flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
- bsmtp unix - n n - - pipe
- flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
|
mes log deviennent :
Code :
- ug 24 16:40:40 wallis postfix/smtpd[14484]: connect from el-out-1112.google.com[209.85.162.181]
- Aug 24 16:40:40 wallis postfix/smtpd[14484]: ECD62C0058: client=el-out-1112.google.com[209.85.162.181]
- Aug 24 16:40:41 wallis postfix/cleanup[14736]: ECD62C0058: message-id=<64d258bc0708240741r651274b6wfdc7988880b5dda@mail.gmail.com>
- Aug 24 16:40:41 wallis postfix/qmgr[11562]: ECD62C0058: from=<nicotom@gmail.com>, size=1941, nrcpt=1 (queue active)
- Aug 24 16:40:41 wallis postfix/pipe[14813]: fatal: get_service_attr: unknown username: cyrus
- Aug 24 16:40:42 wallis postfix/local[14812]: warning: premature end-of-input on private/cyrus socket while reading input attribute name
- Aug 24 16:40:42 wallis postfix/local[14812]: warning: private/cyrus socket: malformed response
- Aug 24 16:40:42 wallis postfix/master[11558]: warning: process /usr/libexec/postfix/pipe pid 14813 exit status 1
- Aug 24 16:40:42 wallis postfix/master[11558]: warning: /usr/libexec/postfix/pipe: bad command startup -- throttling
- 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