Results 1 to 10 of 10

Thread: Email Piping

  1. #1

    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?

  2. #2
    Join Date
    Oct 2002
    Location
    /roof/ledge
    Posts
    28,088
    |/home/username/public_html/cgi-bin/include/email.cgi

    (dont' forget the "pipe") |

  3. #3
    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

  4. #4
    Join Date
    Oct 2002
    Location
    /roof/ledge
    Posts
    28,088
    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.

  5. #5
    ok great.. thanks

  6. #6
    No, I have tried it, it doesnt seem to work...

  7. #7
    Join Date
    Oct 2002
    Location
    /roof/ledge
    Posts
    28,088
    Not sure what to say. This method worked perfectly for me.

  8. #8
    Join Date
    Oct 2002
    Location
    /roof/ledge
    Posts
    28,088
    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"

  9. #9
    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.

  10. #10
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •