مشكلة في البريد الإلكتروني

مرحباً ديسكورس،

بعد إعادة بناء mail-receiver والتطبيق هذا الصباح، كنت أحصل على النتائج التالية في رسائل البريد الإلكتروني التي كانت تُرسل سابقاً

لقد جربت هذا الإعداد ولكنه لا يزال يرتد للخلف

هنا السجلات الأحدث


هل يمكن أن يكون هذا هو توقيت النظام بعد تحديث نواة أوبونتو؟

نعم، لقد كان متأخراً بساعة

حسنًا، البريد الإلكتروني التجريبي الذي أرسلته عاد بنفس الخطأ، وهو واضح في .\launcher logs mail-receiver

حسنًا، تم ضبط كل من حاوية استقبال البريد وحاوية التطبيق على وقت مختلف عن النظام المضيف


النظام المضيف - الوقت الصحيح :white_check_mark:

حاوية التطبيق - الوقت الخاطئ :cross_mark:

image

image

حاوية استقبال البريد - الوقت الخاطئ :cross_mark:

image

(تم حذف المنشور بواسطة المؤلف)

من: Set timezone for Docker container - #2 by OrkoGrayskull


قم بما ورد في المنشور أعلاه

حسنًا، لا يزال الأمر مختلفًا، بعد إعادة بناء مستلم البريد والتسبب في تحول كلتا الشرطتين - إلى اللون الأصفر

هذه كانت آخر رسائل البريد الإلكتروني التي تم استلامها

يبدو أنهما مضبوطان على منطقة زمنية مختلفة، وهذا جيد.

بافتراض أنك قمت بتشغيل هذه الأوامر بفارق دقيقتين، يبدو هذا جيدًا.

إعجابَين (2)

من المستحيل معرفة ما يحدث بالضبط من هذه اللقطات.

ما هو عنوان البريد الوارد لمنتدى الخاص بك؟ (مُعدل قليلاً إن أمكن)

من أي عنوان يأتي؟

ماذا يحدث مع البريد المرسل إليه؟

يرجى استخدام نص سجلاتك بدلاً من لقطات الشاشة.

إعجاب واحد (1)

discourse.domain.com

يتصل بمستقبل البريد ولكن مستقبل البريد يرى عنوان IP غير معروف، لذا يعيده، ولا يصل البريد إلى قائمة انتظار مستقبل البريد.

لا أعتقد أن هذا صحيح. إنه تحذير، وليس خطأ.

تشير هذه اللقطة (يرجى جعل هذا النص) إلى أن العنوان ppyem30@discourse.domain.com غير مقبول - وهذا يبدو أنه سبب الفشل.

سأبحث أكثر في السطر using backwards-compatible default setting…، يبدو أن هذا يلمح إلى السبب.

إعجابَين (2)
root@ubuntu:/var/discourse# Jul 17 15:40:20 ubuntu-mail-receiver postfix/master[1]: تم بدء الخدمة -- الإصدار 3.7.11، التكوين /etc/postfix
Jul 17 15:41:32 ubuntu-mail-receiver postfix/smtpd[122]: الاتصال من btprdrgo001.btinternet.com[65.20.50.131]
Jul 17 15:41:32 ubuntu-mail-receiver postfix/smtpd[122]: قطع الاتصال من btprdrgo001.btinternet.com[65.20.50.131] ehlo=1 quit=1 commands=2
Jul 17 15:41:32 ubuntu-mail-receiver postfix/smtpd[122]: الاتصال من btprdrgo001.btinternet.com[65.20.50.6]
Jul 17 15:41:32 ubuntu-mail-receiver postfix/smtpd[122]: NOQUEUE: رفض: RCPT من btprdrgo001.btinternet.com[65.20.50.6]: 554 5.7.1 <person@discourse.redacted.com>: تم رفض عنوان المستلم: البريد إلى هذا العنوان غير مقبول. تحقق من العنوان وحاول الإرسال مرة أخرى؟؛ من=<ethan.mees@btinternet.com> إلى=<person@discourse.redacted.com> proto=ESMTP helo=<btprdrgo001.btinternet.com>
Jul 17 15:41:32 ubuntu-mail-receiver postfix/smtpd[122]: استخدام الإعداد الافتراضي المتوافق مع الإصدارات السابقة smtpd_relay_before_recipient_restrictions=no لرفض المستلم "person@discourse.redacted.com" من العميل "btprdrgo001.btinternet.com[65.20.50.6]"
Jul 17 15:41:32 ubuntu-mail-receiver postfix/smtpd[122]: قطع الاتصال من btprdrgo001.btinternet.com[65.20.50.6] ehlo=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=4/6
Jul 17 15:42:49 ubuntu-mail-receiver postfix/smtpd[122]: تحذير: اسم المضيف unassigned.quadranet.com لا يحل إلى العنوان 198.55.98.78
Jul 17 15:42:49 ubuntu-mail-receiver postfix/smtpd[122]: الاتصال من unknown[198.55.98.78]
Jul 17 15:42:49 ubuntu-mail-receiver postfix/smtpd[122]: قطع الاتصال من unknown[198.55.98.78] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul 17 15:43:35 ubuntu-mail-receiver postfix/smtpd[122]: الاتصال من unknown[196.251.92.207]
Jul 17 15:43:36 ubuntu-mail-receiver postfix/smtpd[122]: قطع الاتصال من unknown[196.251.92.207] ehlo=1 quit=1 commands=2

التالي

./launcher destroy mail-receiver

ثم اتبع التعليمات هنا


Delivering mail sent to discourse.DOMAINNAME.com to Discourse
Starting OpenDKIM...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US.UTF-8",
        LC_ALL = "en_US.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Adding user `postfix' to group `opendkim' ...
<86>Jul 17 16:00:00 usermod[17]: add 'postfix' to group 'opendkim'<86>Jul 17 16:00:00 usermod[17]: add 'postfix' to shadow group 'opendkim'Done.
Starting OpenDMARC...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US.UTF-8",
        LC_ALL = "en_US.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
<22>Jul 17 16:00:00 opendkim[25]: OpenDKIM Filter v2.11.0 starting (args: -x /etc/opendkim.conf)Adding user `postfix' to group `opendmarc' ...
<86>Jul 17 16:00:00 usermod[32]: add 'postfix' to group 'opendmarc'<86>Jul 17 16:00:00 usermod[32]: add 'postfix' to shadow group 'opendmarc'Done.
<22>Jul 17 16:00:00 opendmarc[40]: OpenDMARC Filter v1.4.2 starting (args: -c /etc/opendmarc.conf)<22>Jul 17 16:00:00 opendmarc[40]: additional trusted authentication services: (none)postfix: Postfix is using backwards-compatible default settings
Jul 17 16:00:00 ubuntu-mail-receiver postfix[52]: Postfix is using backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
Jul 17 16:00:00 ubuntu-mail-receiver postfix[52]: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf compatibility_level=3.6" and "postfix reload"
Jul 17 16:00:00 ubuntu-mail-receiver postfix[52]: To disable backwards compatibility use "postconf compatibility_level=3.6" and "postfix reload"
Starting Postfix
Jul 17 16:00:00 ubuntu-mail-receiver postfix/master[1]: daemon started -- version 3.7.11, configuration /etc/postfix
Jul 17 16:00:28 ubuntu-mail-receiver postfix/smtpd[123]: connect from mail-ukwestazon11021090.outbound.protection.outlook.com[52.101.100.90]
Jul 17 16:00:28 ubuntu-mail-receiver postfix/smtpd[123]: NOQUEUE: reject: RCPT from mail-ukwestazon11021090.outbound.protection.outlook.com[52.101.100.90]: 554 5.7.1 <person@discourse.DOMAINNAME.com>: Recipient address rejected: Mail to this address is not accepted. Check the address and try to send again?; from=<ethan@DOMAINNAME.com> to=<person@discourse.DOMAINNAME.com> proto=ESMTP helo=<CWXP265CU009.outbound.protection.outlook.com>
Jul 17 16:00:28 ubuntu-mail-receiver postfix/smtpd[123]: using backwards-compatible default setting smtpd_relay_before_recipient_restrictions=no to reject recipient "person@discourse.DOMAINNAME.com" from client "mail-ukwestazon11021090.outbound.protection.outlook.com[52.101.100.90]"
Jul 17 16:00:28 ubuntu-mail-receiver postfix/smtpd[123]: disconnect from mail-ukwestazon11021090.outbound.protection.outlook.com[52.101.100.90] ehlo=1 mail=1 rcpt=0/1 quit=1 commands=3/4
تفاصيل الخطأ
خطأ: 554 5.7.1 <person@discourse.YOURDOMAIN.com>: تم رفض عنوان المستلم: البريد إلى هذا العنوان غير مقبول. تحقق من العنوان وحاول الإرسال مرة أخرى؟
تم رفض الرسالة بواسطة: ubuntu-mail-receiver.localdomain

