PDA

View Full Version : Path to sendmail not working


Rodzilla
05-04-2003, 02:09 AM
I've got a perl script that uses sendmail to send out emails and it's not working quite right:

Can't exec "/usr/sbin/sendmail": No such file or directory at /home/seriouse/www/twiki/lib/TWiki/Net.pm line 202.


I checked CPanel and it said that /usr/sbin/sendmail was the path to sendmail, so what am I doing wrong?

Afkamm
05-07-2003, 12:56 PM
Is that a semi-colon I see at the end of the line? Oh wait, it's just outputted message saying what's wrong. Oh well :)


Marc :-)

littlestarweb
05-07-2003, 05:45 PM
Hmm, I'm having a similar problem, did you figure it out yet?

admin
05-07-2003, 05:58 PM
His problem was a problem with his implementation I believe due to the way he was setting up a cronjob if I recall correctly.

Rodzilla
05-07-2003, 11:08 PM
Try cd'ing into the directory of the script, and then executing the script.

i.e. (cd /home/seriouse/public_html/cgi-bin; ./mailnotify -q 2>&1)

SueInAtl
02-10-2007, 03:58 PM
I used scgi-bin and had no problem.