The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Perl Scripts can't send email!

Discussion in 'E-mail Discussions' started by acer2k, Jan 15, 2006.

  1. acer2k

    acer2k Well-Known Member

    Joined:
    Nov 12, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    set the path information

    for mods , conf.cgi, and en.inc

    on line 33 of email.cgi :cool:
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    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
     
Loading...

Share This Page