Gossamer Forum
Home : Products : Gossamer Links : Discussions :

sendmail problems

Quote Reply
sendmail problems
Hi, I've seen this problem in the forums a few years back and the only solution was to use SMTP instead of sendmail. Basically what happens if someone tries to add, modify or request their pasword be sent I get the following error:

Code:

A fatal error has occured:
Unable to send message: Unable to send email: Sendmail exited with an unknown exit status: 1 at /home/aeroseek/public_html/cgi-bin/admin/Links/User/Login.pm line 228.
Please enable debugging in setup for more details

A look at my server error logs reveals the following:

Code:
sendmail: sendmail cannot be called directly from a shell with the current user id

Anyone have an idea on how to fix this?


Jack R.
http://www.aeroseek.com/
Quote Reply
Re: [aeroseek] sendmail problems In reply to
    The problem is mod_perl. Once I disabled it sendmail works just fine. Disabling mod_perl also fixed another problem where Glinks updates could not complete because of "permission denied" errors. I wish I knew more about mod_perl so I could tweak the configs.
Jack R.
http://www.aeroseek.com/
Quote Reply
Re: [aeroseek] sendmail problems In reply to
    Like I said, the problem was mod_perl. I finally figured out how to fix it. In my httpd.conf file on the server I needed to change the User/Group that httpd runs as to the user/group that owns Glinks. Sheesh....

Now sendmail and Glinks updates work like magic!
Jack R.
http://www.aeroseek.com/