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.

Automatically Delete Suspended User's Messages from Exim Queue

cPanelShosh shared this idea 11 years ago
Completed

There should be a mechanism for automatically deleting a suspended user's messages from the Exim queue at the time of suspension. If a user is suspended for spamming, their messages remain in the queue and can continue to be sent out.

Best Answer
photo

There's additional functionality that was released in v56 (which is in the CURRENT tier right now) in the suspend-account feature that now allows you to individually adjust the state of email addresses, separate of the cPanel account. Would that resolve this request in your mind?


https://documentation.cpanel.net/display/SDK/WHM+API+1+Functions+-+hold_outgoing_email

https://documentation.cpanel.net/display/SDK/WHM+API+1+Functions+-+release_outgoing_email

https://documentation.cpanel.net/display/SDK/WHM+API+1+Functions+-+suspend_outgoing_email

https://documentation.cpanel.net/display/SDK/WHM+API+1+Functions+-+unsuspend_outgoing_email

Replies (6)

photo
2

Thanks to Shoshana for posting this feature suggestion at my request and articulating it perfectly.


To expand upon it, I'm thinking that perhaps this should be a checkbox type option when a user account is suspended - thus, if an admin is suspending a user for spamming, it clears the queue of their messages; but if a user is being suspended for something like non-payment, then clearing the queue is probably not desirable.


And/or the default could also be set as a global option (Clear queue of messages from user when suspending account by default?)

photo
2

Only 2 people other than myself are interested in mitigating the impact of a spammer upon suspension? I'd expect this to be a very high priority - surprised it's not already standard protocol.

photo
1

Totally agree, I would expect this to happen as standard also, kind of shocked that it doesn't!

photo
1

it is very rare that we have to suspend accounts for spamming compared to suspending accounts for overdue invoices.

In case of overdue suspension I would not dis-service our clients by deleting his last 2 emails without him even knowing (after users press send, they consider mails sent, if we delete those emails it will be very hard to track)

there could be an optional setting to also empty email queue when manually suspending.

usually a billing system manages account suspensions and in those cases it would not be nice to delete mails

photo
1

its a good Idea, but I agree with freedomizer.

photo
1

There's additional functionality that was released in v56 (which is in the CURRENT tier right now) in the suspend-account feature that now allows you to individually adjust the state of email addresses, separate of the cPanel account. Would that resolve this request in your mind?


https://documentation.cpanel.net/display/SDK/WHM+API+1+Functions+-+hold_outgoing_email

https://documentation.cpanel.net/display/SDK/WHM+API+1+Functions+-+release_outgoing_email

https://documentation.cpanel.net/display/SDK/WHM+API+1+Functions+-+suspend_outgoing_email

https://documentation.cpanel.net/display/SDK/WHM+API+1+Functions+-+unsuspend_outgoing_email

Replies have been locked on this page!