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

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

  1. benito

    benito Well-Known Member

    Joined:
    Jan 8, 2004
    Messages:
    296
    Likes Received:
    1
    Trophy Points:
    18
    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?
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    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.
     
  3. benito

    benito Well-Known Member

    Joined:
    Jan 8, 2004
    Messages:
    296
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Mar del Plata - Argentina
    Thanks but the problem its that the default account username email address is not in the list. :(
     
  4. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    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,126
    Likes Received:
    21
    Trophy Points:
    38
    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
     
Loading...

Share This Page