Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    87

    Default Tweak Settings, Default Address :fail: problems

    Hi,

    I have found a bug which I think should be addressed.

    In WHM, I have used the Tweak Settings to set all default addresses to :fail: on account creation.

    While this works on new accounts to the server.. It does not work properly when adding an add-on domain or sub-domain.

    To be more specific:

    Add-On Domain Creation
    fakedomain.com default address is set to USERNAME
    fakedomain.maindomain.com default address is set to :fail:

    Sub-Domain Creation
    subdomain.maindomain.com default address is set to USERNAME


    As you can see, only the sub-domain that is setup when adding an add-on domain is following the rules set in tweak settings.

    On my servers, I do not let clients edit the default address.. I have disabled the feature. I had problems with some ISP's blocking mail from my server when a client set the default address to their local ISP email account. The ISP blocks my server rather than the server the spammer sent the mail from.

    I also have an exim dictionary attack ACL installed, so spammers targetting a domain get blocked from the server. The dictionary attack ACL only works if the default address is set to :fail: and I really don't want to have to set this manually for every sub-domain and add-on domain added to the server.

    I have created a bug report here:
    http://bugzilla.cpanel.net/show_bug.cgi?id=5164

    Please vote on this bug so it gets addressed.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    1,931

    Default

    edit I concur
    Last edited by dalem; 02-11-2007 at 08:55 PM.
    Lowest Host/Empire Technology LLC
    Affordable hosting solutions http://empire-hosting.net
    List Your hosting site FREE in http://hostgeneration.com

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    3

    Default

    Bug Confirmed, it would be nice to see a fix.

  4. #4
    Member SageBrian's Avatar
    Join Date
    Jun 2002
    Location
    NY/CT (US)
    Posts
    386

    Default

    I just noticed this also.
    Now I've got some editing to do.

    Anyone have a script that can quickly set all the defaults to fail?

  5. #5
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Note - I'm not disputing the usefulness of setting the default address when creating addon and sub domains, just popping in here to clarify something.

    The tweak setting in question only applies to creation of cPanel accounts. Addon and sub-domains don't create cPanel accounts, therefore the tweak setting does not apply to them. As such this is not a bug but a request for feature expansion - making the setting apply to more than cPanel accounts.

  6. #6
    Member SageBrian's Avatar
    Join Date
    Jun 2002
    Location
    NY/CT (US)
    Posts
    386

    Default

    Quote Originally Posted by cpanelkenneth View Post
    Note - I'm not disputing the usefulness of setting the default address when creating addon and sub domains, just popping in here to clarify something.

    The tweak setting in question only applies to creation of cPanel accounts. Addon and sub-domains don't create cPanel accounts, therefore the tweak setting does not apply to them. As such this is not a bug but a request for feature expansion - making the setting apply to more than cPanel accounts.
    Good point about account versus sub-domains.
    However, since setting up a sub-domain (or parked) allows for email delivery to that domain, it would then follow that the default mail delivery settings should be in effect.
    You are, in essence, setting up a new mail address. And, it get's default settings from somewhere. Just not from the given tweak setting.

    One could therefore debate that it is, indeed, a bug. (new mail accounts setup using Park/Addon/Subdomains are not using proper Default Setting)

    Either way, it would be nice if the 'feature' was expanded.

    [this is not meant to be argumentative or disagreeable]

  7. #7
    Member
    Join Date
    Oct 2003
    Posts
    87

    Default

    Quote Originally Posted by SageBrian View Post
    Good point about account versus sub-domains.
    However, since setting up a sub-domain (or parked) allows for email delivery to that domain, it would then follow that the default mail delivery settings should be in effect.
    You are, in essence, setting up a new mail address. And, it get's default settings from somewhere. Just not from the given tweak setting.

    One could therefore debate that it is, indeed, a bug. (new mail accounts setup using Park/Addon/Subdomains are not using proper Default Setting)

    Either way, it would be nice if the 'feature' was expanded.

    [this is not meant to be argumentative or disagreeable]
    I have to agree with Brian on this one. It shouldn't be a hard change for cPanel to include in the next stable version.

    Brian, refer to this thread for a script to change defaults to :fail:
    http://forums.cpanel.net/showthread.php?t=30987

    Make sure to read the entire thread, there is an updated script later in the thread which you may want to use.

  8. #8
    Member
    Join Date
    Oct 2003
    Posts
    87

    Default

    Quote Originally Posted by SageBrian View Post
    I just noticed this also.
    Now I've got some editing to do.
    Care to share any edit's you have made before I possibly reinvent the wheel?

Similar Threads & Tags
Similar threads

  1. Default email address to :fail:
    By landmark in forum cPanel Developers
    Replies: 0
    Last Post: 10-16-2007, 12:22 PM
  2. Default Address Set to :fail:
    By bitwarrior in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-12-2006, 06:55 PM
  3. Replies: 2
    Last Post: 12-02-2004, 04:31 PM
  4. Tweak Settings: Default Jail Shell can be checked but can not be unchecked
    By mmkassem in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-27-2003, 12:20 PM
  5. Hard problems with Tweak Ftp Settings
    By equens in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-28-2002, 09:08 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube