Forum Moderators: coopster & phranque

Message Too Old, No Replies

forwarding rule for email to pipeline script

pipeline forwarding script

         

neoonprowl

9:34 am on Sep 17, 2007 (gmt 0)

10+ Year Member



Hello,

I am using eticket open source application on my server.

and i have created one email to handle helpdesk emails.

helpdesk@mydomain.com

and as on configuration instruction of eticket its written their :

The Pipe/Alias method (recommended)

Using this method requires the "automail.pl" (automail perl script).

Notice: If you DO USE the pipe method, you DO NOT require a POP3 email account.

* Make sure the path to perl on line 1 is correct
* Make sure the %config array has the correct mailprog/sendmail path, and mysql settings (which should have changed after running the install process)
* Make sure you upload automail.pl in ascii mode (it may need to be in your cgi-bin) and CHMOD it to 755

Setting up aliases in cPanel:
Add a forwarding rule for each email in each of the setup categories to automail.pl. For example forward [email]support@example.com[/email] to "¦/path/to/automail.pl" (Without the quotes)

I have done exactly as per the instruction but if i email to [email]helpdesk@mydomain.com[/email] its get bounce back.

I tried : -
[LIST=1]

  • ¦/path/to/automail.pl
  • ¦/home/user/public_html/support/automail.pl
  • ¦/home/user/public_html/support/path/to/automail.pl
    [/LIST]

    But its not working please suggest.

    Thanks[

  • SeanW

    2:37 pm on Sep 17, 2007 (gmt 0)

    10+ Year Member



    What does the bounce say?
    Try to run the perl script from the command line, see if it even works. Make sure it's in UNIX format, it points to the right perl interpreter, and that it's marked as an executable (chmod +x automail.pl)

    Sean

    neoonprowl

    3:23 pm on Sep 17, 2007 (gmt 0)

    10+ Year Member



    Error message which i received is : -

    This message was created automatically by mail delivery software.

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es)
    failed:

    pipe to ¦/home/user/public_html/cgi-bin/automail.pl
    generated by helpdesk@mydomain.com
    local delivery failed

    Thanks

    SeanW

    3:46 pm on Sep 17, 2007 (gmt 0)

    10+ Year Member



    Try without the pipe. Also check the other things I mentioned to make sure the server can run the script properly.

    Sean

    neoonprowl

    4:27 pm on Sep 17, 2007 (gmt 0)

    10+ Year Member



    how to run perl script from the command line, Please let me know

    perl_diver

    5:08 pm on Sep 17, 2007 (gmt 0)

    10+ Year Member



    is this a cpanel question or a perl question? Did you have to istall some perl scripts?

    neoonprowl

    5:31 pm on Sep 17, 2007 (gmt 0)

    10+ Year Member



    I wanna configure mail forwarding through pipeline to my script.

    neoonprowl

    7:52 pm on Sep 17, 2007 (gmt 0)

    10+ Year Member



    Hello,

    I am using eticket open source application on my server.
    and i have created one email to handle help desk emails.
    helpdesk@mydomain.com

    Instruction from Eticket:-

    Setting up aliases in cPanel:

    Make sure the path to perl on line 1 is correct
    Make sure the %config array has the correct mailprog/sendmail path, and mysql settings (which should have changed after running the install process)
    Make sure you upload automail.pl in ascii mode (it may need to be in your cgi-bin) and CHMOD it to 755

    Add a forwarding rule for each email in each of the setup categories to automail.pl. For example forward support@example.com to "¦/path/to/automail.pl" (Without the quotes)

    I have done everything as per the instruction and I am using automail.pl from the latest eTicket, under cPanel, using the pipe. It is working exactly as intended. However, all of the emails sent to helpdesk@mydomain.com comes to my POP3 inbox but not forwarded to my support ticket system (eTicket).

    I get bounce back error : -

    This message was created automatically by mail delivery software.

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es)
    failed:

    pipe to ¦/home/user/public_html/path/to/cgi-bin/automail.pl
    generated by helpdesk@mydomain.com
    local delivery failed

    Please suggest

    Thanks