Solved

formmail on Cbeyond server

Posted on 2009-05-12
5
548 Views
Last Modified: 2013-12-25
I'm trying to use formmail on a website hosted by Cbeyond. I can't get past this error: Application Error
An error has occurred in the program
Can't open mailprog [/usr/lib/sendmail -oi -t]
The error in the in the script_error.log is " Can't exec "/usr/lib/sendmail": No such file or directory at /usr/local/lib/perl5/5.8.4/i386-freebsd/IO/File.pm line 176.
I've attached the FormMail.pl renamed and saved as a .txt file


FormMailFORee.pl.txt
0
Comment
Question by:bwierzbicki
  • 2
  • 2
5 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 24370804
From memory BSD systems have sendmail in /usr/bin/sendmail
0
 

Author Comment

by:bwierzbicki
ID: 24370834
got the same error, except it references the new path. Can't exec "/usr/bin/sendmail": No such file or directory at /usr/local/lib/perl5/5.8.4/i386-freebsd/IO/File.pm line 176.
0
 
LVL 48

Accepted Solution

by:
Tintin earned 250 total points
ID: 24371091
Do you have command line access on the server?  If so, do

which sendmail

and if that doesn't come up with anything, do

find / -name sendmail 2>/dev/null

It's also possible, sendmail isn't installed on your system and you have something else like postfix or qmail.
0
 
LVL 39

Assisted Solution

by:Adam314
Adam314 earned 250 total points
ID: 24371509
Contact your admin, and ask them the location of sendmail.
0
 

Author Closing Comment

by:bwierzbicki
ID: 31580808
thanks for your comments
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now