Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


gmail_on_linux_with_ssmtp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gmail_on_linux_with_ssmtp [2015/04/04 15:41] juckinsgmail_on_linux_with_ssmtp [2016/10/22 08:29] (current) juckins
Line 7: Line 7:
 [[http://www.terminally-incoherent.com/blog/2006/09/29/mutt-with-ssmtp/]] [[http://www.terminally-incoherent.com/blog/2006/09/29/mutt-with-ssmtp/]]
  
-Edit ~/.muttrc for each user as appropriate:+Edit ~/.muttrc for each user as appropriate (not that $HOSTNAME does not seem to be set with cron sending)
  
 <code> <code>
Line 33: Line 33:
  
 IO::Socket::INET6: connect: Network is unreachable IO::Socket::INET6: connect: Network is unreachable
 +
 +Test was:  $ swaks -tls -f [email protected] -t [email protected] -s smtp.mail.yahoo.com:587 -a LOGIN 
  
 Seemed to be an IPv6 problem.  Seemed to be an IPv6 problem. 
 +
 +Additional info for CentOS6:
  
 [[https://voidtech.wordpress.com/2014/03/11/configuring-send-emails-using-gmail-account-in-centos-6-with-ssmtp/]] [[https://voidtech.wordpress.com/2014/03/11/configuring-send-emails-using-gmail-account-in-centos-6-with-ssmtp/]]
 +
 +
 +----
 +
 +4 November 2015
 +
 +Gmail stopped working.  
 +
 +This did not work: https://productforums.google.com/forum/?hl=en#!topic/gmail/2tK2fR7yW-k;context-place=forum/gmail
 +
 +Try a PHP or Perl solution, but does it require SSMTP or MSMTP?
 +
 +Final answer was to configure [[gmail_as_a_relay_on_linux|Gmail as a Relay]]
gmail_on_linux_with_ssmtp.1428176510.txt.gz · Last modified: 2015/04/04 15:41 by juckins