Ciao a tutti, premetto di aver letto mezzo forum e circa 100000 guide su postfix prima di scrivere.

Il mio problema è "semplice"

Ho un negozio online www.pineappleitaly.com/shop

installato su un server virtuale GANDI.NET ubuntu 9.10.


Di linux NON sono un drago , ma nemmeno l'ultimo degli ultimi, eppure ho dei problemi a far uscire la posta tramite phpmail()!

Provando a configurare un smtp manuale sullo shop nono ottengo nulla, allora ho deciso di passare a postfix.

sudo apt-get install postfix

configurazione LOCALE (mi serve solo poter inviare le email da applicazioni che girano sui siti LOCALI VERSO l'esterno).

in main.cf imposto questi pochi paramentri (myhostname mi è stato consigliato dal supporto dell'hostibng provider , ovvero il reverse DNS del mio sito individuabile tramite il comando "host" "ip")

ecco il main.cf
codice:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
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:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_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 = xvm-21-29.ghst.net
mydomain = xvm-21-29.ghst.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.pineappleitaly.com, PINEAPPLE, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 10
recipient_delimiter = +
inet_interfaces = loopback-only
default_transport = error
relay_transport = error

Ecco il mail.log
[code]

May 5 18:25:31 PINEAPPLE postfix/pickup[10516]: DD20D82FB: uid=33 from=<matte89thebest@gmail.com>
May 5 18:25:31 PINEAPPLE postfix/cleanup[10522]: DD20D82FB: message-id=<20100505182531.9511.222647647.swift@www.pineappleitaly.com>
May 5 18:25:31 PINEAPPLE postfix/qmgr[10518]: DD20D82FB: from=<matte89thebest@gmail.com>, size=20576, nrcpt=1 (queue active)
May 5 18:25:31 PINEAPPLE postfix/error[10524]: DD20D82FB: to=<info@pineappleitaly.com>, relay=none, delay=0.03, delays=0.02/0/0/0, dsn=5.0.0, status=bounced (pineappleitaly.com)
May 5 18:25:31 PINEAPPLE postfix/cleanup[10522]: DFD6982FC: message-id=<20100505182531.DFD6982FC@xvm-21-29.ghst.net>
May 5 18:25:31 PINEAPPLE postfix/bounce[10525]: DD20D82FB: sender non-delivery notification: DFD6982FC
May 5 18:25:31 PINEAPPLE postfix/qmgr[10518]: DFD6982FC: from=<>, size=22398, nrcpt=1 (queue active)
May 5 18:25:31 PINEAPPLE postfix/qmgr[10518]: DD20D82FB: removed
May 5 18:25:31 PINEAPPLE postfix/error[10524]: DFD6982FC: to=<matte89thebest@gmail.com>, relay=none, delay=0.02, delays=0/0/0/0.01, dsn=5.0.0, status=bounced (gmail.com)
May 5 18:25:31 PINEAPPLE postfix/qmgr[10518]: DFD6982FC: removed
May 5 18:25:42 PINEAPPLE postfix/pickup[10516]: A617F82FB: uid=33 from=<ancora@gmail.com>
May 5 18:25:42 PINEAPPLE postfix/cleanup[10522]: A617F82FB: message-id=<20100505182542.9511.881164137.swift@www.pineappleitaly.com>
May 5 18:25:42 PINEAPPLE postfix/qmgr[10518]: A617F82FB: from=<ancora@gmail.com>, size=20529, nrcpt=1 (queue active)
May 5 18:25:42 PINEAPPLE postfix/error[10524]: A617F82FB: to=<info@pineappleitaly.com>, relay=none, delay=0.04, delays=0.02/0/0/0.02, dsn=5.0.0, status=bounced (pineappleitaly.com)
May 5 18:25:42 PINEAPPLE postfix/cleanup[10522]: AD01182FC: message-id=<20100505182542.AD01182FC@xvm-21-29.ghst.net>
May 5 18:25:42 PINEAPPLE postfix/qmgr[10518]: AD01182FC: from=<>, size=22327, nrcpt=1 (queue active)
May 5 18:25:42 PINEAPPLE postfix/bounce[10525]: A617F82FB: sender non-delivery notification: AD01182FC
May 5 18:25:42 PINEAPPLE postfix/qmgr[10518]: A617F82FB: removed
May 5 18:25:42 PINEAPPLE postfix/error[10524]: AD01182FC: to=<ancora@gmail.com>, relay=none, delay=0.02, delays=0.01/0/0/0.01, dsn=5.0.0, status=bounced (gmail.com)
May 5 18:25:42 PINEAPPLE postfix/qmgr[10518]: AD01182FC: removed
codice:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # TLS parameters 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:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_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 = xvm-21-29.ghst.net mydomain = xvm-21-29.ghst.net alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = mail.pineappleitaly.com, PINEAPPLE, localhost.localdomain, localhost relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 10 recipient_delimiter = + inet_interfaces = loopback-only default_transport = error relay_transport = error
qualcuno sa darmi una mano?

a questo punto ho provato a mattere il reverse dns pure ne mydomani (voce che postfix di suo non inseriva nel main.cf)!

grazie