Skip to content

「外部ドメイン・アドレスの宛先がある場合、添付ファイル名の手動での入力を求める」が組織内宛メールにも作用する #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
piroor opened this issue Mar 7, 2025 · 1 comment

Comments

@piroor
Copy link
Member

piroor commented Mar 7, 2025

Describe the bug

当該チェックボックスの機能は外部の宛先が含まれる場合にのみ作用することが期待されるが、実際には常に作用している。

To Reproduce

  1. 設定で「添付ファイルの確認を求める」と「外部ドメイン・アドレスの宛先がある場合、添付ファイル名の手動での入力を求める」の両方にチェックを入れる。
  2. 新規メール作成を開始する。
  3. 宛先に組織内のアドレスのみを入力する。
  4. 添付ファイルを追加する。
  5. 「送信」を押す。
  6. 添付ファイルに対応するチェックボックスが表示され、チェック状態を切り替えられない。

Expected behavior

添付ファイルに対応するチェックボックスに入力欄がなく、チェック状態を切り替え可能である。

Your Environment

- Thunderbird version: 136
- FlexConfirmMail addon version: 4.2.4

Your Configuration

{
  "__ConfigsMigration__userValeusSameToDefaultAreCleared": true,
  "configsVersion": 3,
  "confirmNewDomainRecipients": true,
  "confirmationMode": 2,
  "countdownSeconds": 10,
  "emphasizeRecipientType": true,
  "emphasizeTopMessage": true,
  "extraStyleRules": ".rich-confirm-dialog.for-new-domain-recipients { background: red !important; padding: 1.5em; }  .rich-confirm-dialog.for-new-domain-recipients::before { color: white !important; content: \"⨉警告!\"; display: block; font-size: x-large !important; font-weight: bold !important; position: relative; text-align: center; top: -0.5em; } .rich-confirm-dialog.for-new-domain-recipients .rich-confirm-content { background: var(--bg-color) !important; padding: 1em; } .rich-confirm-dialog.for-new-domain-recipients .rich-confirm-content strong { font-size: large; font-weight: bold; }",
  "internalDomains": [
    "clear-code.com",
    "*[email protected]"
  ],
  "showCountdown": true,
  "userRules": [
    {
      "id": "builtInAttentionDomains",
      "itemsLocal": [
        "example.net"
      ]
    },
    {
      "id": "builtInAttentionSuffixes",
      "enabled": true,
      "highlight": 1,
      "itemsLocal": [
        "png"
      ]
    },
    {
      "id": "builtInAttentionTerms",
      "enabled": true,
      "itemsLocal": [
        "社外秘"
      ]
    },
    {
      "id": "builtInBlockedDomains",
      "enabled": true,
      "itemsLocal": [
        "danger.example.org",
        "danger.example.com"
      ]
    },
    {
      "id": "rule-1725946080436-15572",
      "name": "社外秘の情報を本文に含むメールの場合は再度警告する",
      "enabled": true,
      "matchTarget": 5,
      "highlight": 3,
      "action": 3,
      "itemsSource": 0,
      "itemsLocal": [
        "社外秘"
      ],
      "itemsFile": "",
      "confirmTitle": "",
      "confirmMessage": "社外秘であることを示唆する以下の語句が本文に含まれています。\n\n<strong>%S</strong>\n\n宛先に問題がない事を確認の上でメールを送信してください。"
    }
  ]
}

Additional context

No response

@piroor
Copy link
Member Author

piroor commented Mar 7, 2025

現在の動作との互換性を維持するため、以下のように変更するのがよいか。

  • 「外部ドメイン・アドレスの宛先がある場合、添付ファイル名の手動での入力を求める」は
    「添付ファイル名の手動での入力を求める」にラベルを変更する。
  • 「添付ファイル名の手動での入力を求める」のサブ項目として、「外部ドメイン・アドレスの宛先がある場合のみ」というチェックボックスを追加する。こちらは初期状態でオフとする。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant