{{- if not .Values.mail.aliases.root }}
{{- fail "No alias has been defined for the user `root` - this should normally go to a system administrator. Please set .Values.mail.aliases.root to a user or email address (or a list of such things)" }}
{{- end }}
{{- range $k, $v := .Values.mail.aliases }}
{{- if $v }}
{{ $k }}: {{ $v | join ", " }}
{{- end }}
{{- end }}
