1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can't get email to pipe to perl script?

Discussion in 'E-mail Discussions' started by timvie, Aug 17, 2003.

  1. timvie

    timvie New Member

    Joined:
    Aug 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I have tried everything and I cannot seem to get an email to pipe to a perl script?

    cPanel.net Support Ticket Number:
     
  2. ciphervendor

    ciphervendor Active Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Edit: /etc/valiases/domain.com
    Add: user@domain.com: "|/path/to/perl/script/file.pl"

    cPanel.net Support Ticket Number:
     
  3. timvie

    timvie New Member

    Joined:
    Aug 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I am just a user on a shared server is this something the admin has to do I do not have that folder on my cpanel?

    cPanel.net Support Ticket Number:
     
  4. ciphervendor

    ciphervendor Active Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    You can do it if you have shell access. If not, email support and ask them to pipe mail to x user into x script.

    cPanel.net Support Ticket Number:
     
  5. timvie

    timvie New Member

    Joined:
    Aug 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    One last question can I pipe the default email address and if I can will it only send the emails to the script or will I receive a copy also?

    cPanel.net Support Ticket Number:
     
  6. ciphervendor

    ciphervendor Active Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    You can pipe email to a script via the default address no problem. You won't receive a copy unless you add ",user@domain.com" after the pipe info.

    cPanel.net Support Ticket Number:
     
  7. MySundown

    MySundown Member

    Joined:
    Jun 2, 2003
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    16
    You don't need ssh access. You can set it up through cpanel. Just setup a fowarder to |/path/to/perl/script/file.pl and it'll be piped fine :)

    cPanel.net Support Ticket Number:
     
  8. timvie

    timvie New Member

    Joined:
    Aug 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I tried that with a .forward file and putting it into a forwarder in the cpanel UI but with no luck? When I first set up my account I did not have an etc folder in my username folder. I talked with my hosting provider and they were looking into it. Now an etc folder has showed up but I noticed that I do not have an vfilters folder under it? Could this be the problem? They are using cPanel Build 7.4.2-RELEASE 81.

    cPanel.net Support Ticket Number:
     

Share This Page