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

Santiago DIEZ <[email protected]> Sun, 10 May 2020 09:17:37 +0200
Newsgroups gmane.comp.otrs.user
Message-ID <CAJh8RqXsGQjPAzCnPmbTUFCFB9zQQamDzcewm4MF1ePjP4RU9A@mail.gmail.com>
--===============0277451291320847627==
Content-Type: multipart/alternative; boundary="000000000000074ca205a5460765"

--000000000000074ca205a5460765
Content-Type: text/plain; charset="UTF-8"

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
>

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

<div dir=3D"auto"><div>Hi Anthony,</div><div dir=3D"auto"><br></div><div di=
r=3D"auto">And thank you for your help.</div><div dir=3D"auto"><br></div><d=
iv dir=3D"auto">Yes I saw the warning from Google. It&#39;s not a problem i=
f an email is not sent at time T. It can be sent at T+1m or T+10m or even T=
+1h I don&#39;t mind. My concern is when the message is not sent at all.</d=
iv><div dir=3D"auto"><br></div><div dir=3D"auto">The first email with warni=
ng was sent later. Fine. My question is how can I retrieve the second messa=
ge? 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?</div><div dir=3D"auto"><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" cla=
ss=3D"gmail_attr">On Sat, May 9, 2020, 17:03 Anthony F McInerney &lt;<a hre=
f=3D"mailto:[email protected]" target=3D"_blank" rel=3D"noreferrer">afm404@g=
mail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D=
"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote"><div dir=3D=
"ltr" class=3D"gmail_attr">On Tue, 5 May 2020 at 11:34, Santiago DIEZ &lt;<=
a href=3D"mailto:[email protected]" rel=3D"noreferrer noreferrer" target=3D=
"_blank">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,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>

--000000000000074ca205a5460765--

--===============0277451291320847627==
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

--===============0277451291320847627==--