Email suspension data location
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!
-
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! 0 -
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!
0 -
Hi @dave_ddc The UAPI function referenced in this thread may be useful for you Thanks! 0 -
Woo hoo! Just what I needed. Thanks so much! 0 -
Perfect! I'm glad that helped! You're very welcome. Thanks! 0
Please sign in to leave a comment.
Comments
5 comments