Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Problem sending mails

Quote Reply
Problem sending mails
Hi,

I have installed Links2.0 following the instructions and the script is working fine until yesterday when I started not being able to send out mails to subscribers or link owners.

Please advise.

Quote Reply
Re: Problem sending mails In reply to
Without a description of the problem it is difficult to diagnose. However, you want to check that links.cfg is configured correctly. For example, is the path to sendmail correct?

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


Martin Webster
--
Cebidae's UK Internet Resource
http://www.cebidae.co.uk/
Quote Reply
Re: Problem sending mails In reply to
Have checked, can't be the problem of the sendmail path because it was working fine.

The message I received was "failed to send messages to any users" when I tried to send newsletter and when I validated on the links.

Here if you wish is a sample of my Links.cfg program.

# PATH of sendmail. # SMTP Server
$db_mail_path = '/usr/bin/sendmail -t'; $db_smtp_server = '';

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

Please advise.