Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 29/06/2007, à 11:10

g_barthe

Pb install serveur smtp

Bonjour,
J'ai suivi le tuto d'install d'un serveur mail pour ma boite pour me permettre d'envoyer le rapport du logiciel glpi.

J'ai le résultat suivant :

 sudo dpkg-reconfigure postfix
 * Stopping Postfix Mail Transport Agent postfix                                                                            [ OK ]
hostname: Unknown host
hostname: Unknown host
setting synchronous mail queue updates: true
mailname is not a fully qualified domain name.  Not changing /etc/mailname.
setting destinations: system01.fr, parc_info_tz.system01.fr, localhost.system01.fr, localhost, parc_info_tz
setting relayhost:
setting mynetworks: 127.0.0.0/8, 192.168.0.0/24, 172.19.63.56/24
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: loopback-only
setting inet_protocols: all

Postfix is now set up with the changes above.  If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
 * Stopping Postfix Mail Transport Agent postfix                                                                            [ OK ]
 * Starting Postfix Mail Transport Agent postfix                                                                            [ OK ]
administrateur@tunzini02:~$ sudo /etc/init.d/postfix reload
 * Reloading Postfix configuration...                                                                                       [ OK ]
administrateur@tunzini02:~$ sudo /etc/init.d/postfix restart
 * Stopping Postfix Mail Transport Agent postfix                                                                            [ OK ]
 * Starting Postfix Mail Transport Agent postfix                                                                            [ OK ]
administrateur@tunzini02:~$ mail gbarthe@tunzini.fr
Cc:
Subject: test
test

et resultat de postconf -n :

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = loopback-only
inet_protocols = all
mailbox_size_limit = 0
mydestination = system01.fr, parc_info_tz.system01.fr, localhost.system01.fr, localhost, parc_info_tz
myhostname = parc_info_tz
mynetworks = 127.0.0.0/8, 192.168.0.0/24, 172.19.63.56/24
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes

resultat de postfinger

postfinger - postfix configuration on Fri Jun 29 11:51:23 CEST 2007
version: 1.30

Warning: postfinger output may show private configuration information,
such as ip addresses and/or domain names which you do not want to show
to the public.  If this is the case it is your responsibility to modify
the output to hide this private information.  [Remove this warning with
the --nowarn option.]

--System Parameters--
mail_version = 2.3.8
hostname = tunzini02
uname = Linux tunzini02 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

--Packaging information--
looks like this postfix comes from deb package: postfix-2.3.8-2

--main.cf non-default parameters--
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
home_mailbox = Maildir/
inet_interfaces = loopback-only
inet_protocols = all
mailbox_size_limit = 0
mydestination = system01.fr, parc_info_tz.system01.fr, localhost.system01.fr, localhost, parc_info_tz
myhostname = parc_info_tz
mynetworks = 127.0.0.0/8, 192.168.0.0/24, 172.19.63.56/24
myorigin = /etc/mailname
recipient_delimiter = +
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

--master.cf--
smtp      inet  n       -       -       -       -       smtpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
        -o fallback_relay=
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/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=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix  -       n       n       -       2       pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}

-- end of postfinger output --

et le log

