Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

Ability to reject messages at SMTP time when mailbox full

Owen Rudge shared this idea 7 years ago
Already Exists

As a server administrator I would like an option added to the Mailserver Configuration interface that would provide me the ability to reject messages at SMTP time (rather than having a bounce message generated) when an email or cPanel account has reached its quota, in order to reduce load on the server due to processing those messages.

Replies (1)

photo
1

This option is available in the Mailserver Configuration section inside of WHM

If you select " Reject the message permanently. [ ? ]", the messages will be rejected at SMTP time.

683c766d69111929d93a1ce3e1304be2

photo
1

As per https://forums.cpanel.net/threads/disk-quota-delivery-failure-response.569151/ - it seems that what happens is a rejection e-mail is generated by Dovecot (I think?) and bounced back to the sender; rather than the sender receiving a rejection at SMTP time (without a separate bounce being generated). The problem with the current setup is that if a user's mailbox is full, every e-mail they then receive (including spam) receives a bounce, often causing backscatter and in some cases getting our servers blacklisted

Possibly this isn't the intended behaviour and there is actually a bug, but it seems to be what is happening. The suggestion in the topic was to open a feature request however. I'll double check the behaviour on our servers again too.

photo
1

Hi Owen,

Looks like we have a bug. The localuser_overquota and virtual_user_overquota both have the no_verify flag set so they won't be evaluated until later in the delivery process. I've opened case CPANEL-11493 to have this corrected.


The fix for this case was published in v62.0.16

Replies have been locked on this page!