Tazzman
01-12-2003, 12:47 PM
A search did come up with one or 2 things, but I still can't get it to pipe email into ticketsmith
Server is running Redhat 7.3 with Cpanel.
I'm trying to pipe all email sent to support@section5.net to ticketsmith.
I've edited /etc/valiases/section5.net to the following:
*: section5
support@section5.net: |/home/section5/public_html/cgi-bin/gateway.pl
Email does arrive in the support email que, but doesn't get piped. I have to use webmail to read it. Does anybody have any suggestions? I didn't restart anything after I made the changes, so maybe that is the problem?
The Prohacker
01-12-2003, 12:55 PM
support@section5.net: |/home/section5/public_html/cgi-bin/gateway.pl
*: section5
Think if it as order of operations... First you told it to send all email to the pop box section5, then have any mail for support goto the script, but all mail already went to section5....
Tazzman
01-12-2003, 01:23 PM
Hehe, thanks for clearing that up :)
I'll give it a try now.
Tazzman
01-12-2003, 01:38 PM
This message was created automatically by mail delivery software (Exim).
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/section5/public_html/cgi-bin/gateway.pl
generated by support@section5.net
Child process of virtual_address_pipe transport returned 69 (could mean
service or program unavailable) from command:
/home/section5/public_html/cgi-bin/gateway.pl
Figured it out. Had to chmod gateway.pl. It was set not to be executed :D
Tazzman
01-12-2003, 02:09 PM
One last little problem (everything is working, but if an email is sent, the following error email is sent back):
This message was created automatically by mail delivery software (Exim).
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/section5/public_html/cgi-bin/gateway.pl
generated by support@section5.net
The following text was generated during the delivery attempt:
------ pipe to |/home/section5/public_html/cgi-bin/gateway.pl
generated by support@section5.net ------
Possible unintended interpolation of @section5 in string at
/home/section5/public_html/cgi-bin/gateway.pl line 14.
From the gateway.pl file:
# send email report upon receipt (1 = yes, 0 = no)
$send_email_report = 0;
# address to send report to
$report_to_address = "admin@section5.net"; (---> this is line 14)
# report from address
$report_from_address = "support@section5.net";
Also, does anybody know any places that use ticketsmith together with an email form on their site? I'd just like to have a look how they have set the form up to work correctly with TS.
Tazzman
01-12-2003, 02:40 PM
Figured that one out too, missing \ in the email addies.
Found a new annoyance though. When replying to tickets, it leaves the from field blank: "" <>
I don't mind not beeing able to add staff, as it's only me answering the tickets, but I would like to put something in the from field of the reply. Can this somehow be done?