Gossamer Forum
Home : Products : Gossamer Links : Discussions :

sendmail and build errors

Quote Reply
sendmail and build errors
Hi.

I'm setting up the script on a UNIX machine.

First I get an error whenever sendmail is asked. I have the right path (/usr/sbin/sendmail) since I use the same in other cgi's that work fine.

The error is:


A fatal error has occured:
Unable to send mail: Unable to send email. Reason: Sendmail exited with an unknown exit status: 1 at .../cgi-bin/links/admin/Links/User/Add.pm line 171.


Please enable debugging in setup for more details.





Second I get an error 500 when I want to build all. It builds the pages, but there comes still an error and no results page as it is supposed to come i guess.

Do I have some settings wrong maybe?

Last edited by:

Jagerman: Apr 7, 2006, 5:39 PM
Quote Reply
Re: [lapinkulta] sendmail and build errors In reply to
Not sure about the first one, but the second one I think could be overcome by setting the 'use nph headers' variable (or similar) in the Setup > Build Options (I believe).

Hope that helps.

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] sendmail and build errors In reply to
i found the option nph_headers at Setup > Misc. Options
it was turned on by default, but i turned it off now and now build works.


can there any problems occur by not using nph_headers?

does anybody know about the sendmail problem.

thanks.

Last edited by:

Jagerman: Apr 7, 2006, 5:54 PM
Quote Reply
Re: [lapinkulta] sendmail and build errors In reply to
Hi,

No, using nph_headers off will not cause any problems.

As for sendmail, try switching to smtp and put localhost as the smtp server to use and see if that works.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] sendmail and build errors In reply to
Hi Alex,
"localhost" didn't work. Maybe because I'm running on a rented webspace. I tried the smtp server of the company and that works fine now.

I just wonder why sendmail doesn't work as I'm running a links flat file system on the same webspace (different domain) and that works fine with sendmail. Also all other cgis (shopping cart, formmail etc.) work fine with sendmail.

Thank you for your tip.

Last edited by:

Jagerman: Apr 7, 2006, 5:54 PM