Symptoms

Freshly configured autoresponder for QMail mailbox does not work - it does not send replies.

Resource (or service template) of "QMail Hosting" resource type has activation parameter "Maximum Autoresponder invocations rate per day" is set to -1 since provider wanted to set it unlimited.

On autoresponder invocation the follwoing error could be found in maillog:

dovecot: deliver(reply@domain.nl): msgid=: saved mail to INBOX
autoresponder2: error in getting throttling delay for autoresponder 'autoresponders//148/', error code is -5 

A very large integer values appears inside the autorespnder definition file:

[root@linmail01 ~]#  cat /usr/local/qmail/shared/mailnames/k/y/-4398/4398/.qmail
&fs-jdoe@example.com
|maildir
|autoresponder2 autoresponders/ ./ 18446744073709551615 173

Cause

Incorrect value is propagated to QMail configuration file if negative or very high (greater than 32766) value is set in activation parameter "Maximum Autoresponder invocations rate per day" of Mail Hosting resource. Autoresponder incorrectly interprets this value and refuses to send reply message. The issue is acknowledged as POA-110912: "QMail autoresponder breaks if 'invocations rate' is set to 'Unlimited'".

Resolution

The issue could be mitigated by setting some reasonable positive value as "Maximum Autoresponder invocations rate per day" activation parameter. This will help all future subscriptions.

To fix all existing mailboxes, it is required to upgrade to 7.2 and fix all current .qmail configs:

# for i in $(ll -R /usr/local/qmail/shared/mailnames/* | grep 'autoresponders:' | cut -d':' -f1); do sed -i 's~4294967295~-1~' $i/.qmail;  done

Note: depending on the OS, the value could be either 4294967295 or 18446744073709551615, so use the one that appears inside .qmail file for the affected mailbox.

In order to acquire more details about status of POA-110912, please contact your Technical Manager to a member of Pooled Technical Associates.

Internal content

Link on internal Article