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!

Email Alias to a Script Problem

Discussion in 'E-mail Discussion' started by sergiolobo, Jan 28, 2004.

  1. sergiolobo

    sergiolobo Registered

    Joined:
    Jan 9, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    Hello,

    I need to be able to send emails to an email address (something like myaddress@mydomain.com) and have it delieved to a script (NOT TO A MAILBOX).

    I tried to use /etc/alias and home/{someuser}/.forward but those approaches did not work. I already have the Python script to handle pipes. All I need is: Where should I put it?

    Thanks in advance,
    Sergio
     
  2. Daniel

    Daniel Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    316
    Put it in the /etc/valiases/domain.com file.

    It should look something like this:

    address@domain.com: "|/path/to/script",forwardadd@domain.com
     
    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