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

E-mail is NOT being sent!

Quote Reply
E-mail is NOT being sent!
I cannot find out why it is not sending out the validation/modification to MY e-mail address. I am positive I am doing everything right. Anyway, here is the section where things might have screwed up:

-------------------------------------------

# 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.
$db_mail_path = '/home/httpd/html/hosted584/cgi-bin/links/admin';

# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'RidgeRacerR@hotmail.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/httpd/html/hosted584/cgi-bin/links/admin';

------------------------------------------

Quote Reply
Re: E-mail is NOT being sent! In reply to
Hi
it's semm's that you don't get the right path of send mail ... it's some think like .Détection emplacement de sendmail :
/usr/lib/sendmail :
or
/usr/bin/sendmail
or
/bin/sendmail
or
/usr/sbin/sendmail or

...
/usr/local/bin/sendmail
/usr/local/lib/sendmail

when you get it like /usr/local/lib/sendmail ...just put

# PATH of sendmail.
$db_mail_path = '/usr/local/lib/sendmail ';

hope that this can help you

seradji








Quote Reply
Re: E-mail is NOT being sent! In reply to
I am still confused. How would you know what the sendmail path is?

Quote Reply
Re: E-mail is NOT being sent! In reply to
well

try this CGI

a) save it as "find_sendmail.cgi" ( for exemple)
b) upload it on ASCII mode
c) CHMOD 755

and then use it :)

*****************************************

#!/usr/local/bin/perl

print ("Content-type: text/html\n\n");

print "<hr>Detection of sendmail :
\n";

foreach $buf ('/usr/lib/sendmail','/usr/bin/sendmail',
'/bin/sendmail','/usr/sbin/sendmail',
'/usr/local/bin/sendmail','/usr/local/lib/sendmail') {
if ((-e "$buf") && (-x "$buf")) {
# if the file exist,
print "$buf : YES, this is the right PATH !
\n";
} else {
print "$buf : NO, not here !
\n";
}
}


*************************

hope that this help you

seradji


Quote Reply
Re: E-mail is NOT being sent! In reply to
Oh good! I did what you told me and it works!!! Thank you so much! ^_^