Add nextcloud email config

This commit is contained in:
Jake Howard 2022-10-26 14:23:08 +01:00
parent 0d24bd7e0c
commit 8dd1f6cddf
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 41 additions and 0 deletions

View File

@ -42,4 +42,15 @@ $CONFIG = array (
'has_rebuilt_cache' => true,
'logfile' => '/config/log/nextcloud.log',
'default_phone_region' => 'GB',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => '{{ nextcloud.email_from_user }}',
'mail_domain' => '{{ nextcloud.email_from_domain }}',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.eu.mailgun.org',
'mail_smtpname' => '{{ nextcloud.email_username }}',
'mail_smtppassword' => '{{ nextcloud.email_password }}',
'mail_smtpport' => '465',
);

View File

@ -22,3 +22,33 @@ nextcloud:
39343533363830613338623064633861623362623537636363373232663134353639386166663135
63613361353965336332323935383032623362363265303035666533386565393261343031653034
313965383063353036633438613439333562
email_username: !vault |
$ANSIBLE_VAULT;1.1;AES256
31336431393666396361346331316235353838343362313862306330346535306533303337346666
3665333530353231336563616266663636643836636235630a356666346137326666623539643632
39393862663031326237306565653937613735643939663262376335666439623964616264623937
3637613339633934380a323263616233616266383063613362333337303536336364306237306637
38303737363832343766373162323334353139313438643463643234303766623066
email_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
66373465303032636637363437313965653230353664376166633761356231383034663734613133
3430316664623130326633376638623830326633643262330a303461326661646634373139383262
34393338666132313539343237623065373635366634333133333265353132623161643934393633
6365656533333036370a636332306361303439626164363331326334663031326239653438333936
63313137363435633064376632383237333532666532393233646537386232313239386333316563
30363863626561363362656365396366623933383561616361316639656639613766333930393330
353564663939396661356136613462613862
email_from_domain: !vault |
$ANSIBLE_VAULT;1.1;AES256
66393163393231376365316633386233633130353262303632653334373365313134623637316266
3662663765303832336462653137646564616265383534630a323763623937633934646461373036
63336366656364646633393233343234396237633861336166626362383634306634326638613763
6139643131636462650a346362653834386661376561303239636131333735323735626234323733
35393331653930323835653133336633643932356232653162343764376565386365
email_from_user: !vault |
$ANSIBLE_VAULT;1.1;AES256
37383361366133363630663061353761646331383763653039393839666234663430373238336461
6265623665633439306164643733633433623636643435610a616133653134613832343636626164
64373437626563616532633837613437393431336330316438626134313132396631356161643438
6462323664396132640a643533306262303531613761306265393364323261333539336537646130
3963