LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Need help on mail setttings (https://www.linuxquestions.org/questions/linux-software-2/need-help-on-mail-setttings-734801/)

srihariv 06-22-2009 11:33 AM

Need help on mail setttings
 
Hello,
I have been facing some problems when sending email using msmtp. Please find the following error below.
using account default from /usr/local/etc/msmtprc
host = 209.85.129.109
port = 25
timeout = 15 seconds
protocol = smtp
domain = gmail.com
auth = choose
user = smsgateway4
password = *
ntlmdomain = (not set)
tls = on
tls_starttls = on
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = off
tls_force_sslv3 = off
auto_from = off
maildomain = gmail.com
from = xxx@gmail.com
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = LOG_USER
reading recipients from the command line
<-- 220 mx.google.com ESMTP p17sm13015013fka.42
--> EHLO gmail.com
<-- 250-mx.google.com at your service, [213.163.46.246]
<-- 250-SIZE 35651584
<-- 250-8BITMIME
<-- 250 PIPELINING
--> QUIT
<-- 221 2.0.0 closing connection p17sm13015013fka.42
msmtp: the server does not support TLS via the STARTTLS command
msmtp: could not send mail (account default from /usr/local/etc/msmtprc).

Not sure what the exact problem is here. But i have another server configured with the same settings and the msmtp works without any issues.
IN my working server i see can see that the TLS server has started and accepted my request.
<-- 220 2.0.0 Ready to start TLS
TLS certificate information:
Owner:

Issuer:

Validity:

Fingerprints:

--> EHLO gmail.com
<-- 250-mx.google.com at your service, [204.178.22.105]

can someone throw more light on the TLS server and its authentication?

~Srihari

farslayer 06-22-2009 01:28 PM

http://msmtp.sourceforge.net/doc/msm...Layer-Security

srihariv 06-22-2009 09:16 PM

Thank you!!! The link was more than helpful.


All times are GMT -5. The time now is 01:11 AM.