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

Have aiosmtpd reject emails over a size limit determined by the provider #114

Open scanner opened 8 months ago

scanner commented 8 months ago

Postmark, at least, has a maximum size it will allow emails to be. Instead of having postmark fail this and generate a bounce or other email back to the sending account we should have aiosmtpd refuse the email when it is being received by aiosmtpd if it goes over a limit.

The limit should be an attribute of the provider.