Can't get email to pipe to perl script?

timvie

Member
Aug 15, 2003
14
0
151
I have tried everything and I cannot seem to get an email to pipe to a perl script?

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,051
0
166
Edit: /etc/valiases/domain.com
Add: [email protected]: "|/path/to/perl/script/file.pl"

cPanel.net Support Ticket Number:
 

timvie

Member
Aug 15, 2003
14
0
151
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:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,051
0
166
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:
 

timvie

Member
Aug 15, 2003
14
0
151
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:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,051
0
166
You can pipe email to a script via the default address no problem. You won't receive a copy unless you add ",[email protected]" after the pipe info.

cPanel.net Support Ticket Number:
 

MySundown

Well-Known Member
Jun 2, 2003
128
0
166
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:
 

timvie

Member
Aug 15, 2003
14
0
151
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: