[Postfix] erreur "bad transport type"

Résolu
jejeTech Messages postés 83 Date d'inscription   Statut Membre Dernière intervention   -  
[Dal] Messages postés 6205 Date d'inscription   Statut Contributeur Dernière intervention   -
J'ai installé un serveur de mail Postfix et je viens de finir la configuration d'Amavisd-new.

Amavisd-new doit redirigé les mails du port 25 sur le port 10024 afin de l'envoyer à SpamAssassin et Clam Anti-virus. Et ensuite si le mail est bon il renvoyé à Postfix sur le port 10025 afin d'être placé dans la boîte aux lettres coresspondante.

Mon problème c'est que lorsque je veux tester avec un "telnet localhost 10024" le serveur me dit : "telnet: Unable to connect to remote host: Connection refused"

et dans mes fichiers de log :

Mar 7 09:08:23 localhost amavis[20138]: Module Time::HiRes 01.20
Mar 7 09:08:23 localhost amavis[20138]: Module Unix::Syslog 0.99
Mar 7 09:08:23 localhost amavis[20138]: Found myself: /usr/local/sbin/amavisd -c /etc/amavisd.conf
Mar 7 09:08:23 localhost amavis[20138]: Lookup::SQL code NOT loaded
Mar 7 09:08:23 localhost amavis[20138]: Lookup::LDAP code NOT loaded
Mar 7 09:08:23 localhost amavis[20138]: AMCL-in protocol code loaded
Mar 7 09:08:23 localhost amavis[20138]: SMTP-in protocol code loaded
Mar 7 09:08:23 localhost amavis[20138]: ANTI-VIRUS code loaded
Mar 7 09:08:23 localhost amavis[20138]: ANTI-SPAM code NOT loaded
Mar 7 09:08:23 localhost amavis[20139]: Net::Server: Process Backgrounded
Mar 7 09:08:23 localhost amavis[20139]: Net::Server: 2006/03/07-09:08:23 Amavis (type Net::Server::PreForkSimple) starting! pid(20139)
Mar 7 09:08:23 localhost amavis[20139]: Net::Server: Binding to UNIX socket file /var/amavis/amavisd.sock using SOCK_STREAM
Mar 7 09:08:23 localhost amavis[20139]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
Mar 7 09:08:23 localhost amavis[20139]: Net::Server: Chrooting to /var/amavis
Mar 7 09:08:23 localhost amavis[20139]: Net::Server: Setting gid to "118 118"
Mar 7 09:08:23 localhost amavis[20139]: Net::Server: Setting uid to "118"
Mar 7 09:08:23 localhost amavis[20139]: No $file, not using it
Mar 7 09:08:23 localhost amavis[20139]: No $arc, not using it
Mar 7 09:08:23 localhost amavis[20139]: No $gzip, not using it
Mar 7 09:08:23 localhost amavis[20139]: No $bzip2, not using it
Mar 7 09:08:23 localhost amavis[20139]: No $lzop, not using it
Mar 7 09:08:23 localhost amavis[20139]: No $lha, not using it
Mar 7 09:08:23 localhost amavis[20139]: No $unarj, not using it
Mar 7 09:08:23 localhost amavis[20139]: No $uncompress, not using it
Mar 7 09:08:23 localhost amavis[20139]: No $unfreeze, not using it
Mar 7 09:08:23 localhost amavis[20139]: No $unrar, not using it
Mar 7 09:08:23 localhost amavis[20139]: No $zoo, not using it
Mar 7 09:08:23 localhost amavis[20139]: No $cpio, not using it
Mar 7 09:08:23 localhost amavis[20139]: Using internal av scanner code for (primary) Clam Antivirus-clamd
Mar 7 09:08:28 localhost postfix/master[20226]: fatal: /etc/postfix/master.cf: line 14: bad transport type: smtp_data_done_timeout=1200

Si quelqu'un pourrait m'aider merci d'avance !!!!

1 réponse

[Dal] Messages postés 6205 Date d'inscription   Statut Contributeur Dernière intervention   1 105
 
Salut jejeTech,

telnet localhost 10024

Et si à la place tu essayes

telnet 127.0.0.1 10024

Est-ce que celà change quelque chose ?

Mar 7 09:08:28 localhost postfix/master[20226]: fatal: /etc/postfix/master.cf: line 14: bad transport type: smtp_data_done_timeout=1200

Tu as quoi à la ligne 14 de ton master.cf (donne aussi les lignes de contexte autour de la ligne 14) ?


Dal
0