Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Jul 2003
    Posts
    118

    Default Cpanel mail account problem

    Hi

    We had problems las few days width an account because the cpanel allow creation of virtual mail accounts with same name of the virtual user they didn't received some mails where they looked for because they where at the other inbox.
    The situation was the user fundorg created a fundorg@domain.org then tried to log in fundorg@domain.org but some mails where delivered to fundorg@domain.org and some others were delivered to fundorg, the unix user..... So they had a big confusion. We solve the problem deleting the virtual mail user.

    It's possible to avoid creation of mail users with same ID of the main account?
    Is there a logical reason to allow this?

    This is our WHM/Cpanel info
    WHM 9.4.0 cPanel 9.4.1-S65
    RedHat 9 - WHM X v3.1.0

    Thanks

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    There is a very good reason for allowing it, though it's a little complex. It has to do with the way cPanel has implemented exim and the way the default (catchall) alias works. If you disable the catchall alias (setting it to :fail then the main account will no longer receive email and you need to create a user called mainaccount@domain.com.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Jul 2003
    Posts
    118

    Default

    Thanks for your anwser, but
    aren't server notifications (like disk quota or mail failure) always sent to the main user? is this so no mater the catch all account?
    And can cpanel check if the case tha catch all is set to fail? maybe what is need is just a warning?

    We spent some time just to notice what was going on.
    Last edited by gflamerich; 09-08-2004 at 11:14 AM.

  4. #4
    Member
    Join Date
    Jun 2004
    Location
    Jonesboro, AR
    Posts
    15

    Default

    Hey,
    Sorry to bring an old thread back from the dead but we're using the fail rules on all of our accounts because like it was pointed out, it saves bandwith/CPU/frustration. The problem is, once we set :fail: for every account they can no longer recieve email on the main account without adding the alias to /etc/valiases/domain.com. CPanel won't let the alias be added thru it's GUI and there's no way to let each user edit their own valias file. So for every new account we have to add an alias by hand, correct?
    Michael Chase
    Clear-Data Internet Services - Inexpensive website, reseller, and game server hosting.

  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Yes, unfortunately. It's the way that the virtual user setup works that cPanel has implemented. If the Default Address is set to :fail: then the main user account will no longer function and you need to create a virtual user with the same name but within the domain it is on, i.e. account@domain.com
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  6. #6
    BANNED racomnet's Avatar
    Join Date
    Oct 2004
    Posts
    69

    Default ???

    From what I read it's like that. If I want some account to have fail
    Now I have
    /etc/valiases/domain.com
    and this file have

    *: domain

    I have to change this file with something like
    :fail: domain@domain.com
    And I have to make the mail with domain@domain.com

  7. #7
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Well, if you want to change the valiases file directly (instead of simply using cPanel) then the catchall alias set to :fail: would look like:

    *: :fail: No such user here
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Problem with e-mail account
    By pavs in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-09-2008, 02:10 AM
  2. New Account Creation - Mail problem
    By mruncieman in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 06-11-2007, 06:52 PM
  3. Mail Account Maintenance problem!
    By filosofos in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-27-2005, 10:01 AM
  4. Main Mail Account problem
    By simonlee in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-07-2004, 02:00 PM
  5. Problem with mail after account copy
    By abmad in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-05-2003, 04:38 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube