Add the email need: each app gets its own sending-only mail account
needs = ["email"] (coreapp new --email) makes an LDAP account coreapp-<name> (not a person, no mailbox) and adds SMTP_* settings. Teardown removes it only if it's the app's; the installer warns about an entry it left alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Sending mail through the Core's mail server with its own account (made
|
||||
# by needs/email/setup): STARTTLS on port 587, user and password below
|
||||
SMTP_HOST=mail.@DOMAIN@
|
||||
SMTP_PORT=587
|
||||
SMTP_SECURITY=starttls
|
||||
SMTP_USER=coreapp-{{NAME}}
|
||||
SMTP_PASSWORD=@SMTP_PASSWORD:RANDOM:LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL@
|
||||
SMTP_FROM={{NAME}}@@DOMAIN@
|
||||
Reference in New Issue
Block a user