#1 (permalink)  
Old 01-15-2006, 04:15 AM
Registered User
 
Join Date: Nov 2001
Posts: 107
acer2k
Perl Scripts can't send email!

My perl scripts can't send outgoing e-mail.. I am installing PerlDesk and piping e-mail to the script. It dies saying:

------ pipe to |/home/ahvio/public_html/desk/include/email.cgi
generated by support@ahvio.com ------

couldn't send the message: at /home/ahvio/public_html/desk/include/email.cgi line 33


Exim log says:

2006-01-15 03:03:46 1Ey3nd-0005LL-0N <= mhale@ahvio.com H=(matthewtrnb50q) [72.169.176.122] P=smtp S=1309 id=01d601c619b2$97981f40$9865fea9@matthewtrnb50q
2006-01-15 03:03:47 1Ey3nd-0005LL-0N ** |/home/ahvio/public_html/desk/include/email.cgi (support@ahvio.com) <support@ahvio.com> R=virtual_aliases_nostar T=virtual_address_pipe: Child process of virtual_address_pipe transport returned 255 (could mean shell command ended by signal 127 (Unknown signal 127)) from command: /home/ahvio/public_html/desk/include/email.cgi
2006-01-15 03:03:47 1Ey3nf-0005Lp-Ou <= <> R=1Ey3nd-0005LL-0N U=mailnull P=local S=2447
2006-01-15 03:03:47 1Ey3nd-0005LL-0N Completed



I made sure the 'Don't allow nobody to send mail' tweak is turned OFF. I tried doing a force exim update. Didn't help. Any suggestions?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-15-2006, 10:53 AM
Registered User
 
Join Date: Oct 2003
Posts: 1,742
dalem is on a distinguished road
set the path information

for mods , conf.cgi, and en.inc

on line 33 of email.cgi
__________________
Lowest Host/Empire Technology LLC
Affordable hosting solutions http://lowesthost.com
VPS solutions http://empire-hosting.net/vpsspecial.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-15-2006, 10:54 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
Sounds like the CGI script is throwing out an error. Firstly, check with logicnow as they will probably have a solution on their forums. If not, try manually piping an email into the script from shell and watch for errors. You can do that by pasting a complete internet email (with full headers) into a text file and then:

/home/ahvio/public_html/desk/include/email.cgi < /path/to/mail/file.txt
__________________
Jonathan Michaelson
cPanel Forum Moderator

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:07 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc