legacy-knowledge-base
公開されました Sep. 10, 2025

Multi-Factor Authentication の電子メール送信者と電子メール ログを構成する方法を教えてください。

written-by

Tímea Bihari

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

問題

  • Multi-Factor Authentication の送信者の電子メール アドレスがどこから来たのかを知りたいです。
  • メールがいつ送信されたかを確認できるように、ログ レベルを設定したいと考えています。

Environment

  • Liferay DXP 7.4

解決策

メールの送信者を設定します。

  • デフォルトでは、多要素認証を使用する場合、Liferay DXP によって送信される電子メールは、デフォルトの管理者ユーザーの名前と電子メール アドレスを使用します。
  • これらは次のとおりです。
  • admin.email.from.name=Joe Bloggs
    admin.email.from.address=test@domain.invalid
  • 管理者の電子メール アドレスを変更するには、portal-ext.properties ファイルに管理者の電子メール アドレス プロパティを追加し、カスタム値を入力します。
  • ただし、管理者の電子メール アドレスを変更したくない場合は、Multi-Factor Authentication 電子メールの送信元となる別の電子メール アドレスを設定できます。
  • コントロール パネルインスタンス設定セキュリティ多要素認証 に移動し、電子メールのテンプレート「差出人」フィールドに別の電子メール アドレスを入力します。

Multi-Factor Authentication のログを設定する

  • コントロール パネル > サーバー管理 > ログ レベルに移動します。
  • 次のカテゴリを検索します (見つからない場合は追加してください)。
  • com.liferay.multi.factor.authentication.email.otp.web.internal.portlet.action.SendMFAEmailOTPMVCResourceCommand
  • ログ レベルを DEBUG に上げます
  • 結果のログ メッセージは次のようになります。
    DEBUG [http-nio-8080-exec-3][SendMFAEmailOTPMVCResourceCommand:122] One-time password email sent to user 20126 at address test@liferay.com

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base