Re: How to deal with error OTRS Scheduler Daemon Cron: MailQueueSend

Anthony F McInerney <[email protected]> Mon, 11 May 2020 02:36:55 +0100
Newsgroups gmane.comp.otrs.user
Message-ID <CALoKiCqx-qz2YiHw2iFOs6zc_QbOmXUvUWtg6AHk6JgstiQZGg@mail.gmail.com>
--===============3942621349049602003==
Content-Type: multipart/alternative; boundary="00000000000072cc4305a55562c0"

--00000000000072cc4305a55562c0
Content-Type: text/plain; charset="UTF-8"

You could check the mail queue... just in case
https://doc.otrs.com/doc/manual/admin/6.0/en/html/email-settings.html#email-sending-mailqueue

And also there is the 'Communication Log' in the admin menu that might shed
more light..


On Sun, 10 May 2020 at 08:18, Santiago DIEZ <[email protected]> wrote:

> Hi Anthony,
>
> And thank you for your help.
>
> Yes I saw the warning from Google. It's not a problem if an email is not
> sent at time T. It can be sent at T+1m or T+10m or even T+1h I don't mind.
> My concern is when the message is not sent at all.
>
> The first email with warning was sent later. Fine. My question is how can
> I retrieve the second message? Was it sent at some time after the error?
> Was it completely destroyed (that would be a terrible programming mistake
> imho)? Is it sitting somewhere waiting for me to push the resend button?
>
> Regards
> Santiago
>
>
> On Sat, May 9, 2020, 17:03 Anthony F McInerney <[email protected]> wrote:
>
>>
>>
>> On Tue, 5 May 2020 at 11:34, Santiago DIEZ <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I received 2 alerts in the past 9 days.
>>> I'm using otrs-6.0.28.
>>>
>>>
>>>
>>> subject: OTRS Scheduler Daemon Cron: MailQueueSend
>>>
>>> The body starts with:
>>> ERROR: OTRS-otrs.Console.pl-Maint::Email::MailQueue-59 Perl: 5.20.2
>>> OS: linux Time: <DATE>
>>>
>>> Then there are many lines of debug. One of them being:
>>> Message: CommunicationLog([...])::Kernel::System::MailQueue   =>
>>> Temporary problem returned from server, requeuing message for sending.
>>> Message: SMTPCode: 451, ErrorMessage: Could not send message to
>>> server: 451,  Go ahead j4sm19123399wrm.85 - gsmtp!
>>>
>>> The body finishes with
>>> Error: Could not send message with ID '425'! Please refer to the log.
>>> Error: Failed.
>>>
>>> From the message id (j4sm19123399wrm.85) I could verify that the email
>>> was indeed sent one minute later (found the corresponding article
>>> using grep on /var/article/).
>>> But what does the id 425 refer to?
>>>
>>>
>>>
>>> The second alert has the same subject.
>>>
>>> The body also starts with:
>>> ERROR: OTRS-otrs.Console.pl-Maint::Email::MailQueue-59 Perl: 5.20.2
>>> OS: linux Time: <DATE>
>>>
>>> Then there are many lines of debug. One of them being:
>>> Message: CommunicationLog([...])::Kernel::System::MailQueue =>
>>> Permanent sending problem or we reached the sending attempt limit.
>>>
>>
>> Here's the problem. Google have a sending limit via smtp (It's like 100
>> per minute or something you can look it up). Unless you have a business
>> account that allows more.
>>
>>
>>
>>> Message will be removed
>>>
>>> The body finishes with
>>> Error: Could not send message with ID '520'! Please refer to the log.
>>> Error: Failed.
>>>
>>> I can't find the message id a67sm13838135wmc.30 anywhere in my articles.
>>> How can I retrieve the message to try and send it again?
>>>
>>>
>>>
>>> Thanks for your help
>>> Regards
>>> Santiago
>>> ---------------------------------------------------------------------
>>> OTRS mailing list: otrs - Webpage: http://otrs.org/
>>> Archive: http://lists.otrs.org/pipermail/otrs
>>> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
>>>
>> ---------------------------------------------------------------------
>> OTRS mailing list: otrs - Webpage: http://otrs.org/
>> Archive: http://lists.otrs.org/pipermail/otrs
>> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
>>
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
>

--00000000000072cc4305a55562c0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">You could check the mail queue... just in=
 case<div><a href=3D"https://doc.otrs.com/doc/manual/admin/6.0/en/html/emai=
l-settings.html#email-sending-mailqueue">https://doc.otrs.com/doc/manual/ad=
min/6.0/en/html/email-settings.html#email-sending-mailqueue</a><br></div><d=
iv><br></div></div><div>And also there is the &#39;Communication Log&#39; i=
n the admin menu that might shed more light..</div><div><br></div><br><div =
class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, 10 May =
2020 at 08:18, Santiago DIEZ &lt;<a href=3D"mailto:[email protected]">santi=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex"><div dir=3D"auto"><div>Hi Anthony,</div><div dir=3D"auto"><br><=
/div><div dir=3D"auto">And thank you for your help.</div><div dir=3D"auto">=
<br></div><div dir=3D"auto">Yes I saw the warning from Google. It&#39;s not=
 a problem if an email is not sent at time T. It can be sent at T+1m or T+1=
0m or even T+1h I don&#39;t mind. My concern is when the message is not sen=
t at all.</div><div dir=3D"auto"><br></div><div dir=3D"auto">The first emai=
l with warning was sent later. Fine. My question is how can I retrieve the =
second message? Was it sent at some time after the error? Was it completely=
 destroyed (that would be a terrible programming mistake imho)? Is it sitti=
