Plesk – Unable to stat entry ‘/usr/local/psa/handlers/info/’

Re: Mail being bounced even though Mailbox exists, bounce message

Hi. This is the qmail-send program at server.mailserver.com.
I’m afraid I wasn’t able to deliver your message to the following addresses.
This is a permanent error; I’ve given up. Sorry it didn’t work out.”

Take a look in the mail log file:

tail -1500 /usr/local/psa/var/log/maillog

You see errors such as this:

Unable to stat entry '/usr/local/psa/handlers/info'

To resolve you need to remove and rebuil all mail handlers as follows:

1. Stop the mail service

    # /usr/local/psa/admin/sbin/mailmng --stop-service

    OR

    # service qmail stop

2. Backup old handlers in a temporary directory

    # mkdir /usr/local/temp

    # cp -a /usr/local/psa/handlers/before-* /usr/local/temp/

    # cp -a /usr/local/psa/handlers/info /usr/local/temp/

3. Remove the handlers

    # rm -rf /usr/local/psa/handlers/before-*/*

    # rm -rf /usr/local/psa/handlers/info/*

4. Recreate handlers using mchk utility

    # /usr/local/psa/admin/sbin/mchk --with-spam

5. Start mail service:

    # /usr/local/psa/admin/sbin/mailmng --start-service

    OR 

    service qmail start

This may take a little time however it will resolve all errors.

How do I block the Yandex.ru bot from crawling my site?

Re: How to stop Yandex, Blocking Yandex.RU

Yandex is the most popular search engine in Russia. Your bandwidth can go through the roof if this bot targets your website.

Unfortunately for many, the robots.txt file is ignored so blocking Yandex using the official method is not an option.

If you have a busy forum or website with hundreds of pages you may find that the Yandex Bot is starting to take up more of your site resources by indexing up to 90 pages every 15 minutes often leaving connections open or failing to close them properly.

You can easily disable the Yandex.ru Bot by placing the following in your .htaccess file:

SetEnvIfNoCase User-Agent "^Yandex*" bad_bot
Order Deny,Allow
Deny from env=bad_bot

Using this method saves you the trouble of having to find blocks of Yandex IP addresses and block them individually which would only work for a limited time.


Learn more about the Yandex bot

What is the Yandex.ru bot?

The Yandex.ru bot, also known as YandexBot, is a web crawler and indexing bot used by Yandex, a leading Russian search engine. It scans websites, indexes web pages, and provides data for Yandex’s search results.

How can I check if the Yandex.ru bot has visited my website?

You can check if the Yandex.ru bot has visited your website by examining your website’s server logs or by using tools like Yandex.Webmaster, which provides detailed information about bot activity.

Is it necessary to optimise my website for the Yandex.ru bot?

Yes, if you want your website to appear in Yandex search results, it’s advisable to optimize it for the Yandex.ru bot. This includes following Yandex’s webmaster guidelines for indexing and ranking.

Are there specific rules or guidelines for Yandex.ru bot optimisation?

Yandex provides webmaster guidelines that include recommendations for optimising your website for the Yandex.ru bot. This includes creating a sitemap, using proper meta tags, and ensuring mobile-friendliness.

How can I block or allow the Yandex.ru bot from accessing my website?

You can control bot access through your website’s robots.txt file. To allow Yandex.ru bot, include “User-agent: Yandex” in your robots.txt. To block it, use “Disallow: /” for all Yandex user-agents.

What is a dedicated server?

If your site becomes too busy for shared hosting or VPS, you may need your own dedicated server.

A dedicated server is a server whose resources are entirely dedicated to your site. None of the server resources are shared with any third parties.

Usually the maintenance of a dedicated server is your responsibility however some hosts offer managed dedicated server solutions – at a price.

You will need a dedicated server if your site becomes very busy and the resource requirements are greater than that provided by a shared hosting service.

What is shared hosting?

All cheap hosting plans that you purchase from a company are shared hosting plans.

A shared hosting plan means that you have purchased/leased webspace and resources from a server that is also offering webspace and resources to other non-related clients.

Shared hosting is the cheapest way to get web space and email facilities. Server maintenance and function is the responsibility of the web host.

Alternatives to shared hosting include VPS hosting and Dedicated Server hosting.

When do you perform server maintenance?

We perform weekly maintenance to all servers on a Sunday evening between 2200 and 0400. This time has shown to be the least active period for the servers and so any maintenance will have minimal effect.