بما أن بريد التسجيل الإلكتروني لم يصل أبدًا، فقد قمت بتفعيل حساب المسؤول عبر سطر الأوامر.
سجلت الدخول بحساب المسؤول وأرسلت بريدًا تجريبيًا إلى anotheruser@anotherdomain.org من الإعدادات / إعدادات البريد / إعدادات الخادم → إرسال بريد تجريبي.
تم إرسال هذا البريد التجريبي فورًا كما نرى أدناه، وقد وصل إلى صندوق الوارد الخاص بي:
root@my-vps:/var/discourse# ./launcher enter app
x86_64 arch detected.
root@my-vps-app:/var/www/discourse# rails console
Loading production environment (Rails 8.0.5)
discourse(prod)> EmailLog.all.pluck(:to_address, :email_type, :created_at, :smtp_transaction_response)
=>
[["user@domain.org",
"test_message",
2026-05-13 16:23:41.417177000 UTC +00:00,
"250 2.0.0 Ok: queued as 4B4DDB0059A"],
["anotheruser@anotherdomain.org",
"test_message",
2026-05-16 14:44:42.978862000 UTC +00:00,
"250 2.0.0 Ok: queued as D79DFB00573"]]
ثم حاولت التسجيل باستخدام نفس عنوان البريد الإلكتروني (anotheruser@anotherdomain.org) لكن بريد التسجيل لم يصل (ولم يُرسل لأنه لا يظهر في سجلات وحدة تحكم rails).
في الختام، تُرسل رسائل البريد التجريبية وتُسلَّم بنجاح، لكن رسائل التسجيل لا تُرسل حتى لو وجدنا أثرًا في ملف production.log:
cat production.log | grep anotheruser
Parameters: {"email_address" => "anotheruser@anotherdomain.org"}
Started GET "/u/check_email?email=anotheruser%40anotherdomain.org" for xxx.xxx.xxx.xxx at 2026-05-16 17:40:45 +0000
Parameters: {"email" => "anotheruser@anotherdomain.org"}
Parameters: {"email" => "anotheruser@anotherdomain.org", "password" => "[FILTERED]", "username" => "NewUser", "password_confirmation" => "[FILTERED]", "challenge" => "xxxxxxxx", "timezone" => "Europe/Paris"}
لا يستطيع الأشخاص التسجيل، فماذا يمكنني أن أفعل لإصلاح المشكلة؟