2 Troubleshooting
mseed edited this page 2026-10-07 11:09:37 +09:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Troubleshooting — 既知の問題・対処

既知の問題表

問題 影響 回避策
管理者パスワード未検証 webadmin不可 mox setaccountpassword / setadminpassword でリセット、/etc/mox/adminpasswd 確認
SSHロケール警告 冗長出力のみ LANG=C LC_ALL=C ラッパー、.bashrc にexport追加
cyberbb中継失効 スマートホスト無効 直接SMTP配信へ。逆引き/SPF整合確認
残エイリアス~8件 要実測 ssh old "grep -v ^# /etc/postfix/virtual" 実測後に追記(創作しない)
99.x→99.2旧系ポート不通見え 見かけ上のみ backend直(88.110/88.100)を使う。外部は正常

mox.conf 修正履歴

2026-10-05: internalリスナー障害

  • IPs: 0.0.0.0/0 → lookup失敗。0.0.0.0 → :80 競合(public 192.168.88.100:80 とbind衝突)
  • 修正: internal IPs を 127.0.0.1 に。結果 mox-admin.m-seed.biz/admin/ 200 OK

2026-10-06: m-seed.biz一本化・TLS

  • テストドメイン除去、Hostname: mail.m-seed.biz、ContactEmail: admin@m-seed.biz に設定
  • Host鍵新規生成、public TLSに ACME: letsencrypt 追加
  • 注意: 静的 KeyCerts とACME併存不可(cannot have ACME and static key/certificates で起動ループ)。自己署名 /etc/mox/cert.crt 除去で解消
  • Let's Encrypt CN=mail.m-seed.biz 取得済み、993でTLS1.3確認
  • HTTP-01経路: Fortigate→旧(.2:80/443)→NPM(.4)→proxy_host mail.m-seed.biz→88.100:80(NPM DB直INSERT+手書きconf。UI編集で上書き注意)
  • NPM podman compose down/up 再建(netns破損対応)
  • webadmin Host検証: mox-admin.m-seed.biz が404 → NPM proxy_set_header Host mail.m-seed.biz; 単一化で200 OK(重複HostでGoが400)

その他注意

  • migrate-to-mox.sh は単一ユーザ(osa-m-seed)のみ対応。複数ユーザは別手順
  • setup_aliases.py はリポジトリ不在=欠落扱い(創作しない、回収後に追記)
  • タイムスタンプ警告(1929年等)はインポートに影響なし
  • 切替空欄 ____ が残る間は実行不可(Migration)