Brand new install.
Debian 12 - Install script
Gsuite account with app password and IMAP enabled.
app Password works with Thunderbird IMAP.
Contacts created.
What happens:
All unread emails switch to read - until emailparser fails, and then returns to unread.
Only one single ticket out of many is autocreated.
Contacts created.
sudo -u www-data php /var/www/msp.mydomain.dk/cron_ticket_email_parser.php MyCronKey
Created new ticket.<br>PHP Fatal error: Uncaught Webklex\PHPIMAP\Exceptions\ResponseException: Command failed to process:
Causes:
- request failed
- Empty response
Error occurred in /var/www/msp.mydomain.dk/plugins/php-imap/src/Exceptions/ResponseException.php:53
Stack trace:
#0 /var/www/msp.mydomain.dk/plugins/php-imap/src/Connection/Protocols/Response.php(318): Webklex\PHPIMAP\Exceptions\ResponseException::make()
#1 /var/www/msp.mydomain.dk/plugins/php-imap/src/Connection/Protocols/Response.php(308): Webklex\PHPIMAP\Connection\Protocols\Response->validate()
#2 /var/www/msp.mydomain.dk/plugins/php-imap/src/Client.php(670): Webklex\PHPIMAP\Connection\Protocols\Response->validatedData()
#3 /var/www/msp.mydomain.dk/plugins/php-imap/src/Message.php(1127): Webklex\PHPIMAP\Client->openFolder()
#4 /var/www/msp.mydomain.dk/cron_ticket_email_parser.php(435): Webklex\PHPIMAP\Message->move()
#5 {main}
thrown in /var/www/msp.mydomain.dk/plugins/php-imap/src/Exceptions/ResponseException.php on line 53
ITFlow lock key in /tmp is not removed.
Seems to me access to IMAP is just fine, and all unread messages are switched to read, and the first email creates a ticket.
Then it tries to move the first imported email to the "itflow" folder, but fails to do that, and switch all read emails back to unread.
Does the emailparser create ITFlow folder in the IMAP account, or do I do that manually? If so, any particular format? "ITFLOW" , "itflow"? In the root folder?
Got the exact same error on Ubuntu 22.04 / PHP to v.8.3 (upgraded), hence decided to try a new install.
Any help highly appreciated 😊