Summary: | default postfix configuration could be better | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Michael Shigorin <mike> |
Component: | postfix | Assignee: | Gleb F-Malinovskiy <glebfm> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P4 | CC: | glebfm, lakostis, ldv, ns |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
Michael Shigorin
2003-03-09 01:48:40 MSK
1. В postfix-2.2 значение по умолчанию изменилось: # postconf notify_classes notify_classes = resource, software 2. Идея мне нравится. В postfix-2.1.5-alt1 я cменил значение по умолчанию для queue_minfree с 0 на то, которое установлено по умолчанию для message_size_limit (10240000). Значение по умолчанию у queue_minfree лучше не менять, поскольку smtpd ведёт себя правильно при queue_minfree == 0 (другими словами, queue_minfree фактически не может быть меньше var_message_limit * 1.5): if (BLOCKS(var_queue_minfree) >= fsbuf.block_free || BLOCKS(var_message_limit) >= fsbuf.block_free / 1.5) { (void) smtpd_check_reject(state, MAIL_ERROR_RESOURCE, "452 Insufficient system storage"); msg_warn("not enough free space in mail queue: %lu bytes < " "1.5*message size limit", (unsigned long) fsbuf.block_free * fsbuf.block_size); return (STR(error_text)); } closing closing |