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 cpanel user emails

Discussion in 'E-mail Discussion' started by benito, Jan 20, 2010.

  1. benito

    benito Well-Known Member

    Joined:
    Jan 8, 2004
    Messages:
    322
    Likes Received:
    4
    Trophy Points:
    168
    Location:
    Mar del Plata - Argentina
    In my cpanel user email account i got all bounces from mails sent by php mail() function. There is any way to foraward all those emails to another address?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    Kindly check the error logs for the exact error message. You can get the error logs at /var/log/exim_mainlog. Moreover, you can set the forwarder by login to your cPanel account. Below mentioned are the steps to set the forwarder:

    1. Login to your cPanel account.
    2. Click on Mail icon.
    3. Click on Email Forwarding.
    4. Set the email forwarding for the particular email address and save.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. benito

    benito Well-Known Member

    Joined:
    Jan 8, 2004
    Messages:
    322
    Likes Received:
    4
    Trophy Points:
    168
    Location:
    Mar del Plata - Argentina
    Thanks but the problem its that the default account username email address is not in the list. :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    870
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    Use a .forward file. Just place a file named .forward in the user's home dir, with the address you want mail fwd'ed to on one line.
     
  5. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,156
    Likes Received:
    40
    Trophy Points:
    178
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    A better solution would be to set the return-path in your php script. This is done with the -f parameter. Google it -- lots of help online.

    - Scott
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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