Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Email suspension data location

Discussion in 'E-mail Discussion' started by dave_ddc, Aug 1, 2018.

  1. dave_ddc

    dave_ddc Registered

    Joined:
    Aug 1, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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!
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,838
    Likes Received:
    276
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dave_ddc

    dave_ddc Registered

    Joined:
    Aug 1, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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!

     

    Attached Files:

  4. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,838
    Likes Received:
    276
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. dave_ddc

    dave_ddc Registered

    Joined:
    Aug 1, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Woo hoo! Just what I needed. Thanks so much!
     
  6. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,838
    Likes Received:
    276
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Perfect! I'm glad that helped! You're very welcome.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice