How to limit autoresponder replies?

Refers to:

  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows

Created:

2016-11-16 13:01:43 UTC

Modified:

2016-12-21 19:47:09 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to limit autoresponder replies?

Symptoms

If I enable auto-reply in my Plesk for mail account and send a test email to that account, I get an auto-response. However, if send another test email, I do not get any autoresponse, i.e., it works only once.

Cause

There is a parameter in the "psa" database -- mail_resp.ans_freq -- that defines the daily auto-reply limit for each mailbox, and it is set to "1" by default.

Resolution

You can manage the amount of auto-replies in mailbox settings:

Aslo there is ability to manage this parameter in psa database:

In the mail_resp table of the psa database, modify the ans_freq field.

  1. Log in to the MySQL "psa" database:

    MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin psa
  2. Check the current value of the parameter:

    mysql> select concat(m.mail_name , '@' , d.name) as mailname, mn_id, r.ans_freq from mail m, domains d , mail_resp r where m.dom_id = d.id and r.mn_id = m.id;
    +-------------------------------+----------+
    | mailname | mn_id | ans_freq |
    +-------------------------------+----------+
    | mailname1@domain.tld | 6 | 1 |
    +-------------------------------+----------+
  3. To set the value for all mailnames, run:

    mysql> update mail_resp set ans_freq=XX;

    where "XX" - is the desired limit.

  4. To set the value for a particular mailbox, you may refer to it by its mn_id, for example:

    mysql> update mail_resp set ans_freq=XX where mn_id=6;
Have more questions? Submit a request
Please sign in to leave a comment.