scanner / as_email_service

A Django app and smtp relay service for working with 3rd party email services and asimap
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Not all incoming bounce notifications are permanent. #17

Closed scanner closed 1 year ago

scanner commented 1 year ago

There is a large swath of bounce notification types. Many will never apply to most users (having to do with email lists, subscriptions, templates, etc). These include permanent bounces (like a bad destination email address or domain), but also include transient ones like unable to reach destination mail server.

So we should only increment the number of bounces for an EmailAccount when it sent an email that caused a non-transient bounce.