25 lines
		
	
	
		
			798 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			25 lines
		
	
	
		
			798 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|   | # http://www.tuaw.com/2010/05/04/msmtp-a-free-tool-to-send-email-from-terminal/ | ||
|  | 
 | ||
|  | # Set default values for all following accounts | ||
|  | defaults | ||
|  | tls on | ||
|  | logfile ~/.msmtp.log | ||
|  | 
 | ||
|  | # Gmail account | ||
|  | account artem@sapegin.ru | ||
|  | host smtp.gmail.com | ||
|  | port 587 | ||
|  | protocol smtp | ||
|  | auth on | ||
|  | from artem@sapegin.ru | ||
|  | user artem@sapegin.ru | ||
|  | tls on | ||
|  | tls_starttls on | ||
|  | 
 | ||
|  | # This next line is crucial: you have to point to the correct security certificate for GMail.  | ||
|  | # If this doesn't work, check the mstmp documentation at http://msmtp.sourceforge.net/documentation.html for help. | ||
|  | # This next line should all be on one long line: | ||
|  | tls_trust_file ~/Dropbox/Prefs/Thawte Root Certificates/thawte Premium Server CA/Thawte Premium Server CA.pem | ||
|  | 
 | ||
|  | # Set default account. You need to set a default account for Mail. | ||
|  | account default : artem@sapegin.ru |