Bug 2341 - default postfix configuration could be better
: default postfix configuration could be better
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/postfix)
: unstable
: all Linux
: P4 enhancement
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2003-03-09 01:48 by
Modified: 2005-08-30 02:35 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-03-09 01:48:40
What should be relaxed: replacing (main.cf\'s)

notify_classes = policy,protocol,resource,software

with

notify_classes = 2bounce,resource,software

should remove unneeded burden on postmasters.

---

OTOH, one _sane_ knob could get used:

queue_minfree = 10240000
---

---
WRT \"policy\": these options are marked as \"paranoid\", and trying to make \"usual\" administrator \"paranoid\" by enforcement just doesn\'t work.

Observed behavour is that there is no sensible reaction to these messages, but their handling en mass just takes up the time.
------- Comment #1 From 2005-03-01 20:40:53 -------
1. В postfix-2.2 значение по умолчанию изменилось:
# postconf notify_classes
notify_classes = resource, software

2. Идея мне нравится.
------- Comment #2 From 2005-03-03 17:30:54 -------
В postfix-2.1.5-alt1 я cменил значение по умолчанию для queue_minfree с 0 на
то,
которое установлено по умолчанию для message_size_limit (10240000).
------- Comment #3 From 2005-03-05 16:38:04 -------
Значение по умолчанию у 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));
}
------- Comment #4 From 2005-08-30 02:24:02 -------
closing
------- Comment #5 From 2005-08-30 02:35:17 -------
closing