Results 1 to 10 of 10
Thread: Email Piping
-
06-07-2004, 02:14 PM #1Aspiring Evangelist
- Join Date
- Apr 2004
- Posts
- 362
Email Piping
Hey guys, I don't know if this is in the right forum, but please move it if it isn't.
Anyway, I need some help.
I have just got perldesk, and want to setup email for perldesk. I need to pipe email addresses, so that emails sent to the email addresses will submit as tickets.
I have tried every idea I can think of, using mail forwarders to paths such as
/home/******/public_html/cgi-bin/include/email.cgi
cgi-bin/include/perldesk
etc
I just can't figure out how to do it, any help?
-
06-07-2004, 02:31 PM #2
|/home/username/public_html/cgi-bin/include/email.cgi
(dont' forget the "pipe") |
-
06-07-2004, 02:37 PM #3Aspiring Evangelist
- Join Date
- Apr 2004
- Posts
- 362
Ok, and this goes into an email forwarder through CPanel or through ssh? As it also asks me to add some extra lines in my exim "domain" file
-
06-07-2004, 02:40 PM #4
Just use the Cpanel "forwarder" to set it up. The extra lines in Exim are for special circumstances, AFAIK, and wasn't needed for mine to work properly.
-
06-07-2004, 02:41 PM #5Aspiring Evangelist
- Join Date
- Apr 2004
- Posts
- 362
ok great.. thanks
-
06-07-2004, 02:44 PM #6Aspiring Evangelist
- Join Date
- Apr 2004
- Posts
- 362
No, I have tried it, it doesnt seem to work...
-
06-07-2004, 02:57 PM #7
Not sure what to say. This method worked perfectly for me.
-
06-08-2004, 08:27 PM #8
Ahh, I'm an idiot (ask anyone).
Use the filter like I'd suggested, but enclose the whole string in double quotes. Been a while and I forgot that part..
"|/home/user/path/script"
-
06-09-2004, 05:20 AM #9Aspiring Evangelist
- Join Date
- Apr 2004
- Posts
- 362
It doesn't matter now, I have done it anyway, I did use the filter, that is the correct method.
I also needed to ssh into my server, and into exim add a few lines.
-
06-09-2004, 08:28 PM #10Aspiring Evangelist
- Join Date
- Aug 2002
- Location
- Hong Kong
- Posts
- 417
how the script accepts the email body in this way?
by STDIN?
i would also like to pipe every email first to a script to append the email body or header
thanks