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!

Forward to /dev/null from Maintenance page

Discussion in 'General Discussion' started by deltan1844, Dec 30, 2004.

  1. deltan1844

    deltan1844 Member

    Joined:
    Dec 21, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Can a forwarder be set to redirect to /dev/null from the Forwarding Maintenance page?

    Every time I enter a path, C-Panel appends '@mydomain.com'. i.e. entering /dev/null results in redirection to /dev/null@mydomain.com -- which ends up in the default account.

    I can directly edit the /etc/valiases/mydomain.com file where I have shell access. Is there a special syntax that will work through C-Panel?

    Thanks in advance.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    You should simply use :fail: the alternative is :blackhole: which does the same as /dev/null, but the former (:fail:) uses the least server resources.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. deltan1844

    deltan1844 Member

    Joined:
    Dec 21, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Problem solved

    Thanks for the solution.

    deltan1844
     
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