Hello everyone.
I am implementing the OTRS system on my company, and everything works fine until yesterday. The VM was powered off due a power failure on the region, and when I started the VM back, everything seems to be ok.
But, e-mails was not be sending.
On the tshoot, I saw that many communications on Communications Log was opened but still with the status "processing". Looking further, I discovered that when I try /opt/otrs/bin/otrs.Console.pl Maint::Email::MailQueue --send --force the e-mails was sent.
Then, I discovered that the cron task is failed.
| MailQueueSend | 2025-09-22 05:49:00 | Fail | 1.0 Second(s) | 2025-09-22 05:49:00 |
I've already tried to stop cron and Daemon e start over, tried to restart the VM, tried this:
viewtopic.php?f=62&t=39530&p=160035#p160035
The OTRS version is 6.0.35.
Can anyone help me?
Thanks in advance
mailQueueSend fail - cron
Moderator: crythias
-
vmachowski
- Znuny newbie
- Posts: 1
- Joined: 22 Sep 2025, 23:35
- Znuny Version: 6.0.35
- Real Name: Victor Machowski
- Company: Victor Machowski Tecnologia
-
Chris28
- Znuny newbie
- Posts: 11
- Joined: 03 Jul 2024, 11:48
- Znuny Version: all
- Real Name: Christian
- Company: Znuny GmbH
Re: mailQueueSend fail - cron
Hi,
Please verify if there are any relevant error messages in the system log and send a screenshot.
Use the following command to display the list of pending emails and note the total count:
Execute the command again, the number should decrease.
If not, run:
If the output indicates an existing process, use again:
kind regards
-Christian
Please verify if there are any relevant error messages in the system log and send a screenshot.
Use the following command to display the list of pending emails and note the total count:
Code: Select all
bin/otrs.Console.pl Maint::Email::MailQueue --listIf not, run:
Code: Select all
bin/otrs.Console.pl Maint::Email::MailQueue --sendCode: Select all
bin/otrs.Console.pl Maint::Email::MailQueue --send --force-Christian