• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question Autorespond to +500 mailboxes

Erwin Fiten

Basic Pleskian
Hi,

I'm managing a Plesk Onyx installation with over 500 mailboxes.
Now I want to setup an auto-responder for ALL of those mailboxes.
is there a way i can manage this, i'm using qmail to receive mails?

  • Can this be done with the GUI ?
  • is there a config where the auto-respond email is saved, so I can create some kind of script to add that to all users?
  • is there a global setting ?

Any idea would be welcome, because i can't open all 500 mailboxes in plesk and add an auto-responder.


Erwin
 
You can try to do it in CLI for all your mailboxes with following command:

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select concat(mail.mail_name,\"@\",domains.name) as address from mail,domains,accounts where mail.dom_id=domains.id and mail.account_id=accounts.id order by address"`; do /usr/local/psa/bin/autoresponder -u -mail $i -status true -subject "application form" -text "Thank you for your inquiry. The application form is attached."; done
 
I will perform this action today (after making a backup of the DB )

Is it also possible to reject those incoming mails, AFTER the auto reply?
I think this is difficult, because we need to receive the mail to be able to auto reply.

or maybe move those mails to a seperate mailbox.

It's a mailserver that will go offline at the end of the month, and users aren't realy stooping to use it, so we will force them to find alternatives by NOT receiving any new mails.
 
Back
Top