Browse Source

new: [bluesky] add ``email-from`` option to set email field for confirmation

mattermost
Valentin Lab 3 weeks ago
parent
commit
876cea9673
  1. 11
      bluesky/README.org
  2. 5
      bluesky/lib/common

11
bluesky/README.org

@ -30,7 +30,6 @@ provide settings for an external SMTP service:
#+begin_src yaml #+begin_src yaml
bluesky: bluesky:
charm: bluesky ## line is optional if your service name is "bluesky"
# ... # ...
myemail: myemail:
@ -43,6 +42,16 @@ myemail:
password: mypassword password: mypassword
#+end_src #+end_src
Your SMTP might require a sensible email-from field, so to set it:
#+begin_src yaml
bluesky:
# ...
options:
email-from: no-reply@mydomain.com
#+end_src
** request a new invite ** request a new invite
To be able to add account, you need to create new invites from your To be able to add account, you need to create new invites from your

5
bluesky/lib/common

@ -64,4 +64,9 @@ PDS_CRAWLERS=https://bsky.network
LOG_ENABLED=true LOG_ENABLED=true
EOF EOF
if email_from=$(options-get "email-from" 2>/dev/null) && [ -n "$email_from" ]; then
echo "PDS_EMAIL_FROM_ADDRESS=${email_from}" >> "$PDS_ENV_FILE"
fi
} }
Loading…
Cancel
Save