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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

send email via PERL - process bounces

Discussion in 'E-mail Discussions' started by forlinuxsupport, Jun 6, 2007.

  1. forlinuxsupport

    forlinuxsupport Well-Known Member

    Dec 22, 2004
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    hey guys

    I have a problem.

    A client sends emails out via a perl script. It works fine. The problem is if the emails go to a non-existent address they will bounce back to. So far so good.

    The problem is they bounce back to the address "" - which exim sets automatically.

    That works fine as it goes into the "Domain-user's" mailbox.

    If I try use filtering rules they dont work, I think the reason is because its has "".

    I need to be able to set the address they will bounce back to, which is the "Return-Path"
    I want to set it to ""

    If I use PHP, I can set the "Return-Path" fine using the -f flag.
    But I can't seem to get PERL to set the Return-Path flag.

    Does anyone know how I can do that with cpanel / exim ?
    or do I have to use PHP ?


Share This Page