Supended email account is still able to send emails

timesurfer

Well-Known Member
Apr 16, 2019
67
13
8
Portugal
cPanel Access Level
Root Administrator
Hi,

I've suspended an email account, but the suspension is not working.

The suspension was only:
- Sending Outgoing Email

What can I do in order to prevent it from sending emails?

Note:
I want the account to be able to read emails
 

timesurfer

Well-Known Member
Apr 16, 2019
67
13
8
Portugal
cPanel Access Level
Root Administrator
The email is sent from webmail client.
The user in question logs in, into the webmail, sees the emails in the inbox and can reply to them.

Funny thing is that a 2 days ago, when I initially created a couple of test users, it was working well (the test users couldn't send or reply to received emails).
Only today I noticed this wasn't working, after I created another user.

I have created some filters in:
cpanel_exim_system_filter2
However, if I delete those filters I created in there, and restart Exim, it doesn't solve this issue.
 

keat63

Well-Known Member
Nov 20, 2014
1,959
266
113
cPanel Access Level
Root Administrator
Hasn't this been noted on here before where a user would need to logout to invoke the suspension.
Or did I dream this ?

If this is indeed the case, then would restarting exim cause a logout ?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,274
1,285
313
Houston
There isn't a need to logout for this to be affected @keat63


I checked in on this ticket and found that the issue was that the "Suspend Outgoing Mail" is only suspending outgoing mail for remote deliveries - local deliveries aren't being suspended and this is by design - the behavior was only to prevent mail from leaving the actual server. In this case, local deliveries were still occurring but remote deliveries were indeed suspended and not able to be sent.
 

timesurfer

Well-Known Member
Apr 16, 2019
67
13
8
Portugal
cPanel Access Level
Root Administrator
I checked in on this ticket and found that the issue was that the "Suspend Outgoing Mail" is only suspending outgoing mail for remote deliveries - local deliveries aren't being suspended and this is by design - the behavior was only to prevent mail from leaving the actual server. In this case, local deliveries were still occurring but remote deliveries were indeed suspended and not able to be sent.
Yes, this was what happened.

But, I was able to also prevent local delivery by using filters:

if $sender_address: contains "your-keyword-here"
then
fail text "This email account is not aloud to send emails"
seen finish
endif
 
  • Like
Reactions: cPanelLauren