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

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  [Ubuntu][SMTP relay][Postfix] n'ecoute plus sur le port 25

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[Ubuntu][SMTP relay][Postfix] n'ecoute plus sur le port 25

n°1412190
rigecko
Posté le 04-01-2018 à 12:26:17  profilanswer
 

Bonjour,
Je viens vers vous car je ne comprends pas mon problème et les topic autour du même sujet ne resolve  pas mon pb.
J'ai isntallé il y a qq temps un postfix sur une machine virtuelle, ou Squid tourne également.
Ca fonctionnait très bien, et c'était censé relayer les messages d'erreurs de mon réseau.
ET la je m'apercoit que ca ne focntionne plus.
Postfix est bien lancé,
Mais rien n'écoute sur le prot 25  
 

proxy:/etc/init.d# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
default_transport = smtp
inet_interfaces = all
inet_protocols = all
local_header_rewrite_clients = permit_mynetworks
mailbox_command =
mailbox_size_limit = 51200000
mydestination = toto-proxy.toto, toto-proxy.toto.com, localhost.home, localhost
myhostname = toto.com
mynetworks = 127.0.0.0/8 , 192.168.2.0/23
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relay_domains = toto
relay_transport = smtp
relayhost = [127.0.0.1]:10465
sender_canonical_maps = hash:/etc/postfix/send_canonical
smtp_cname_overrides_servername = no
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sender_sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_note_starttls_offer = yes
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom


 
mais rien dans le netstat
 

# netstat -latnp
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat       PID/Program name
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      1280/dovecot
tcp        0      0 127.0.0.1:10465         0.0.0.0:*               LISTEN      1500/stunnel4
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      1280/dovecot
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      15814/master
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      651/smbd
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      1280/dovecot
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      1280/dovecot
tcp        0      0 127.0.0.1:80            0.0.0.0:*               LISTEN      1561/aolserver4-nsd
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1278/sshd
tcp        0      0 0.0.0.0:3128            0.0.0.0:*               LISTEN      15674/squid3
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      651/smbd
tcp        0      0 192.168.1.22:22         78.122.127.108:61485    ESTABLISHED 14849/sshd: eric [p
tcp        0    332 192.168.1.22:22         78.122.127.108:64719    ESTABLISHED 15521/sshd: eric [p
tcp        0      0 192.168.2.22:46010      192.168.2.245:445       ESTABLISHED -
tcp        0      0 192.168.2.22:48066      192.168.2.5:445         ESTABLISHED -
tcp        0      0 192.168.2.22:39772      192.168.2.242:445       ESTABLISHED -
tcp6       0      0 :::993                  :::*                    LISTEN      1280/dovecot
tcp6       0      0 :::995                  :::*                    LISTEN      1280/dovecot
tcp6       0      0 :::587                  :::*                    LISTEN      15814/master
tcp6       0      0 :::139                  :::*                    LISTEN      651/smbd
tcp6       0      0 :::110                  :::*                    LISTEN      1280/dovecot
tcp6       0      0 :::143                  :::*                    LISTEN      1280/dovecot
tcp6       0      0 :::8080                 :::*                    LISTEN      15674/squid3
tcp6       0      0 :::22                   :::*                    LISTEN      1278/sshd
tcp6       0      0 :::3129                 :::*                    LISTEN      15674/squid3
tcp6       0      0 :::445                  :::*                    LISTEN      651/smbd


 
J'avais suivi ce tuto: https://doc.ubuntu-fr.org/postfix
 
ET j'ai bien  

:sudo service saslauthd status
 * Checking SASL Authentication Daemon saslauthd                                                                           [ OK ]
: sudo service postfix status
 * postfix is running


Merci de votre aide

mood
Publicité
Posté le 04-01-2018 à 12:26:17  profilanswer
 


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

  [Ubuntu][SMTP relay][Postfix] n'ecoute plus sur le port 25

 

Sujets relatifs
[Résolu]Ubuntu et RAID 1 matériel et MDADMImpossible d'installer un linux / ubuntu sur mon pc
Quel linux/ubuntu installer ?[TUTO] Dual-Boot Propre et Fonctionnel Windows 10/Ubuntu 16.04
Trim sous Linux et Ubuntu ?BIOS qui ne détecte pas Ubuntu
[Résolu] Ubuntu 16.04 LVM choix perso des VG/LV a l'installationwp-smtp - le mail de test fonctionne mais pas les mails wordpress
Ubuntu 16.04 - Boot saturé et défaillant 
Plus de sujets relatifs à : [Ubuntu][SMTP relay][Postfix] n'ecoute plus sur le port 25


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