-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to force mail scanner to stop after timeout #25
Comments
Go to your database and fire: I have set it in cron: clearmailscanner.sql: |
@garryatbrighton This will not solve the problem in any way. The problem in such cases is always the issue of parsing the email. By the way, if you are using version 6.5 or lower, I recommend updating to 7.0.x, because the entire mechanism of the email scanner has been thoroughly rebuilt and it will most likely reduce the number of errors in this area. |
Thank you for your answers. I also activated the option in config/main.php to stop Cron after 1 hour if the task is not completed but it doesn't stop the email scanner. Thank you, |
public static $LOG_TO_FILE = true;
public static $LOG_LEVELS = ['error','warning'];
public static $LOG_TRACE_LEVEL = 9;
public static $DEBUG_CRON = true; Logs will be registered in the following file: |
Hello,
Do you have any idea ? |
It seems that the subject of the email is the source of the problem here. It may contain HTML syntax or some other unacceptable characters. Also check if you have uft8mb4 or uft8mb3 database encoding. If you can, please provide the subject of the email. |
Hello,
I quite often have a problem with the mail scanner, which goes on and on and on... even if the Cron is ok and running well, and the server configured as recommended.
I have to manually stop it and to wait a few minutes for the cron to start it to get it work again.
I would like to automatically stop it if it doesn't end after some time.
Is it possible ?
Thank you,
Regards,
The text was updated successfully, but these errors were encountered: