
| ・ |
ドキュメントセンターを初めてご利用する方や運営方針についての基本的な姿勢をご覧になりたい方へ。
|
| ご利用の皆様から多く寄せられる質問にお答えしています。 |
|
| ・ |
ディーエーオフィスなどが利用する用語に関する解説を行います。
|
|
|
 |
 |  |
Maia Mailguard-1.0.1のsend-quarantine-digests.plがPostgreSQLを設定してもMySQLのunix_timestampを呼び出しますが? |
PostgreSQLが有効となるような設定であることを確認し、最後の手段としてisPgをtrueに設定します。
不具合は、MySQLで利用できるunix_timestampと呼ばれるSQLで利用可能な指定を呼び出すためです。通例的には、maia.conf上で設定された値が採用されるような構造になっているものと思われますが、Maia Mailguard 1.0.1では、設定を有効にするやり方が分かりませんでした。最後の手段として、スクリプトでPostgreSQLを使っていることを判別する値を変更するよう設定します。
ee /path/to/maiamailguard/scripts/send-quarantine-digests.pl
エディタでsend-quarantine-digests.plを開き、先頭などへ下記の宣言を記述します。
$isPg=true;
保存した後、配送されてくる「Maia Quarantine Digest」を確認するか、スクリプトを直接実行して確認します。
= 実行例 =
/path/to/maiamailguard/scripts/send-quarantine-digests.pl
! 不具合の例
# /path/to/maiamailguard/scripts/send-quarantine-digests.pl --learn
DBD::Pg::st execute failed: ERROR: function unix_timestamp() does not exist
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
2006-07-10 04:57:34 Maia: [send-quarantine-digests] FATAL ERROR: Couldn't execute query: ERROR: function unix_timestamp() does not exist
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
|
| 文書番号 |
07072 |
| 日付 |
2006.07.10 |
| 参照数 |
892 |
|