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