Merge pull request #1843 from chri2/postfix_unionmap

Update main.cf to allow aliases for sender addresses of apps
This commit is contained in:
Alexandre Aubin 2024-06-18 12:36:13 +02:00 committed by GitHub
commit 156f9e54ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,12 +107,12 @@ virtual_alias_domains =
virtual_minimum_uid = 100
virtual_uid_maps = static:vmail
virtual_gid_maps = static:mail
smtpd_sender_login_maps=
smtpd_sender_login_maps = unionmap:{
# Regular Yunohost accounts
ldap:/etc/postfix/ldap-accounts.cf,
# Extra maps for app system users who need to send emails
hash:/etc/postfix/app_senders_login_maps
}
# Dovecot LDA
virtual_transport = dovecot