2 E-mails vast in mailq

AI-generated summary

Ethsim2 reports two emails stuck in the mail queue for two hours, showing temporary failures. They checked logs in /shared/log/rails/production.log and /shared/log/mail-receiver.log but found no clear error. After identifying that the emails had large attachments (4-10 MB across 5-8 files) and a long email chain, they re-forwarded one with fewer attachments, which succeeded. Despite this, the queue still showed 11306 kilobytes in 2 requests. Ethsim2 then used postsuper -d ALL to delete the stuck messages, clearing the queue. NateDhaliwal notes the topic was moved from #community-wiki:sysadmins to Product Support.

Hello,

I have run

cd /var/discourse

.\launcher enter mail-receiver

mailq

and it shows for the last 2 hours 2 emails are stuck in the queue, (temporary failure)


i then run

tail -f /shared/log/rails/production.log less /shared/log/rails/production.log

and it didn't work

so then i try

tail -f /shared/log/mail-receiver.log less /shared/log/mail-receiver.log

and it didn't work

so then i exit, cd, then logout


and hope someone can help me here on meta?

Oké, dus ik ging naar de Outlook van de Gedeelde Postbus die de e-mails verzond, ik kan zien dat ze een body hadden maar 4-10 MB aan 5-8 bijlagen, en zowel een lange keten van e-mails. Mijn admin UI bijlagengrens is 14 MB en alle bestandstypen waren geautoriseerd.

Ik heb een e-mail doorgestuurd die overeenkomt met de meest recente van de 2 e-mails, waarbij het aantal bijlagen werd verminderd, dat werkte snel.

Nu zal ik mailq opschonen


cd /var/discourse

.\launcher enter mail-receiver

mailq

11306 Kilobytes in 2 Requests is er nog steeds


dus ik voer uit

postsuper -d ALL

en krijg

postsuper: Deleted: 2 messages


voer mailq opnieuw uit voor de zekerheid, en zie dat deze leeg is

exit,cd, dan logout

Alleen een snelle opmerking, @Ethsim2: de Community wiki > Sysadmins categorie is voor handleidingen, niet voor problemen. Ik heb het verplaatst naar Support.