View previous topic :: View next topic |
Author |
Message |
redxninja n00b
Joined: 07 Sep 2005 Posts: 18
|
Posted: Sun Oct 09, 2005 6:38 am Post subject: ssmtp and gmail help |
|
|
I have trouble sending mail in mutt. Everytime I send mail I get this message "530 5.7.0 Must issue a STARTTLS command first"
this is my ssmtp config file for gmail and I clearly set UseTLS=YES and UseSTARTTLS=YES.
plz help, thank.
Code: |
#
# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=postmaster
# The place where the mail goes. The actual machine name is required
# no MX records are consulted. Commonly mailhosts are named mail.domain.com
# The example will fit if you are in domain.com and your mailhub is so named.
mailhub=smtp.gmail.com
# Example for SMTP port number 2525
# mailhub=mail.your.domain:2525
# Example for SMTP port number 25 (Standard/RFC)
# mailhub=mail.your.domain
# Example for SSL encrypted connection
# mailhub=mail.your.domain:465
# Where will the mail seem to come from?
rewriteDomain=gmail.com
# The full hostname
# Gentoo bug #47562
# Commenting the following line will force ssmtp to figure
# out the hostname itself.
hostname=tuan.t.le@gmail.com
# Set this to never rewrite the "From:" line (unless not given) and to
# use that address in the "from line" of the envelope.
#FromLineOverride=YES
# Use STARTTLS SMPT command to initiate SSL
UseSTARTTLS=YES
# Use SSL/TLS to send secure messages to server.
UseTLS=YES
# Use SSL/TLS certificate to authenticate against smtp host.
#UseTLSCert=YES
# Use this RSA certificate.
#TLSCert=/etc/ssl/certs/ssmtp.pem
|
|
|
Back to top |
|
|
xlulux n00b
Joined: 20 Aug 2004 Posts: 63
|
Posted: Sat Dec 31, 2005 5:35 am Post subject: Re: ssmtp and gmail help |
|
|
redxninja wrote: | I have trouble sending mail in mutt. Everytime I send mail I get this message "530 5.7.0 Must issue a STARTTLS command first"
this is my ssmtp config file for gmail and I clearly set UseTLS=YES and UseSTARTTLS=YES.
plz help, thank.
Code: |
#
# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=postmaster
# The place where the mail goes. The actual machine name is required
# no MX records are consulted. Commonly mailhosts are named mail.domain.com
# The example will fit if you are in domain.com and your mailhub is so named.
mailhub=smtp.gmail.com
# Example for SMTP port number 2525
# mailhub=mail.your.domain:2525
# Example for SMTP port number 25 (Standard/RFC)
# mailhub=mail.your.domain
# Example for SSL encrypted connection
# mailhub=mail.your.domain:465
# Where will the mail seem to come from?
rewriteDomain=gmail.com
# The full hostname
# Gentoo bug #47562
# Commenting the following line will force ssmtp to figure
# out the hostname itself.
hostname=tuan.t.le@gmail.com
# Set this to never rewrite the "From:" line (unless not given) and to
# use that address in the "from line" of the envelope.
#FromLineOverride=YES
# Use STARTTLS SMPT command to initiate SSL
UseSTARTTLS=YES
# Use SSL/TLS to send secure messages to server.
UseTLS=YES
# Use SSL/TLS certificate to authenticate against smtp host.
#UseTLSCert=YES
# Use this RSA certificate.
#TLSCert=/etc/ssl/certs/ssmtp.pem
|
|
PLZ help !
I FIXED IT!!! https://forums.gentoo.org/viewtopic-t-412468-highlight-ssmtp.html |
|
Back to top |
|
|
|