You are not logged in.
Pages: 1
Hello everyone!
I have a problem with GLPI mailgate.
Mailgate worked for some months, but now it cannot process some emails as tickets. Mostly because of incorrect addresses (like IMCEAEX addresses). Since yesterday, mailgate cannot process anything. After pressing "Get Email Tickets Now" I got:
Number of messages: available=93, already imported=0, received=10, refused=0, errors=10, blacklisted=0
I guess the mailgate stops because first 10 messages are faulty.
Okay, I've deleted all messages from GLPI's mailbox.
What I expect: Number of messages: available=0, already imported=0, received=0, refused=0, errors=0, blacklisted=0
What I got: Number of messages: available=93, already imported=0, received=10, refused=0, errors=10, blacklisted=0
Deleting emails from mailbox does not deletes them from mailgate queue.
So, my question is how to clean mailgate's cached/queued messages?
Some observations:
This is not a mailbox access issue, since "available=" increases as far as new emails coming to mailbox.
This is not a scheduler issue sinse I run it manually via web-interface.
I was unable to find something useful in laminas-mail documentation.
I appreciate any comments.
Last edited by Klientos (2022-07-20 06:03:45)
Offline
As a workaround, I've changed
public $maxfetch_emails = 10
to 30.
Now, mailgate gets 15 old bad emails and 15 new good emails, so queue is moving. But this is a nasty hack.
Offline
Hi Klientos,
In the past we also experienced the mailgate to be sensitive. We overcame most issues by creating additional mail import rules using the GLPI rules engine. Those that still broke the mailgate before GLPI could apply the rules engine we created exchange mailbox rules for.
Also see Administration > Rules > Rules for assigning a ticket created through an email receiver
p.s. in the automatic actions overview you should be able to perform a 'reset last run' action on the mailgate as well.
Hope this helps,
Last edited by chris.gralike@amis.nl (2022-07-24 13:28:18)
\\ [-_-] //
|||
// \\
Offline
Mea culpa, I deleted messages from the wrong mailbox. Deleting emails from the correct mailbox fixes the problem for now.
And there was an another issue simultaneously, that I discovered a bit later — there was a too large ticket (about 200 comments, many with size 500 kbytes). Trying to open "Processing ticket" — browser hangs. Trying to add email as comment — mailgate hangs. MySQL UPDATE query fixes it.
Thanks.
Offline
Pages: 1