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

Emails not sending, but no error received

Quote Reply
Emails not sending, but no error received
Hello all.

I'm sure you've seen this question before, but after an extensive search through the forums I still haven't been able to find a solution to get this thing working. I just recently installed Links 2.0 and I have confirmed that links can be added. Subscribing to the newsletter seems to work as well. However, no confirmation emails are sent out to the link owner or the administrator when a new link is added, validated or deleted. If I try to send out an email to all link owners I get a message that the email is sent, but no actual email is received on the user end. I don't get any errors, but no messages are sent out either. Here is the cut and past of the relevant part of my links.cfg:

# 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 = 'merrow@randomfandom.org';

# 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 = '';


So far I have done these steps to try to debug the email:

1) I have tried leaving 'debugging mode' checked. According to the message it says 'email would have been sent' to the email addresses I have added in thus far. I have also made sure that debugging mode is *unchecked* when trying to send messages.

2) I double checked the sendmail path with my server, tried changing it to '/usr/lib/sendmail', '/usr/sbin/sendmail -i -t' and '/usr/sbin/sendmail -i -t username' <-with my real username instead of course. Only '/usr/sbin/sendmail' gives no errors (it says it sends mail with this, but no mail is received and no errors are given) with the other options I get and error message saying there is a problem with sendmail.

3) I've changed the line # $db_smtp_server = ''; to $db_smtp_server = ''; (no comment out) and even removed it completely. No change was seen.

4) I double checked that email-add.txt and email-mod.txt files in my templates directory.


Is there any step I'm missing? Is there an error I'm not seeing? Any help would be appreciated.



Thanks in Advance.
Subject Author Views Date
Thread Emails not sending, but no error received merrow 3771 Aug 27, 2003, 7:32 PM
Thread Re: [merrow] Emails not sending, but no error received
Stealth 3705 Aug 28, 2003, 11:16 AM
Thread Re: [Stealth] Emails not sending, but no error received
merrow 3696 Aug 28, 2003, 2:36 PM
Post Re: [merrow] Emails not sending, but no error received
Stealth 3689 Aug 28, 2003, 3:50 PM