Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

/usr/lib/sendmail "It used to work. :-(

Quote Reply
/usr/lib/sendmail "It used to work. :-(
I had some problems and had to re-install the files again, mostly out of frustration.
The mail used to get sent when validating, I know because I was entering my mail address. Now I don't receive any mail as the Admin nor does the program send any to the user when validating is complete.

I did not edit linkscfg so nothing was changed there and I verified links.cfg settings again and here they are:
# PATH of sendmail. # SMTP Server
$db_mail_path = '/usr/lib/sendmail'; $db_smtp_server = '';

# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'office@eastcoastweb.com';

# Notify visitors automatically when their links are validated?
$db_email_add = 1;

# Notify visitors automatically when their links are modified?
$db_email_modify = 1;

Heres the error I get when validating:

CGI ERROR==========================================
Error Message : Unable to init mailer! Reason: Sendmail was not defined or not found: /usr/lib/sendmail
Script Location : /usr/u1/dcds/www/cgi-bin/links/admin/admin.cgi
Perl Version : 5.00302Form Variables
-------------------------------------------5 : validate
Category-5 : Independent_Living_Centers
Contact Email-5 : office@eastcoastweb.comContact Name-5 : Dave
Date-5 : 19-Apr-1999
Description-5 : The Center for Independent Living of Central Pennsylvania (CILCP) is a nonprofit, nonresidential organization established for and by people with disabilities. To empower people with disabilities to fully participate in all aspects of society is the guiding principle of the CILCP.
Hits-5 : 0ID-5 : 5Rating-5 : 0
ReceiveMail-5 : Yes
Title-5 : The Center For Independent Living of Central Pennsylvania
URL-5 : http://www.cilcp.orgVotes-5 : 0
db : linksisNew-5 : YesisPopular-5 : Yes
reason-5 : Your link: http://www.cilcp.org
that was submitted on 19-Apr-1999 has been rejected
for one of the following reasons: 1. Unsuitable content. 2. Duplicate URL.
If you have any questions, please don't hesitate to ask.Links Manager
validate_records : Validate/Delete Selected Link(s)Environment Variables
-------------------------------------------CONTENT_LENGTH : 1008
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /usr/u1/dcds/eastcoastwebGATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
HTTP_ACCEPT_ENCODING: gzip, deflateHTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-AliveHTTP_HOST : www.eastcoastweb.com
HTTP_REFERER : http://www.eastcoastweb.com/cgi-bin/exec/dcds/links/admin/admin.cgi?db=links&validate_form=1
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 4.01; Windows 98; compat)
PATH : /usr/bin:/bin:/usr/sbin:/sbin:/usr/contrib/bin
PATH_INFO :
PATH_TRANSLATED : /usr/u1/dcds/eastcoastweb/dcds/links/admin/admin.cgi
QUERY_STRING : REMOTE_ADDR : 205.146.128.219
REMOTE_PORT : 2249REQUEST_METHOD : POST
REQUEST_URI : /cgi-bin/exec/dcds/links/admin/admin.cgi
SCRIPT_FILENAME : /usr/local/apache/cgi-bin/exec
SCRIPT_NAME : /cgi-bin/exec/dcds/links/admin/admin.cgi
SERVER_ADMIN : dcds@leba.netSERVER_NAME : www.eastcoastweb.com
SERVER_PORT : 80SERVER_PROTOCOL : HTTP/1.1SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.6 (Unix)

Thanks

Dave