Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssmtp and gmail help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
redxninja
n00b
n00b


Joined: 07 Sep 2005
Posts: 18

PostPosted: Sun Oct 09, 2005 6:38 am    Post subject: ssmtp and gmail help Reply with quote

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
View user's profile Send private message
xlulux
n00b
n00b


Joined: 20 Aug 2004
Posts: 63

PostPosted: Sat Dec 31, 2005 5:35 am    Post subject: Re: ssmtp and gmail help Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum