Results 1 to 8 of 8

Thread: Can't get email to pipe to perl script?

  1. #1
    Registered Member
    Join Date
    Aug 2003
    Posts
    14

    Question Can't get email to pipe to perl script?

    I have tried everything and I cannot seem to get an email to pipe to a perl script?

    cPanel.net Support Ticket Number:

  2. #2
    Registered Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default

    Edit: /etc/valiases/domain.com
    Add: user@domain.com: "|/path/to/perl/script/file.pl"

    cPanel.net Support Ticket Number:

    The rest of those who have gone before us cannot steady the unrest of those to follow.

  3. #3
    Registered Member
    Join Date
    Aug 2003
    Posts
    14

    Default

    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. #4
    Registered Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default

    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:

    The rest of those who have gone before us cannot steady the unrest of those to follow.

  5. #5
    Registered Member
    Join Date
    Aug 2003
    Posts
    14

    Default

    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. #6
    Registered Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default

    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:

    The rest of those who have gone before us cannot steady the unrest of those to follow.

  7. #7
    Registered Member
    Join Date
    Jun 2003
    Posts
    128

    Default

    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. #8
    Registered Member
    Join Date
    Aug 2003
    Posts
    14

    Unhappy

    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:

Similar Threads

  1. pipe email problem from php script
    By isputra in forum E-mail Discussions
    Replies: 14
    Last Post: 06-20-2008, 07:05 AM
  2. Cpanel 11 can't Pipe to script for email forwarding
    By rfresh in forum E-mail Discussions
    Replies: 0
    Last Post: 03-12-2008, 12:14 AM
  3. Replies: 0
    Last Post: 04-21-2005, 10:56 AM
bargain