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!

Piping email to script question.

Discussion in 'E-mail Discussion' started by SosyMe, Jun 7, 2010.

  1. SosyMe

    SosyMe Registered

    Joined:
    Jun 7, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    I do not want to forward email, but rather just add it to a queue and also receive it at the email address. I understand I probably have to use forwards.

    Should I add two forwards:

    email@domain : | php -q -n /home/USERNAME/public_html/SCRIPT.php
    email@domain : email@domain

    Or is there a better way to do it?

    Thanks.
     
    #1 SosyMe, Jun 7, 2010
    Last edited: Jun 7, 2010
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    829
    Likes Received:
    26
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    You should create an email address AND a forwarder, so the email is delivered to the inbox and piped to the program.
     
    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