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.

Email Alias to a Script Problem

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

  1. sergiolobo

    sergiolobo Registered

    Joined:
    Jan 9, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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:
    16
    Put it in the /etc/valiases/domain.com file.

    It should look something like this:

    address@domain.com: "|/path/to/script",forwardadd@domain.com
     
Loading...

Share This Page