From ebe567fa27cb7bd94671096347e561f39b6abbd9 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Thu, 9 Jul 2015 00:25:14 +0800 Subject: [PATCH] Typo in faq/amavisd.sql.db.md. --- faq/amavisd.sql.db.md | 26 ++++++++++++++++++++++++-- html/amavisd.sql.db.html | 30 +++++++++++++++++++++++++++--- 2 files changed, 51 insertions(+), 5 deletions(-) diff --git a/faq/amavisd.sql.db.md b/faq/amavisd.sql.db.md index 9dc6d4d7..4666dba4 100644 --- a/faq/amavisd.sql.db.md +++ b/faq/amavisd.sql.db.md @@ -13,14 +13,24 @@ Amavisd has two settings to use its SQL tables: * quarantined mails. Note: it stores full message of quarantined mail, including mail body. - `@storage_sql_dsn` uses 4 sql tables: `msgs`, `msgrcpt`, `maddr`, `quarantine`. + `@storage_sql_dsn` uses 4 sql tables: + + * `msgs` + * `msgrcpt` + * `maddr` + * `quarantine` * `@lookup_sql_dsn`: used to store: * per-account spam policy * per-account white/blacklists - `@lookup_sql_dsn` uses 4 sql tables: `mailaddr`, `policy`, `users`, `wblist`. + `@lookup_sql_dsn` uses 4 sql tables: + + * `mailaddr` + * `policy` + * `users` + * `wblist` ## Details @@ -59,3 +69,15 @@ Amavisd has two settings to use its SQL tables: * `amavisd.policy`: used to define per-recipient spam policy, and max message size limit. + +### TODO: `@storage_sql_dsn` + +* `maddr` +* `msgs` +* `msgrcpt` +* `quarantine` + +Since Amavisd will store basic info of every inbound/outbound email, the SQL +database will grow bigger and bigger, iRedMail setups a daily cron job to +clean up old records with script shipped in iRedAdmin (available in both +iRedAdmin open source edition and iRedAdmin-Pro): `tools/cleanup_amavisd_db.py`. diff --git a/html/amavisd.sql.db.html b/html/amavisd.sql.db.html index bb0421e4..606fc29f 100644 --- a/html/amavisd.sql.db.html +++ b/html/amavisd.sql.db.html @@ -17,6 +17,7 @@
  • Summary
  • Details
  • @@ -34,7 +35,13 @@
  • quarantined mails. Note: it stores full message of quarantined mail, including mail body.
  • -

    @storage_sql_dsn uses 4 sql tables: msgs, msgrcpt, maddr, quarantine.

    +

    @storage_sql_dsn uses 4 sql tables:

    +
  • @lookup_sql_dsn: used to store:

    @@ -42,7 +49,13 @@
  • per-account spam policy
  • per-account white/blacklists
  • -

    @lookup_sql_dsn uses 4 sql tables: mailaddr, policy, users, wblist.

    +

    @lookup_sql_dsn uses 4 sql tables:

    +

    Details

    @@ -87,7 +100,18 @@

    amavisd.policy: used to define per-recipient spam policy, and max message size limit.

    -

    Document published under a CC BY-ND 3.0 license. If you found something wrong, please do contact us to fix it.