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!

'catch all' email forwarder - fwd to me AND bounce back as 'No such address'

Discussion in 'E-mail Discussion' started by bauhau, Sep 1, 2005.

  1. bauhau

    bauhau Registered

    Sep 1, 2005
    Likes Received:
    Trophy Points:
    :eek: Hi,
    I am setting up my email with cPanel. I want to set the 'catch all' email forwarder -this is the one that handles mail sent to all unknown accounts at your domain,
    eg i have, and i want any mail sent to, to BOTH
    1)forward it to me, just in case it's a legit email someone spelt wrong, and
    2)bounce the mail back to the sender saying 'no such account', so that if it is a spammer, they don't record a success against that email and start sending more.

    -I can achieve 1 by specifying a forwarding address. It also says that if I want to forward to more than one address, separate the addresses with a comma. No worries.

    -I can achieve 2 by putting ":fail: no such address here" as the forwarding address.

    I tried putting my forwarding address, then a comma, then ":fail: no such address here",
    but that doesn't work. eg. ",:fail: no such address here"
    I also tried it round the other way.

    Anyway, in case you haven't guessed, I would love to be able to both forward the mail, AND bounce it back to the sender.

    If anyone could tell me if/how this is possible, I blow you all the kisses you like.

    Any help much appreciated.
  2. chirpy

    chirpy Well-Known Member

    Jun 15, 2002
    Likes Received:
    Trophy Points:
    Go on, have a guess
    I'm not aware of any way of doing that with the cPanel configuration. The main problem is doing it at the RCPT stage of the email, so you would probably have to look into a custom exim ACL or similar.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. abubin

    abubin Well-Known Member

    Dec 7, 2004
    Likes Received:
    Trophy Points:
    for catch-all, you need to put in the "default address" the address you want mails to be forwarded or deleted.

    For the mail forwarding, you can't actually put in a few addresses seperated by comma. I have tried that before and it doesn't work. Forwarding can only allow forward to 1 account. Maybe I didn't test it properly but it didn't work for me.

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