Andro
(Andrew Bernard)
2024 年 8 月 28 日午前 1:44
1
Nederlands の .nl ドメインの全ユーザーへのメールが届かないという奇妙な問題の診断に苦労しています。
指定されたドメインを持つユーザーのメールのリスト、または正規表現を取得するにはどうすればよいですか?
Lilly
(Lillian Louis)
2024 年 8 月 28 日午前 2:19
2
管理画面の「アクティブユーザーリスト」(your-site/admin/users/list/active)に移動し、検索フィルターにメールドメインを入力することで、これを行うことができます。
また、これらのトピックも役立つかもしれません。
This is an explanation guide discussing how admins can troubleshooting outgoing email from a Discourse site.
Required user level: Administrator
Discourse relies heavily on email for user notifications and account management tasks. If users are unable to receive emails from your Discourse site, this can lead to a variety of problems.
Summary
In this documentation, you will learn:
How to check sent email logs
Investigating skipped and bounced emails
Common …
You just installed Discourse via the install guide , but email doesn’t seem to work. Unfortunately this means you can’t log in as an admin to finalize the install. Let’s troubleshootize!
Try the doctor
If you run ./discourse-doctor it will check several ways that your mail configuration might be broken, and offer advice. Try that first.
Did you enter email settings correctly?
The simplest way is to run ./discourse-setup again. Did you enter everything correctly? B…
「いいね!」 3
Andro
(Andrew Bernard)
2024 年 8 月 28 日午前 5:10
3
@Lilly ありがとう。言いませんでしたが、Rails やその他のデータベースからクエリを実行したレポートを探していました。
Andro
(Andrew Bernard)
2024 年 8 月 28 日午前 5:13
4
@Lilly ありがとう。私たちのメール設定に問題はありません。Amazon SESとNederlandsの間で奇妙な問題が発生しており、Amazon SESからのすべての送信メールがブロックされ、ブラックリストに登録されています。Discourseとは関係ありません。ただし、エラーログでSMTPエラーをもう少し見ることができればと思います。エラーが始まろうとしているところでレポートが途切れてしまいます。完全なバウンスレポートをどのように見ることができるか疑問です。[すみません、これを新しいスレッドに脱線させてしまいました。]
Lilly
(Lillian Louis)
2024 年 8 月 28 日午前 6:00
5
yoursite/admin/email/bounced のバウンスメールレポートで確認できます。
または、データエクスプローラーを使用してドメインの全ユーザーを検索し、CSVファイルをエクスポートすることもできます。例えば、以下のようなクエリが考えられます。
-- [params]
-- text :domain = example.com
SELECT u.id AS user_id, u.username, ue.email
FROM users u
JOIN user_emails ue ON u.id = ue.user_id
WHERE ue.email LIKE '%' || :domain
AND ue.primary = true
ORDER BY u.username
または、グループを作成して自動的に追加することもできます。
「いいね!」 1