29 lines
		
	
	
		
			848 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			29 lines
		
	
	
		
			848 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								# (debian) cat /usr/share/doc/msmtp/examples/msmtprc-user-example
							 | 
						||
| 
								 | 
							
								# Example for a user configuration file ~/.msmtprc
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# With modern mail services that publish autoconfiguration information,
							 | 
						||
| 
								 | 
							
								# you can simply run 'msmtp --configure yourmail@example.com' to get
							 | 
						||
| 
								 | 
							
								# a basic working configuration.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# This example focusses on TLS and authentication. Features not used here
							 | 
						||
| 
								 | 
							
								# include logging, timeouts, SOCKS proxies, TLS parameters, Delivery Status
							 | 
						||
| 
								 | 
							
								# Notification (DSN) settings, and more.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Set default values: use the mail submission port 587, and always use TLS.
							 | 
						||
| 
								 | 
							
								# On this port, TLS is activated via STARTTLS.
							 | 
						||
| 
								 | 
							
								defaults
							 | 
						||
| 
								 | 
							
								port 25
							 | 
						||
| 
								 | 
							
								tls off
							 | 
						||
| 
								 | 
							
								tls_starttls off
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Define a mail account at a freemail service
							 | 
						||
| 
								 | 
							
								account pmb
							 | 
						||
| 
								 | 
							
								# Host name of the SMTP server
							 | 
						||
| 
								 | 
							
								host pmb
							 | 
						||
| 
								 | 
							
								# Envelope-from address
							 | 
						||
| 
								 | 
							
								from joe_smith@freemail.example
							 | 
						||
| 
								 | 
							
								# Authentication
							 | 
						||
| 
								 | 
							
								auth off
							 | 
						||
| 
								 | 
							
								#user joe.smith
							 | 
						||
| 
								 | 
							
								
							 |