Quote:
Originariamente inviato da sacarde
|
grazie, ho letto!
ho installato il pacchetto sharutils che mi sarà utile...
però credo che il problema sia
mail
ho quindi seguito questo sito
http://forum.slicehost.com/index.php...smtp-server/p1
per l'installazione di msmtp ed ho installato msmtp.. solo che non va...
perchè quando provo ad inviare una mail di test ottengo il seguente errore..
Codice:
[oracle@centos etc]$ echo -e "Subject: Test Mail\r\r\r\n This is a mail test" | msmtp --debug --from=default -t maildestinatario@alice.com]
loaded system configuration file /usr/local/etc/msmtprc
loaded user configuration file /home/oracle/.msmtprc
using account default from /home/oracle/.msmtprc
host = smtp.gmail.com
port = 587
timeout = off
protocol = smtp
domain = localhost
auth = LOGIN
user = [la mia mail@gmail.com]
password = *
ntlmdomain = (not set)
tls = on
tls_starttls = on
tls_trust_file = /etc/pki/tls/certs/ca-bundle.crt
tls_crl_file = (not set)
tls_fingerprint = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
tls_min_dh_prime_bits = (not set)
tls_priorities = (not set)
auto_from = off
maildomain = (not set)
from = default
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = /var/log/msmtp.log
syslog = (not set)
reading recipients from the command line and the mail
msmtp: cannot create socket: Address family not supported by protocol
msmtp: could not send mail (account default from /home/oracle/.msmtprc)
mentre quando invio una mail usando il modo classico mail -s "oggetto"
destinatario@gmail.com
la mail mi viene notificata nel file /var/spool/mail/user
suggerimenti??