bundlewrap/groups/locations.py
Franziska Kunsmann 087f4bb74d
All checks were successful
bundlewrap/pipeline/head This commit looks good
groups/{gce,home}: send mail via mx0.kunbox.net
2020-11-11 13:31:01 +01:00

72 lines
1.5 KiB
Python

groups['gce'] = {
'bundles': {
'gce-workaround',
},
'member_patterns': {
r"gce\..*",
},
'metadata': {
'hosts': {
'entries': {
'169.254.169.254': {
'metadata.google.internal',
},
},
},
'nameservers': {
'8.8.8.8',
'8.8.4.4',
},
'postfix': {
# It's fine to do this without authentificating to the relayhost.
# These Systems are not supposed to send mail anywhere else
# than our own domains.
'relayhost': '[mx0.kunbox.net]:2525',
},
},
}
groups['htz'] = {
'member_patterns': {
r"htz\..*",
},
'subgroups': {
'htz-cloud',
},
}
groups['htz-cloud'] = {
'member_patterns': {
r"htz\-cloud\..*",
},
}
groups['home'] = {
'member_patterns': {
r"home\..*",
},
'metadata': {
'nameservers': {
'172.19.138.1',
},
'postfix': {
# It's fine to do this without authentificating to the relayhost.
# These Systems are not supposed to send mail anywhere else
# than our own domains.
'relayhost': '[mx0.kunbox.net]:2525',
},
},
}
groups['ovh'] = {
'member_patterns': {
r"ovh\..*",
},
'metadata': {
'users': {
'debian': {
'delete': True,
},
},
},
}