mpop/msmtp/procmail autoresponder to encrypted mail
This commit is contained in:
		
							parent
							
								
									56a29562d1
								
							
						
					
					
						commit
						fdfba24a4f
					
				
							
								
								
									
										16
									
								
								scripts/autoresponder/.mpoprc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								scripts/autoresponder/.mpoprc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,16 @@ | ||||
| defaults | ||||
| 
 | ||||
| tls on | ||||
| tls_starttls on | ||||
| tls_certcheck on | ||||
| 
 | ||||
| delivery mda "/usr/bin/procmail -f '%F' -d $USER" | ||||
| auth on | ||||
| 
 | ||||
| account anna | ||||
| host ssl0.ovh.net | ||||
| user anna@fugadalcontrollo.org | ||||
| password ********* | ||||
| tls_trust_file /etc/ssl/certs/ca-certificates.crt | ||||
| keep on | ||||
| only_new | ||||
							
								
								
									
										13
									
								
								scripts/autoresponder/.msmtprc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								scripts/autoresponder/.msmtprc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,13 @@ | ||||
| account default | ||||
| tls on | ||||
| tls_starttls off | ||||
| tls_certcheck on | ||||
| tls_trust_file /etc/ssl/certs/ca-certificates.crt | ||||
| host ssl0.ovh.net | ||||
| port 465 | ||||
| protocol smtp | ||||
| auth on | ||||
| from anna@fugadalcontrollo.org | ||||
| user anna@fugadalcontrollo.org | ||||
| password ******* | ||||
| 
 | ||||
							
								
								
									
										19
									
								
								scripts/autoresponder/.procmailrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								scripts/autoresponder/.procmailrc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,19 @@ | ||||
| 
 | ||||
| SHELL=/bin/sh | ||||
| LOGFILE=$HOME/.procmail.log | ||||
| LOG="" | ||||
| VERBOSE=yes | ||||
| MAILDIR=$HOME/Maildir | ||||
| DEFAULT=Maildir/ | ||||
| 
 | ||||
| :0c: | ||||
| * ^TO_anna@fugadalcontrollo.org | ||||
| { | ||||
|   PGP_OK=`gpg --decrypt --auto-key-retrieve 1>/dev/null && echo 1` | ||||
|   :0 | ||||
|   * ? test -n "$PGP_OK" | ||||
|   | (formail -rI"From: anna@fugadalcontrollo.org" -I "Subject: [fugadalcontrollo] Grande, grazie della mail") | msmtp -a default -t | ||||
| 
 | ||||
|   :0 | ||||
|   | (formail -rI"From: anna@fugadalcontrollo.org" -I "Subject: [fugadalcontrollo] No! Così ci beccano") | msmtp -a default -t | ||||
| } | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user