Email suspension data location

dave_ddc

Registered
Aug 1, 2018
3
0
1
USA
cPanel Access Level
Root Administrator
I'm looking for the location of the data (files/database entries) that store email account suspension data (Log in/Receive/Send > Allow/Suspend/Hold). If you know where this data is stored, please let me know.

Thanks!
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,257
313
Houston
Hi @dave_ddc


That depends on the method you use to hold or suspend mail but if done through the cPanel UI at cPanel>>Email>>Email Accounts -> Manage Suspension. Mail that is suspended will be tracked in /home/$user/etc and held mail through the same UI in cPanel will create an email filter that holds outbound mail. The filter will be stored at /home/$user/etc/$domain.tld/$emailuser/filter


I hope this information helps


Thanks!
 

dave_ddc

Registered
Aug 1, 2018
3
0
1
USA
cPanel Access Level
Root Administrator
I am using the cPanel interface to manage suspensions. In that interface, there are three suspension options: Log in, Receive, Send (screenshot attached). Each option can be set to Allow or Suspend. When I select one of these choices, where is that individual preference stored? The 'filter' file referenced below contains the message returned when the account is accessed, e.g.:

# SUSPEND RECEPTION OF NEW MESSAGES
fail "This email account's owner has suspended delivery for the account."

However, the 'filter' file contains no indication of the individual preferences for Log in, Receive and Send. My goal is to create a server script that collects those three values and generates a report for all email accounts, so I need more than the failure message contained in the 'filter' file. I can easily obtain all of the email addresses for that report, but I still need to know how to access these three individual suspension preferences.

Thanks!

Hi @dave_ddc


That depends on the method you use to hold or suspend mail but if done through the cPanel UI at cPanel>>Email>>Email Accounts -> Manage Suspension. Mail that is suspended will be tracked in /home/$user/etc and held mail through the same UI in cPanel will create an email filter that holds outbound mail. The filter will be stored at /home/$user/etc/$domain.tld/$emailuser/filter


I hope this information helps


Thanks!
 

Attachments