FreedomBox/plinth/modules/email_server/data/etc/postfix/freedombox-username-to-uid-number.cf
fliu b172b0b1cd
email: Local delivery: use full email address
If the domain part was not provided, $myhostname will be used.
In case $myhostname is not in $mydestinations, the email will be relayed.
In case $myhostname is invalid, the email will be bounced.

The next hop should always be LMTP (local: transport)
and hence the `@localhost`
2021-08-17 19:44:08 -07:00

11 lines
246 B
CFEngine3

# This file is managed by FreedomBox
# Map user name to UID number
bind = no
server_host = ldap://127.0.0.1
search_base = dc=thisbox
query_filter = (&(objectClass=posixAccount)(uid=%s))
result_attribute = uidNumber
result_format = %s@localhost