Jun 29 11:08:55 tunzini02 postfix/master[10066]: daemon started -- version 2.3.8, configuration /etc/postfix
Jun 29 11:08:55 tunzini02 postfix/qmgr[10068]: 4CEB5B0487: from=<administrateur@parc_info.tunzini>, size=353, nrcpt=1 (queue active)
Jun 29 11:08:55 tunzini02 postfix/qmgr[10068]: 34551B0467: from=<administrateur@parc_info.tunzini>, size=376, nrcpt=1 (queue active)
Jun 29 11:09:25 tunzini02 postfix/smtp[10073]: connect to smtp3-ft1.tunzini.fr[81.252.86.88]: Connection timed out (port 25)
Jun 29 11:09:25 tunzini02 postfix/smtp[10074]: connect to smtp2-ft1.tunzini.fr[81.252.86.89]: Connection timed out (port 25)
Jun 29 11:09:25 tunzini02 postfix/smtp[10073]: connect to smtp2-ft1.tunzini.fr[81.252.86.89]: Network is unreachable (port 25)
Jun 29 11:09:34 tunzini02 postfix/smtp[10074]: connect to smtp3-ft1.tunzini.fr[81.252.86.88]: Network is unreachable (port 25)
Jun 29 11:09:55 tunzini02 postfix/smtp[10073]: connect to smtp3-cg.tunzini.fr[195.115.22.70]: Connection timed out (port 25)
Jun 29 11:10:04 tunzini02 postfix/smtp[10074]: connect to smtp3-cg.tunzini.fr[195.115.22.70]: Connection timed out (port 25)
Jun 29 11:10:25 tunzini02 postfix/smtp[10073]: connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out (port 25)
Jun 29 11:10:25 tunzini02 postfix/smtp[10073]: 4CEB5B0487: to=<gbarthe@tunzini.fr>, relay=none, delay=161, delays=71/0.04/90/0, dsn=4.4.1, status=deferred (connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out)
Jun 29 11:10:34 tunzini02 postfix/smtp[10074]: connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out (port 25)
Jun 29 11:10:34 tunzini02 postfix/smtp[10074]: 34551B0467: to=<gbarthe@tunzini.fr>, relay=none, delay=56871, delays=56772/0.01/99/0, dsn=4.4.1, status=deferred (connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out)
Jun 29 11:25:35 tunzini02 postfix/qmgr[10068]: 3ABBDB0479: from=<www-data@parc_info.tunzini>, size=538, nrcpt=1 (queue active)
Jun 29 11:25:35 tunzini02 postfix/qmgr[10068]: 82A11B0478: from=<www-data@parc_info.tunzini>, size=538, nrcpt=1 (queue active)
Jun 29 11:25:35 tunzini02 postfix/qmgr[10068]: 0CA39B0485: from=<administrateur@parc_info.tunzini>, size=371, nrcpt=1 (queue active)
Jun 29 11:25:35 tunzini02 postfix/qmgr[10068]: C3906B047E: from=<www-data@parc_info.tunzini>, size=538, nrcpt=1 (queue active)
Jun 29 11:25:35 tunzini02 postfix/qmgr[10068]: CDC29B0484: from=<administrateur@parc_info.tunzini>, size=372, nrcpt=1 (queue active)
Jun 29 11:25:35 tunzini02 postfix/smtp[10488]: connect to smtp3-ft1.tunzini.fr[81.252.86.88]: Network is unreachable (port 25)
Jun 29 11:25:44 tunzini02 postfix/smtp[10489]: connect to smtp2-ft1.tunzini.fr[81.252.86.89]: Network is unreachable (port 25)
Jun 29 11:25:56 tunzini02 postfix/smtp[10491]: connect to smtp2-ft1.tunzini.fr[81.252.86.89]: Network is unreachable (port 25)
Jun 29 11:25:59 tunzini02 postfix/smtp[10491]: connect to smtp3-ft1.tunzini.fr[81.252.86.88]: Network is unreachable (port 25)
Jun 29 11:26:05 tunzini02 postfix/smtp[10490]: connect to smtp2-ft1.tunzini.fr[81.252.86.89]: Connection timed out (port 25)
Jun 29 11:26:05 tunzini02 postfix/smtp[10492]: connect to smtp2-ft1.tunzini.fr[81.252.86.89]: Connection timed out (port 25)
Jun 29 11:26:05 tunzini02 postfix/smtp[10488]: connect to smtp2-ft1.tunzini.fr[81.252.86.89]: Connection timed out (port 25)
Jun 29 11:26:14 tunzini02 postfix/smtp[10489]: connect to smtp3-ft1.tunzini.fr[81.252.86.88]: Connection timed out (port 25)
Jun 29 11:26:29 tunzini02 postfix/smtp[10491]: connect to smtp3-cg.tunzini.fr[195.115.22.70]: Connection timed out (port 25)
Jun 29 11:26:35 tunzini02 postfix/smtp[10490]: connect to smtp3-ft1.tunzini.fr[81.252.86.88]: Connection timed out (port 25)
Jun 29 11:26:35 tunzini02 postfix/smtp[10492]: connect to smtp3-ft1.tunzini.fr[81.252.86.88]: Connection timed out (port 25)
Jun 29 11:26:35 tunzini02 postfix/smtp[10488]: connect to smtp3-cg.tunzini.fr[195.115.22.70]: Connection timed out (port 25)
Jun 29 11:26:44 tunzini02 postfix/smtp[10489]: connect to smtp3-cg.tunzini.fr[195.115.22.70]: Connection timed out (port 25)
Jun 29 11:26:59 tunzini02 postfix/smtp[10491]: connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out (port 25)
Jun 29 11:26:59 tunzini02 postfix/smtp[10491]: C3906B047E: to=<sos_info_tz@tunzini.fr>, relay=none, delay=56590, delays=56506/0.05/84/0, dsn=4.4.1, status=deferred (connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out)
Jun 29 11:27:05 tunzini02 postfix/smtp[10490]: connect to smtp3-cg.tunzini.fr[195.115.22.70]: Connection timed out (port 25)
Jun 29 11:27:05 tunzini02 postfix/smtp[10492]: connect to smtp3-cg.tunzini.fr[195.115.22.70]: Connection timed out (port 25)
Jun 29 11:27:05 tunzini02 postfix/smtp[10488]: connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out (port 25)
Jun 29 11:27:05 tunzini02 postfix/smtp[10488]: 3ABBDB0479: to=<sos_info_tz@tunzini.fr>, relay=none, delay=56692, delays=56601/0.04/90/0, dsn=4.4.1, status=deferred (connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out)
Jun 29 11:27:14 tunzini02 postfix/smtp[10489]: connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out (port 25)
Jun 29 11:27:14 tunzini02 postfix/smtp[10489]: 82A11B0478: to=<sos_info_tz@tunzini.fr>, relay=none, delay=56761, delays=56662/0.03/99/0, dsn=4.4.1, status=deferred (connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out)
Jun 29 11:27:35 tunzini02 postfix/smtp[10490]: connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out (port 25)
Jun 29 11:27:35 tunzini02 postfix/smtp[10492]: connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out (port 25)
Jun 29 11:27:35 tunzini02 postfix/smtp[10492]: CDC29B0484: to=<gbarthe@tunzini.fr>, relay=none, delay=1704, delays=1584/0.06/120/0, dsn=4.4.1, status=deferred (connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out)
Jun 29 11:27:35 tunzini02 postfix/smtp[10490]: 0CA39B0485: to=<gbarthe@tunzini.fr>, relay=none, delay=1646, delays=1526/0.07/120/0, dsn=4.4.1, status=deferred (connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out)
Jun 29 11:42:15 tunzini02 postfix/qmgr[10068]: 3375CB0482: from=<www-data@parc_info.tunzini>, size=538, nrcpt=1 (queue active)
Jun 29 11:42:15 tunzini02 postfix/qmgr[10068]: 3375CB0482: to=<sos_info_tz@tunzini.fr>, relay=none, delay=7666, delays=7666/0.03/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out)
Jun 29 11:42:15 tunzini02 postfix/qmgr[10068]: 4CEB5B0487: from=<administrateur@parc_info.tunzini>, size=353, nrcpt=1 (queue active)
Jun 29 11:42:15 tunzini02 postfix/qmgr[10068]: 4CEB5B0487: to=<gbarthe@tunzini.fr>, relay=none, delay=2072, delays=2072/0.01/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to smtp2-cg.tunzini.fr[195.115.22.69]: Connection timed out)

Ma machine physique s'appelle "tunzini02" mais sur le réseau via le dns "parc_info_tz" son ip 172.19.63.56 et le domaine system01.fr

Quelqu'un de plus calé que moi en serveur mail pourrait-il m'aiguiller pck la je bidouille en essayant de relire les tuto mais rien.

Merci d'avance.

Dernière modification par g_barthe (Le 29/06/2007, à 11:55)


Mon forum perso sur le génie climatique http://le-genie-climatique.positifforum.com/
Le forum des travaux manuels : http://pausebroderie.fr/

Hors ligne

#2 Le 29/06/2007, à 11:41

Uggy

Re : Pb install serveur smtp

Comment soumettre un problème Postfix sur le forum:
http://doc.ubuntu-fr.org/serveur/comment_soumettre_un_probleme_postfix_sur_le_forum

Hors ligne

#3 Le 29/06/2007, à 11:47

g_barthe

Re : Pb install serveur smtp

dsl j'avais pas vu j'edit pour être conforme


Mon forum perso sur le génie climatique http://le-genie-climatique.positifforum.com/
Le forum des travaux manuels : http://pausebroderie.fr/

Hors ligne

#4 Le 29/06/2007, à 12:01

Uggy

Re : Pb install serveur smtp

Jun 29 11:27:05 tunzini02 postfix/smtp[10492]: connect to smtp3-cg.tunzini.fr[195.115.22.70]: Connection timed out (port 25)

Ton serveur n'a pas acces aux ports 25...
Soit tu as un FW dans ton réseau...
soit tu est chez un provider qui bloque le port 25 (chez free tu peux le rouvrir)

Hors ligne

#5 Le 29/06/2007, à 13:19

g_barthe

Re : Pb install serveur smtp

c'est un réseau d'entreprise donc je pense pas que ce soit le provider.

Je regarde du coté du FW


Mon forum perso sur le génie climatique http://le-genie-climatique.positifforum.com/
Le forum des travaux manuels : http://pausebroderie.fr/

Hors ligne