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

problems with sendmail

Quote Reply
problems with sendmail
Hi,
I come from germany and my english is not good --->sorry.
I have a problem with Links 2.0 and sendmail.

The path to sendmail at my server is: /usr/sbin/sendmail
My Email is webmaster@shad65.de

I have modify the file links.cfg with the follow lines:

# PATH of sendmail. # SMTP Server
$db_mail_path = '/usr/sbin/sendmail'; $db_smtp_server = '';

# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'webmaster@shad65.de';

Then I will validate a site or send a newsletter I become the follow error:

CGI ERROR
==========================================
Error Message : Unable to init mailer! Reason: Sendmail was not defined or not found: /usr/sbin/sendmail
Script Location : admin.cgi
Perl Version : 5.006001

Everything other from the script runs very good.

What can I do????
I hope you can help me

Greetings from germany Shad65


Quote Reply
Re: problems with sendmail In reply to
Try:

$db_mail_path = '/usr/sbin/sendmail -t -i';

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: problems with sendmail In reply to
Hi Paul,
Thank you for the reply, but the error is the same.

goodby shad65

Quote Reply
Re: problems with sendmail In reply to
/usr/lib/sendmail ?

Installs:http://www.wiredon.net/gt/
MODS:http://wiredon.net/gt/download.shtml

Quote Reply
Re: problems with sendmail In reply to
Usually

$db_mail_path = '/usr/sbin/sendmail -t';

works in such cases. Btw, there's a German Links Forum at http://www.nicky.net/foren.

Thomas
http://links.japanref.com
Quote Reply
Re: problems with sendmail In reply to
sorry, the correct path is /usr/sbin/sendmail

Quote Reply
Re: problems with sendmail In reply to
try to change the green marked options to "1" as below:
...
...
# Email Options
# --------------------------------------------------------
# NOTE: Be sure to edit the text of the message. It can be found
# in the templates directory: email-add.txt, email-del.txt and
# email-mod.txt respectively.

# Set only ONE of either $db_mail_path which should go to a
# mail program like sendmail, or $db_smtp_server which will use
# a SMTP server. Do not set both at once!

# PATH of sendmail. # SMTP Server
$db_mail_path = '/usr/sbin/sendmail'; $db_smtp_server = '';

# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'webmaster@yourserver.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;

# Log all outgoing messages? Put the full path to a logfile and make sure it
# exists and is writeable (chmod 666 -rw-rw-rw-). This logfile can get pretty
# big!
$db_mailer_log = '/home/stadt/public_html/links/mail.log';
...

Quote Reply
Re: [Deniz] problems with sendmail In reply to
# PATH of sendmail. # SMTP Server
$db_mail_path = "/usr/sbin/sendmail";

# Email address of the administrator. BE SURE TO SET!
$db_admin_email = "yourname\@yoursite.com;

Notice the ""

I had to change ' to " and it worked.

Good Luck

Last edited by:

bigtree: Jun 4, 2002, 11:30 PM