os ticket 1.17.2 php 8.0
for example when you put the max file size is 1MB (for file email attached). But when a email arrived with a file to 2MB attachments. but it will stuck the osTicket fetching queue.Any advice or workaround please?Can the over-limit email be ignored and other emails be processed?
Fetching and files biggest max files size
- Edited
If you would rather allow osTicket to fetch all mail, you probably just need to increase the file upload size limit in your php.ini.
On the server command line, run php --ini
If your server is Windows, you may need to cd path\to\php.exe
In the output you should see which php.ini your crontab/task is using. This may be different from the config that your web site uses.
For example:
Loaded Configuration File: /etc/php/8.0/cli/php.ini
Edit the file and find: upload_max_filesize. The default is 2m.
Thank you for your reply. I have already increased The variable is already at 8 MB. The problem is when an email has an attachment of 9Mb for example. The queue is blocked and osticket stop it doesn't fetch other emails. you must manually delete the email with a file that is too big
Sounds like you need to wait for the next release and retest. The system should still fetch the email just ignore the attachment and put a system message that the file couldn't be uploaded for x reason.
Cheers.
so we wait thank you very much for your answer