Browse Source

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

master
Valentin Lab 17 hours 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
bluesky:
charm: bluesky ## line is optional if your service name is "bluesky"
# ...
myemail:
@ -43,6 +42,16 @@ myemail:
password: mypassword
#+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
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
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