mastodon: configure noreply email
This commit is contained in:
		
							parent
							
								
									0f10937be8
								
							
						
					
					
						commit
						2516836026
					
				
					 4 changed files with 30 additions and 1 deletions
				
			
		| 
						 | 
					@ -31,6 +31,9 @@
 | 
				
			||||||
      "noreply@git.lelgenio.com" = {
 | 
					      "noreply@git.lelgenio.com" = {
 | 
				
			||||||
        hashedPassword = "$2b$05$TmR1R7ZwXfec7yrOfeBL7u3ZtyXf0up5dEO6uMWSvb/O7LPEm.j0.";
 | 
					        hashedPassword = "$2b$05$TmR1R7ZwXfec7yrOfeBL7u3ZtyXf0up5dEO6uMWSvb/O7LPEm.j0.";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
 | 
					      "noreply@social.lelgenio.com" = {
 | 
				
			||||||
 | 
					        hashedPassword = "$2b$05$DcA9xMdvHqqQMZw2.zybI.vfKsQAJtaQ/JB.t9AHu6psstWq97m2C";
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,9 +3,21 @@
 | 
				
			||||||
    enable = true;
 | 
					    enable = true;
 | 
				
			||||||
    configureNginx = true;
 | 
					    configureNginx = true;
 | 
				
			||||||
    localDomain = "social.lelgenio.com";
 | 
					    localDomain = "social.lelgenio.com";
 | 
				
			||||||
    smtp.fromAddress = "lelgenio@disroot.org";
 | 
					    smtp = {
 | 
				
			||||||
 | 
					      authenticate = true;
 | 
				
			||||||
 | 
					      host = "lelgenio.com";
 | 
				
			||||||
 | 
					      fromAddress = "noreply@social.lelgenio.com";
 | 
				
			||||||
 | 
					      user = "noreply@social.lelgenio.com";
 | 
				
			||||||
 | 
					      passwordFile = config.age.secrets.phantom-mastodon-mailer-password.path;
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
    streamingProcesses = 2;
 | 
					    streamingProcesses = 2;
 | 
				
			||||||
    extraConfig.SINGLE_USER_MODE = "true";
 | 
					    extraConfig.SINGLE_USER_MODE = "true";
 | 
				
			||||||
    mediaAutoRemove.olderThanDays = 10;
 | 
					    mediaAutoRemove.olderThanDays = 10;
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  age.secrets.phantom-mastodon-mailer-password = {
 | 
				
			||||||
 | 
					    file = ../../secrets/phantom-mastodon-mailer-password.age;
 | 
				
			||||||
 | 
					    mode = "400";
 | 
				
			||||||
 | 
					    owner = "mastodon";
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										13
									
								
								secrets/phantom-mastodon-mailer-password.age
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								secrets/phantom-mastodon-mailer-password.age
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,13 @@
 | 
				
			||||||
 | 
					age-encryption.org/v1
 | 
				
			||||||
 | 
					-> ssh-rsa BwwxHg
 | 
				
			||||||
 | 
					Mnc+/tJ0QqxHkg2nl9gEkz5Oj1RgxtOZnD5gRv66ISUOqZhNm1+F+xVEdKn843/q
 | 
				
			||||||
 | 
					/WzH0f1cTF9NXP8vIaEo//bMmp50obJAd+JNovJxV+0gb9L55Nu7ayvK+eyk6j5n
 | 
				
			||||||
 | 
					eb8TxUnwh5BPkEyc6akDh/O49GXzLlVoFD6Ik/0f3YCqUDNAYOl2bsssXtevCeK/
 | 
				
			||||||
 | 
					WEPoCFGhZfNUrOo/0eAhiujZZ5zVb0CWNqXi8VTe2eWOE20VJULcN13TEyO3ZePx
 | 
				
			||||||
 | 
					bAPBmDfS5GgGlV4INWxVLaIMDrzlm0tYozbBNNUbdLFFOhIOrgvay9RWxdk0u2hJ
 | 
				
			||||||
 | 
					MPKoKsJ96EFxrbZJdS0W7a+aZk/Q3A3Civ2rtPx+5UANhmlY8e1lUHa26e1vA4K7
 | 
				
			||||||
 | 
					ApoMtDyCbuZ9FbLurwl9zO64wWP68aKzuyKOIw+wpy41NQ/PcViSY8KNG9Pt7A2N
 | 
				
			||||||
 | 
					CcOkByx+rwz+JdNHbOF8O4FFG4fNSWn7SvVtu5ymGgVi1bOd8PdJpjDR+6Is0SX7
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					--- DHNyITb7ZseEV58MOD/zHeH5vff0hhlbKg27rlYECGk
 | 
				
			||||||
 | 
					ÆJ…¨Úãè·<hUs/¿ïš}ó´Zi`ˆ‘ 'ÂJŸ°z5ùÃgõãŸ%€ì‡`¤º%/˜‚±<01>ˆ„á-Î<x—íõÉ’|
 | 
				
			||||||
| 
						 | 
					@ -11,4 +11,5 @@ in
 | 
				
			||||||
  "phantom-writefreely.age".publicKeys = [ main_ssh_public_key ];
 | 
					  "phantom-writefreely.age".publicKeys = [ main_ssh_public_key ];
 | 
				
			||||||
  "phantom-renawiki.age".publicKeys = [ main_ssh_public_key ];
 | 
					  "phantom-renawiki.age".publicKeys = [ main_ssh_public_key ];
 | 
				
			||||||
  "phantom-forgejo-mailer-password.age".publicKeys = [ main_ssh_public_key ];
 | 
					  "phantom-forgejo-mailer-password.age".publicKeys = [ main_ssh_public_key ];
 | 
				
			||||||
 | 
					  "phantom-mastodon-mailer-password.age".publicKeys = [ main_ssh_public_key ];
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue