The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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.
     
  3. deltan1844

    deltan1844 Member

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

    Thanks for the solution.

    deltan1844
     
Loading...

Share This Page