Salve a tutti,
ho un server con ubuntu 7.10 con Apache2 + MySQL + PhpMyAdmin + Php5. Ho
montato postfix per invio di mail in php.
Lancio il comando mail da console per fare una prova ad inviare una mail (la
mail non arriva al destinatario), e dai log trovo questo:
Nov 28 20:04:43 ubuntu-web postfix/pickup[5032]: 12D1D112792: uid=1000
from=<user-server>
Nov 28 20:04:43 ubuntu-web postfix/cleanup[5094]: 12D1D112792:
message-id=<20071128190443.12D1D112792@ubuntuweb.local>
Nov 28 20:04:43 ubuntu-web postfix/qmgr[5033]: 12D1D112792:
from=<user-server@ubuntuweb.local>, size=316, nrcpt=1 (queue active)
Nov 28 20:04:43 ubuntu-web postfix/smtp[5096]: 12D1D112792:
to=<MiaMail@DominioDestinazione.it>, relay=mail.libero.it[212.52.84.54]:25,
delay=0.55, delays=0.14/0.04/0.37/0, dsn=4.4.2, status=deferred (lost
connection with mail.libero.it[212.52.84.54] while receiving the initial
server greeting)
Ricevo quindi questo errore: lost connection with
mail.libero.it[212.52.84.54] while receiving the initial server greeting!!!
Il file main.cf di PostFix è il seguente:
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = ubuntuweb.local
mydomain = mail.ubuntuweb.local
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = ubuntuweb.local, localhost.localdomain, localhost
# server per il relay
relayhost = mail.libero.it
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
# interfacce
inet_interfaces = all
inet_protocols = all
Dove sbaglio? C'è qualche problema di configurazione?
Help me
![]()
![]()
![]()
![]()