Summary: | mail-mta/exim - Add a small cron-script to call exim_tidydb | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nico Erfurth <masta-gentoo> |
Component: | New packages | Assignee: | Fabian Groffen <grobian> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | bug, net-mail+disabled, peitolm |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Cronscript to call exim_tidydb |
Description
Nico Erfurth
2006-01-28 05:31:45 UTC
Created attachment 78343 [details]
Cronscript to call exim_tidydb
The script reads EXIM_TIDY_TIME from /etc/conf.d/exim and defaults to "7d" if it isn't set. This will be passed to exim_tidydb, so old entries are removed.
The script should pickup all db-files on its own. I use that one on my own server for years, works like a charm.
The script is meant to be placed in /etc/cron.daily
Support will be added in exim-4.69-r3 (with a slightly edited patch) Reassign to net-mail herd as peitolm retires Re-assigning. I believe creating a cron-script is hard, because one doesn't know if cron is there, what cron, etc. Instead I added a hint linking to http://www.exim.org/exim-html-current/doc/html/spec_html/ch50.html#SECThindatmai I hope that encourages people to investigate themselves what's the best course of action for their system configuration. (I didn't know about this myself, and haven't run it for years on my installations, yet I didn't have humongous db files or something, so it seems not to be so problematic to me.) I close this bug as fixed because of the einfo added to 4.77. Feel free to reopen if you disagree this is a "fix". |