legacy-knowledge-base
公開されました Jul. 2, 2025

メッセージを送信できません:554 X.X.XXX SendAsDenied

written-by

Pooja Bhambani

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • メール送信時に「unable to send message:554 X.X.XXX SendAsDenied "というエラーが発生する。
  • 再現するための手順
    1. Liferay でメール通知を送信するための outlook メールサーバーを設定する
    2. メール送信時に、以下のようなエラーが発生することがありました。
    2022-06-26 09:55:21.121 ERROR [liferay/mail-2][MailEngine:74] Unable to send message: 554 5.2.252 SendAsDenied; mode_helpdesk@peugeotmotocycles.com not allowed to send as mode_helpdesk@peugeotmotocycless.com; STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message [BeginDiagnosticData]Cannot submit message. 0.35250:AC2E0000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:A41D0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:A91D0000, 1.44866:B8000000, 16.55847:960F0000, 17.43559:0000000024020000000000000000000000000000, 20.52176:140FFD941200103100000000, 20.50032:140FFD948217000000000000, 0.35180:140FFD94, 255.23226:0A000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:27000000, 0.35250:1F001336, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:5E000000, 1.36674:32000000, 1.61250:00000000, 1.45378:63000000, 1.44866:01000000, 16.55847:D9000000, 17.43559:0000000090030000000000000000000000000000, 20.52176:140FFD94120010106E000000, 20.50032:140FFD948217000003003600, 0.35180:73000000, 255.23226:0A001380, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:0A004200, 4.21921:DC040000, 255.27962:FA000000, 255.1494:0A006400, 0.38698:05000780, 1.41134:46000000, 7.36354:010000000000010B01000000, 0.37692:01000000, 0.37948:86000000, 5.33852:00000000534D545000000000, 7.36354:010000000000010901000000, 4.56248:DC040000, 7.40748:010000000000010B01000000, 7.57132:000000000000000086000000, 4.39640:DC040000, 1.63016:32000000, 8.45434:26715D8E1CC2224FAB31E7771B185A5589D7F9DD, 1.46798:04000000, 5.10786:0000000031352E32302E353337332E3031383A414D30505230354D42353230343A35353064343238342D393261302D343339342D393836312D3332396533336532663338353A343031333600, 7.51330:FB2368FB5957DA0859385CFB, 0.39570:00000000, 1.55954:0A000000, 0.49266:02000000, 1.33010:0A000000, 2.54258:00000000, 0.40002:00000000, 1.56562:00000000, 1.64146:32000000, 1.33010:32000000, 2.54258:DC040000, 255.1750:03003866, 255.31418:0201030F, 0.22753:C5000000, 255.21817:DC040000, 0.64418:0300F40F, 4.39842:DC040000, 0.41586:0A002D67, 4.60547:DC040000, 0.21966:CF000000, 4.30158:DC040000[EndDiagnosticData] [Hostname=AM0PR05MB5204.eurprd05.prod.outlook.com]_ [Sanitized]
    com.sun.mail.smtp.SMTPSendFailedException: 554 5.2.252 SendAsDenied; mode_helpdesk@peugeotmotocycles.com not allowed to send as mode_helpdesk@peugeotmotocycless.com; STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message [BeginDiagnosticData]Cannot submit message. 0.35250:AC2E0000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:A41D0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:A91D0000, 1.44866:B8000000, 16.55847:960F0000, 17.43559:0000000024020000000000000000000000000000, 20.52176:140FFD941200103100000000, 20.50032:140FFD948217000000000000, 0.35180:140FFD94, 255.23226:0A000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:27000000, 0.35250:1F001336, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:5E000000, 1.36674:32000000, 1.61250:00000000, 1.45378:63000000, 1.44866:01000000, 16.55847:D9000000, 17.43559:0000000090030000000000000000000000000000, 20.52176:140FFD94120010106E000000, 20.50032:140FFD948217000003003600, 0.35180:73000000, 255.23226:0A001380, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:0A004200, 4.21921:DC040000, 255.27962:FA000000, 255.1494:0A006400, 0.38698:05000780, 1.41134:46000000, 7.36354:010000000000010B01000000, 0.37692:01000000, 0.37948:86000000, 5.33852:00000000534D545000000000, 7.36354:010000000000010901000000, 4.56248:DC040000, 7.40748:010000000000010B01000000, 7.57132:000000000000000086000000, 4.39640:DC040000, 1.63016:32000000, 8.45434:26715D8E1CC2224FAB31E7771B185A5589D7F9DD, 1.46798:04000000, 5.10786:0000000031352E32302E353337332E3031383A414D30505230354D42353230343A35353064343238342D393261302D343339342D393836312D3332396533336532663338353A343031333600, 7.51330:FB2368FB5957DA0859385CFB, 0.39570:00000000, 1.55954:0A000000, 0.49266:02000000, 1.33010:0A000000, 2.54258:00000000, 0.40002:00000000, 1.56562:00000000, 1.64146:32000000, 1.33010:32000000, 2.54258:DC040000, 255.1750:03003866, 255.31418:0201030F, 0.22753:C5000000, 255.21817:DC040000, 0.64418:0300F40F, 4.39842:DC040000, 0.41586:0A002D67, 4.60547:DC040000, 0.21966:CF000000, 4.30158:DC040000[EndDiagnosticData] [Hostname=AM0PR05MB5204.eurprd05.prod.outlook.com]_ [Sanitized]

Environment

  • Liferay DXP 7.3

解決策

  • メールサーバーの設定で、メールの送信者アドレスとユーザー名を同じにしておくと、上記のようなエラーが解消されます。
  • 以下は、同確認のための手順です。
    1. コントロールパネル > サーバー管理 > コンテンツ をクリックします。
    2. メール」をクリックし、ユーザー名を確認します。
    3. 次に、「インスタンス設定」 > 「メール送信者アドレス」を確認します。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base