ng somewhere waiting for me to push the resend button?</div><div dir=3D"aut=
o"><br></div><div dir=3D"auto">Regards</div><div dir=3D"auto">Santiago</div=
><div dir=3D"auto"><br><br><div class=3D"gmail_quote" dir=3D"auto"><div dir=
=3D"ltr" class=3D"gmail_attr">On Sat, May 9, 2020, 17:03 Anthony F McInerne=
y &lt;<a href=3D"mailto:[email protected]" rel=3D"noreferrer" target=3D"_bla=
nk">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, 5 May 202=
0 at 11:34, Santiago DIEZ &lt;<a href=3D"mailto:[email protected]" rel=3D"n=
oreferrer noreferrer" target=3D"_blank">[email protected]</a>&gt; wrote:<br=
></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I received 2 alerts in the past 9 days.<br>
I&#39;m using otrs-6.0.28.<br>
<br>
<br>
<br>
subject: OTRS Scheduler Daemon Cron: MailQueueSend<br>
<br>
The body starts with:<br>
ERROR: OTRS-otrs.Console.pl-Maint::Email::MailQueue-59 Perl: 5.20.2<br>
OS: linux Time: &lt;DATE&gt;<br>
<br>
Then there are many lines of debug. One of them being:<br>
Message: CommunicationLog([...])::Kernel::System::MailQueue=C2=A0 =C2=A0=3D=
&gt;<br>
Temporary problem returned from server, requeuing message for sending.<br>
Message: SMTPCode: 451, ErrorMessage: Could not send message to<br>
server: 451,=C2=A0 Go ahead j4sm19123399wrm.85 - gsmtp!<br>
<br>
The body finishes with<br>
Error: Could not send message with ID &#39;425&#39;! Please refer to the lo=
g.<br>
Error: Failed.<br>
<br>
From the message id (j4sm19123399wrm.85) I could verify that the email<br>
was indeed sent one minute later (found the corresponding article<br>
using grep on /var/article/).<br>
But what does the id 425 refer to?<br>
<br>
<br>
<br>
The second alert has the same subject.<br>
<br>
The body also starts with:<br>
ERROR: OTRS-otrs.Console.pl-Maint::Email::MailQueue-59 Perl: 5.20.2<br>
OS: linux Time: &lt;DATE&gt;<br>
<br>
Then there are many lines of debug. One of them being:<br>
Message: CommunicationLog([...])::Kernel::System::MailQueue =3D&gt;<br>
Permanent sending problem or we reached the sending attempt limit.<br></blo=
ckquote><div><br></div><div>Here&#39;s the problem. Google have a sending l=
imit via smtp (It&#39;s like 100 per minute or something you=C2=A0can look=
=C2=A0it up). Unless you have a business account that allows more.</div><di=
v><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex">
Message will be removed<br>
<br>
The body finishes with<br>
Error: Could not send message with ID &#39;520&#39;! Please refer to the lo=
g.<br>
Error: Failed.<br>
<br>
I can&#39;t find the message id a67sm13838135wmc.30 anywhere in my articles=
.<br>
How can I retrieve the message to try and send it again?<br>
<br>
<br>
<br>
Thanks for your help<br>
Regards<br>
Santiago<br>
---------------------------------------------------------------------<br>
OTRS mailing list: otrs - Webpage: <a href=3D"http://otrs.org/" rel=3D"nore=
ferrer noreferrer noreferrer" target=3D"_blank">http://otrs.org/</a><br>
Archive: <a href=3D"http://lists.otrs.org/pipermail/otrs" rel=3D"noreferrer=
 noreferrer noreferrer" target=3D"_blank">http://lists.otrs.org/pipermail/o=
trs</a><br>
To unsubscribe: <a href=3D"http://lists.otrs.org/mailman/listinfo/otrs" rel=
=3D"noreferrer noreferrer noreferrer" target=3D"_blank">http://lists.otrs.o=
rg/mailman/listinfo/otrs</a><br>
</blockquote></div></div>
---------------------------------------------------------------------<br>
OTRS mailing list: otrs - Webpage: <a href=3D"http://otrs.org/" rel=3D"nore=
ferrer noreferrer noreferrer" target=3D"_blank">http://otrs.org/</a><br>
Archive: <a href=3D"http://lists.otrs.org/pipermail/otrs" rel=3D"noreferrer=
 noreferrer noreferrer" target=3D"_blank">http://lists.otrs.org/pipermail/o=
trs</a><br>
To unsubscribe: <a href=3D"http://lists.otrs.org/mailman/listinfo/otrs" rel=
=3D"noreferrer noreferrer noreferrer" target=3D"_blank">http://lists.otrs.o=
rg/mailman/listinfo/otrs</a><br>
</blockquote></div></div></div>
---------------------------------------------------------------------<br>
OTRS mailing list: otrs - Webpage: <a href=3D"http://otrs.org/" rel=3D"nore=
ferrer" target=3D"_blank">http://otrs.org/</a><br>
Archive: <a href=3D"http://lists.otrs.org/pipermail/otrs" rel=3D"noreferrer=
" target=3D"_blank">http://lists.otrs.org/pipermail/otrs</a><br>
To unsubscribe: <a href=3D"http://lists.otrs.org/mailman/listinfo/otrs" rel=
=3D"noreferrer" target=3D"_blank">http://lists.otrs.org/mailman/listinfo/ot=
rs</a><br>
</blockquote></div></div>

--00000000000072cc4305a55562c0--

--===============3942621349049602003==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs

--===============3942621349049602003==--