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.
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