Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2003
    Location
    Romania
    Posts
    25

    Default Defined email addresses file/db location

    Hello,

    Where should I look for the email addresses defined in cPanel? Is there a file or a db where they are all listed? I know there is the /home/user/mail/domain folder that contains the new/ cur/ etc folders. I don't mean this. I mean where does cPanel records the email addresses created for a domain/account?

    And now why I am asking this: I have a customer that did something (I am not sure what) and now besides all the valid emails, there is one weird @domain.com address (it simply appers like that above all the valid email addresses). No user before @. Just @domain.com. Where should I look for it and delete that leftover?

    Regards!

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Quote Originally Posted by AndyB78 View Post
    No user before @. Just @domain.com. Where should I look for it and delete that leftover?
    To clarify, is this seen as an e-mail forwarder or an e-mail account?

    There is a YAML file that contains a list of the current e-mail accounts, but care should be taken if attempting to edit it so as to preserve the syntax and format of the data without introducing corruption. The file is stored in a path like the following example (where "username" is the cPanel account username):
    Code:
    /home/username/.cpanel/email_accounts.yaml
    Please save a fresh backup before attempting any modification, so that there is something to revert to if the need arises; via root SSH access, a command such as the following will save a backup copy (where "username" is the cPanel account username):
    Code:
    # cp -pv /home/username/.cpanel/email_accounts.yaml /home/username/.cpanel/email_accounts.yaml.backup

  3. #3
    Member
    Join Date
    Oct 2003
    Location
    Romania
    Posts
    25

    Default

    Hello Don,

    Thanks - it worked!

    By the way...it was an email account not a forwarder.

    Best Regards!

Similar Threads & Tags
Similar threads

  1. Enable Cpanel Users to block email from defined IP addresses?
    By diesel12 in forum E-mail Discussions
    Replies: 3
    Last Post: 10-29-2009, 07:45 PM
  2. exporting email addresses from mailmain, or the file that has them?
    By myusername in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-04-2005, 11:39 PM
  3. Accessing script to list e-mail addresses in remote location
    By stompeers in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-20-2004, 07:34 PM
  4. Error: LogFile parameter is not defined in config/domain file
    By myusername in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-13-2004, 07:39 PM
  5. email and user-defined passwords
    By cyanide in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-19-2004, 02:52 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube