Oy oy journal !!
Voila, en ce beau début d'été, je me suis lancé dans une installation pour voir d'un Postfix. Il se lance et s'arrête très bien, la commande "mail" semble fonctionner avec, mais je ne recois pas les mails en local...
Mon main.cf :
# These are only the parameters changed from a default install
# see /etc/postfix/main.cf.dist for a commented, fuller version of this file.
# These are changed by postfix install script
readme_directory = /usr/share/doc/postfix-2.1.1/README_FILES
sample_directory = /usr/share/doc/postfix-2.1.1/samples
html_directory = /usr/share/doc/postfix-2.1.1/html
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib/postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
queue_directory = /var/spool/postfix
mail_owner = postfix
# User configurable parameters
inet_interfaces = all
mynetworks_style = subnet
delay_warning_time = 4h
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
unknown_local_recipient_reject_code = 450
smtp-filter_destination_concurrency_limit = 2
lmtp-filter_destination_concurrency_limit = 2
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
# Définition du serveur & nom de domaine
myhostname = wheels.glando.fr
mydomain = glando.fr
# Domaine du courrier sortant
myorigin = $mydomain
# Domaine du courrier entrant
mydestination = $myhostname, localhost.$mydomain, $mydomain, www.$mydomain, ftp.$mydomain
# Gestion des alias
alias_maps = /etc/postfix/aliases
alias_database = /etc/postfix/aliases
# Mailbox
mail_spool_directory = /var/spool/mail
# Réseaux
#mynetworks = 192.168.100.0/24, 127.0.0.0/8
---------------------------------------------
et le résultat d'un tail /var/mail/log/info :
Jun 17 00:52:48 wheels postfix/postfix-script: starting the Postfix mail system
Jun 17 00:52:48 wheels postfix/master[10814]: daemon started -- version 2.1.1
Jun 17 00:52:48 wheels postfix/qmgr[10816]: B88621835A: from=<root@glando.fr>, size=316, nrcpt=1 (queue active)
Jun 17 00:52:48 wheels postfix/qmgr[10816]: C49211835C: from=<root@glando.fr>, size=322, nrcpt=1 (queue active)
Jun 17 00:52:48 wheels postfix/qmgr[10816]: CE8E21835F: from=<adams@glando.fr>, size=340, nrcpt=1 (queue active)
Jun 17 00:52:48 wheels postfix/qmgr[10816]: A54BD18360: from=<root@glando.fr>, size=308, nrcpt=1 (queue active)
Jun 17 00:52:48 wheels postfix/qmgr[10816]: A519F18361: from=<root@glando.fr>, size=301, nrcpt=1 (queue active)
Jun 17 00:52:48 wheels postfix/qmgr[10816]: 16E0C18366: from=<root@glando.fr>, size=289, nrcpt=1 (queue active)
Jun 17 00:52:48 wheels postfix/qmgr[10816]: E225018362: from=<adams@glando.fr>, size=303, nrcpt=1 (queue active)
Jun 17 00:52:48 wheels postfix/qmgr[10816]: E080C18365: from=<root@glando.fr>, size=314, nrcpt=1 (queue active)
Jun 17 00:52:48 wheels postfix/qmgr[10816]: 94A3E18364: from=<root@glando.fr>, size=308, nrcpt=1 (queue active)
Jun 17 00:52:48 wheels postfix/qmgr[10816]: 5796118368: from=<root@glando.fr>, size=307, nrcpt=1 (queue active)
Jun 17 00:53:02 wheels postfix/pickup[10815]: B016718369: uid=0 from=
Jun 17 00:53:02 wheels postfix/cleanup[10832]: B016718369: message-id=<20040616225302.B016718369@wheels.glando.fr>
Jun 17 00:53:02 wheels postfix/qmgr[10816]: B016718369: from=<root@glando.fr>, size=292, nrcpt=1 (queue active)
Jun 17 00:53:12 wheels postfix/postfix-script: stopping the Postfix mail system
Jun 17 00:53:12 wheels postfix/master[10814]: terminating on signal 15
On voit bien apparaitre les lignes correspondant aux mails qu'on essaye d'envoyer, mais jamais il ne les délivre..... Pourquoi donc ? Si tu as une idée mon cher journal, moi à cette heure-ci j'en ait plus....
# DNS
Posté par Frankwai . Évalué à 1.
# Pas assez complet ce que tu nous donne
Posté par LaBienPensanceMaTuer . Évalué à 2.
[^] # Re: Pas assez complet ce que tu nous donne
Posté par Nicolas Vaton . Évalué à 1.
[^] # Re: Pas assez complet ce que tu nous donne
Posté par Nicolas Vaton . Évalué à 1.
Jun 16 23:25:27 wheels postfix/local[9110]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:26:28 wheels postfix/local[9121]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:27:29 wheels postfix/local[9132]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:28:16 wheels postfix/postfix-script: fatal: the Postfix mail system is not running
Jun 16 23:28:30 wheels postfix/master[9235]: fatal: bind 127.0.0.1 port 25: Address already in use
Jun 16 23:28:30 wheels postfix/local[9236]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:28:33 wheels postfix/postfix-script: fatal: the Postfix mail system is not running
Jun 16 23:28:39 wheels postfix/master[9285]: fatal: bind 127.0.0.1 port 25: Address already in use
Jun 16 23:28:43 wheels postfix/master[9330]: fatal: bind 127.0.0.1 port 25: Address already in use
Jun 16 23:29:18 wheels postfix/postfix-script: fatal: the Postfix mail system is not running
Jun 16 23:29:31 wheels postfix/local[9348]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:29:43 wheels postfix/master[9393]: fatal: bind 127.0.0.1 port 25: Address already in use
Jun 16 23:30:32 wheels postfix/local[9407]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:31:33 wheels postfix/local[9419]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:32:34 wheels postfix/local[9439]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:33:35 wheels postfix/local[9460]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:34:36 wheels postfix/local[9536]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:35:37 wheels postfix/local[9566]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:36:38 wheels postfix/local[9581]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:37:39 wheels postfix/local[9593]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:38:20 wheels postfix/local[9672]: fatal: open dictionary: need "type:name" form instead of: "hash"
Jun 16 23:39:21 wheels postfix/local[9687]: fatal: open dictionary: need "type:name" form instead of: "hash"
Extrait du fichier warnings :
Jun 17 00:43:16 wheels postfix/master[10448]: warning: process /usr/lib/postfix/local pid 10650 exit status 1
Jun 17 00:43:16 wheels postfix/master[10448]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 00:44:17 wheels postfix/master[10448]: warning: process /usr/lib/postfix/local pid 10662 exit status 1
Jun 17 00:44:17 wheels postfix/master[10448]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 00:45:18 wheels postfix/master[10448]: warning: process /usr/lib/postfix/local pid 10672 exit status 1
Jun 17 00:45:18 wheels postfix/master[10448]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 00:46:19 wheels postfix/master[10448]: warning: process /usr/lib/postfix/local pid 10684 exit status 1
Jun 17 00:46:19 wheels postfix/master[10448]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 00:47:20 wheels postfix/master[10448]: warning: process /usr/lib/postfix/local pid 10697 exit status 1
Jun 17 00:47:20 wheels postfix/master[10448]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 00:48:21 wheels postfix/master[10448]: warning: process /usr/lib/postfix/local pid 10707 exit status 1
Jun 17 00:48:21 wheels postfix/master[10448]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 00:49:22 wheels postfix/master[10448]: warning: process /usr/lib/postfix/local pid 10717 exit status 1
Jun 17 00:49:22 wheels postfix/master[10448]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 00:50:23 wheels postfix/master[10448]: warning: process /usr/lib/postfix/local pid 10727 exit status 1
Jun 17 00:50:23 wheels postfix/master[10448]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 00:51:24 wheels postfix/master[10448]: warning: process /usr/lib/postfix/local pid 10738 exit status 1
Jun 17 00:51:24 wheels postfix/master[10448]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 00:52:25 wheels postfix/master[10448]: warning: process /usr/lib/postfix/local pid 10748 exit status 1
Jun 17 00:52:25 wheels postfix/master[10448]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 00:52:49 wheels postfix/master[10814]: warning: process /usr/lib/postfix/local pid 10819 exit status 1
Jun 17 00:52:49 wheels postfix/master[10814]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:04:06 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11025 exit status 1
Jun 17 01:04:06 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:05:07 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11037 exit status 1
Jun 17 01:05:07 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:06:08 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11047 exit status 1
Jun 17 01:06:08 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:07:09 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11057 exit status 1
Jun 17 01:07:09 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:08:10 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11067 exit status 1
Jun 17 01:08:10 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:09:11 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11077 exit status 1
Jun 17 01:09:11 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:10:12 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11091 exit status 1
Jun 17 01:10:12 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:11:13 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11101 exit status 1
Jun 17 01:11:13 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:12:14 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11111 exit status 1
Jun 17 01:12:14 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:13:15 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11121 exit status 1
Jun 17 01:13:15 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:14:16 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11131 exit status 1
Jun 17 01:14:16 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:15:17 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11143 exit status 1
Jun 17 01:15:17 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:16:18 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11153 exit status 1
Jun 17 01:16:18 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:17:19 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11163 exit status 1
Jun 17 01:17:19 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:18:20 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11173 exit status 1
Jun 17 01:18:20 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:19:21 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11186 exit status 1
Jun 17 01:19:21 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:20:22 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11196 exit status 1
Jun 17 01:20:22 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jun 17 01:21:23 wheels postfix/master[11020]: warning: process /usr/lib/postfix/local pid 11206 exit status 1
Jun 17 01:21:23 wheels postfix/master[11020]: warning: /usr/lib/postfix/local: bad command startup -- throttling
# Un probleme d'ip ?
Posté par Samaty Tramo . Évalué à 0.
Par hazard quel est ton adress IP ?
[^] # Re: Un probleme d'ip ?
Posté par Nicolas Vaton . Évalué à 1.
# alias_maps et alias_database
Posté par Damien Pobel (site web personnel) . Évalué à 2.
alias_maps = hash:/etc/postfix/aliases
et pareil pour alias_database. Mais je sais pas si ça résoudra ton problème.
Autre "truc" fait un postconf -d pour voir la config complète (avec les valeurs par défaut).
https://damien.pobel.fr
[^] # Re: alias_maps et alias_database
Posté par Nicolas Vaton . Évalué à 1.
[^] # Re: alias_maps et alias_database
Posté par Christophe Ricci . Évalué à 1.
Et tu devrais aussi faire un postalias /etc/postfix/aliases pour créer le fichier aliases.db qui est utilisé en version "hashé".
Quand c'est pour autre chose que les aliases, c'est postmap nomFichier
Suivre le flux des commentaires
Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.