حاولت ask.discourse.com

لقد اتبعت الخطوات. كان هناك شيء واحد يحتاج إلى توضيح وهو عندما أصل إلى الدليل /var/discourse/shared/mail-receiver/،

هل يجب أن أكتب

nano valid_recipients

أو

nano valid_recipients.yml.


لقد كانت عملية نسخ ولصق في mail-reciever.yml ثم إعادة بناء أخرى، بما يتوافق مع السجلات أدناه

root@ubuntu:/var/discourse# ./launcher logs mail-receiver
x86_64 arch detected.
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Operating environment:
HOSTNAME=ubuntu-mail-receiver
LANGUAGE=en_US.UTF-8
MAIL_DOMAIN=discourse.DOMAINNAME.com
DOCKER_HOST_IP=172.17.0.1
PWD=/
DISCOURSE_BASE_URL=https://DOMAINNAME.com
HOME=/root
LANG=en_US.UTF-8
TERM=xterm
SHLVL=1
DISCOURSE_API_USERNAME=system
LC_ALL=en_US.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
INCLUDE_DMARC=true
DISCOURSE_API_KEY=[64 digit api key redacted]
_=/usr/bin/env
Delivering mail sent to discourse.DOMAINNAME.com to Discourse
Starting OpenDKIM...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US.UTF-8",
        LC_ALL = "en_US.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Adding user `postfix' to group `opendkim' ...
<86>Jul 17 19:38:44 usermod[16]: add 'postfix' to group 'opendkim'<86>Jul 17 19:38:44 usermod[16]: add 'postfix' to shadow group 'opendkim'Done.
Starting OpenDMARC...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US.UTF-8",
        LC_ALL = "en_US.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
<22>Jul 17 19:38:44 opendkim[24]: OpenDKIM Filter v2.11.0 starting (args: -x /etc/opendkim.conf)Adding user `postfix' to group `opendmarc' ...
<86>Jul 17 19:38:44 usermod[31]: add 'postfix' to group 'opendmarc'<86>Jul 17 19:38:44 usermod[31]: add 'postfix' to shadow group 'opendmarc'Done.
<22>Jul 17 19:38:44 opendmarc[39]: OpenDMARC Filter v1.4.2 starting (args: -c /etc/opendmarc.conf)<22>Jul 17 19:38:44 opendmarc[39]: additional trusted authentication services: (none)postfix: Postfix is using backwards-compatible default settings
Jul 17 19:38:44 ubuntu-mail-receiver postfix[49]: Postfix is using backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
Jul 17 19:38:44 ubuntu-mail-receiver postfix[49]: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf compatibility_level=3.6" and "postfix reload"
Jul 17 19:38:44 ubuntu-mail-receiver postfix[49]: To disable backwards compatibility use "postconf compatibility_level=3.6" and "postfix reload"
Starting Postfix
Jul 17 19:38:44 ubuntu-mail-receiver postfix/master[1]: daemon started -- version 3.7.11, configuration /etc/postfix
Jul 17 19:39:12 ubuntu-mail-receiver postfix/smtpd[171]: connect from smtp3.nottingham.ac.uk[128.243.44.55]
Jul 17 19:39:12 ubuntu-mail-receiver postfix/smtpd[171]: NOQUEUE: reject: RCPT from smtp3.nottingham.ac.uk[128.243.44.55]: 554 5.7.1 <person.self@discourse.DOMAINNAME.com>: Recipient address rejected: Mail to this address is not accepted. Check the address and try to send again?; from=<person@nottingham.ac.uk> to=<person.xytz@discourse.DOMAINNAME.com> proto=ESMTP helo=<smtp3.nottingham.ac.uk>
Jul 17 19:39:12 ubuntu-mail-receiver postfix/smtpd[171]: using backwards-compatible default setting smtpd_relay_before_recipient_restrictions=no to reject recipient "person.xytz@discourse.DOMAINNAME.com" from client "smtp3.nottingham.ac.uk[128.243.44.55]"
Jul 17 19:39:12 ubuntu-mail-receiver postfix/smtpd[171]: disconnect from smtp3.nottingham.ac.uk[128.243.44.55] ehlo=1 mail=1 rcpt=0/1 bdat=0/1 quit=1 commands=3/5

لدي عناوين بريد إلكتروني واردة مخصصة للعديد من الفئات. هل يحتاج التنسيق إلى التغيير إلى category+<tag>@discourse.DOMAINNAME.com (للنشر المباشر إلى فئة)؟