[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Sendmail / SMTP



Dear Cobalt Users,

I am experiencing a lot of difficulties getting my cgi scripts (perl) to
send out emails from my Raq4i.

I'm currently trying this script: (Big Nose Bird form processor -
http://www.bignosebird.com/carchive/bnbform.shtml).

This script seemed to be working for a while (perl path etc is all correct,
I've checked it), but wasn't sending out emails.

It now doesn't work at all !

The script can apparently use sendmail OR SMTP, but not both.

In SMTP mode, the SMTP server variable is set to 'localhost'
     - this fails, with an SMTP error returned from the script.

In sendmail mode, the sendmail path is set to "/usr/sbin/sendmail -t"
     - here, the script itself fails to run.

I would very much appreciate any help / advice on this.

N.B. I've checked my perl path ( #!/usr/bin/perl at top of file) and am
using correct permissions etc. The script has been uploaded by admin user
(I know this isn't a good idea, but I'm just testing right now!)

Thanks very much,
Ben Peters