Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
131 stars 2 forks source link

Email Delivery Issues #1331

Open ProbablePrime opened 6 months ago

ProbablePrime commented 6 months ago

We were getting some reports of email delivery issues.

To resolve this I have a lot of stuff to do:

ProbablePrime commented 6 months ago

Our OS Ticket handling of Undelivered Mail turned out to not be working due to a small capitalization issue in OSTicket's mail parsing. a PR for the fix can be found here: https://github.com/osTicket/osTicket/pull/6663/

A big thank you to: Hikari Akimori, Bredo, Sveken, Jae

and Esa Jokinen on server fault who helped in a question here:https://serverfault.com/questions/1153290/add-original-message-id-to-headers-in-a-postfix-bounce

oh2fih commented 6 months ago

and Esa Jokinen on server fault who helped in a question here:https://serverfault.com/questions/1153290/add-original-message-id-to-headers-in-a-postfix-bounce

I'm glad I could help you find this bug. :sunglasses:

ProbablePrime commented 6 months ago

Today I also found some issues in our incoming mail fetching and processing within our ticket system.

The ticket desk will be faster to respond to emails now and thanks to yesterday's fix it will also flag a failed delivery properly.

Image

References: https://docs.osticket.com/en/latest/Getting%20Started/POP3-IMAP%20Settings.html#schedule-polling

ProbablePrime commented 6 months ago

Metrics are starting to flow on this topic see #1272 for some information. BUT i did discovery a few things:

  1. Our email health is pretty damn good now
  2. Spam accounts on the wiki need to be handled a little better, they enter fake emails which generate an undeliverable email in our mail systems.
  3. Biggest gap right now is DNS records on Yellowdogman.com
ProbablePrime commented 6 months ago

For item 2 on my list, I remember reading a setting or extension on mediawiki that would verify if a domain exists before allowing a user to register.

I can't find this today though oh well.

shiftyscales commented 6 months ago

This sounds promising, @ProbablePrime. https://github.com/quanterium/EmailDNSValidate

ProbablePrime commented 6 months ago

This sounds promising, @ProbablePrime. https://github.com/quanterium/EmailDNSValidate

I installed this but it isn't working at the moment, the code is very simple though so I'll fix it up when I can.

ProbablePrime commented 6 months ago

I re-wrote the extension you found @shiftyscales and it now works, thank you for the help!