PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > Sending fails, Connection refused by localhost.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Sending fails, Connection refused by localhost.

Réponse
 
LinkBack Outils de la discussion
Vieux 25/11/2007, 19h50   #1
Rick Knight
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Sending fails, Connection refused by localhost.

Hello again,

I have just added a second server to my network. This second server is
running Vuurmuur firewall and nothing else, just firewall and router. It's
running slack 12 and sendmail 8.14.1 is installed, but not running. The
problem is, the firewall server will not send any notification messages
(or any messages) to my mail server. I get This error in the maillog...

"lAPLOWEk007711: to=root@rlknight.com, ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=30238, relay=[127.0.0.1] [127.0.0.1],
dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]"

I've used this basic setup before without any problems, but can't remember
how I set it up. Can anyone me ou?

Thanks,
Rick
  Réponse avec citation
Vieux 25/11/2007, 20h01   #2
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sending fails, Connection refused by localhost.

Rick Knight <rick_knight@rlknight.com> writes:
> I have just added a second server to my network. This second server is
> running Vuurmuur firewall and nothing else, just firewall and router. It's
> running slack 12 and sendmail 8.14.1 is installed, but not running. The
> problem is, the firewall server will not send any notification messages
> (or any messages) to my mail server. I get This error in the maillog...
>
> "lAPLOWEk007711: to=root@rlknight.com, ctladdr=root (0/0), delay=00:00:00,
> xdelay=00:00:00, mailer=relay, pri=30238, relay=[127.0.0.1] [127.0.0.1],
> dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]"
>
> I've used this basic setup before without any problems, but can't remember
> how I set it up. Can anyone me ou?


Are you sure sendmail service has been started?
Lack of "auto start" is the first thing to check.

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
  Réponse avec citation
Vieux 25/11/2007, 21h09   #3
Rick Knight
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sending fails, Connection refused by localhost.

On Sun, 25 Nov 2007 20:01:30 +0100, Andrzej Adam Filip wrote:

> Rick Knight <rick_knight@rlknight.com> writes:
>> I have just added a second server to my network. This second server is
>> running Vuurmuur firewall and nothing else, just firewall and router.
>> It's running slack 12 and sendmail 8.14.1 is installed, but not
>> running. The problem is, the firewall server will not send any
>> notification messages (or any messages) to my mail server. I get This
>> error in the maillog...
>>
>> "lAPLOWEk007711: to=root@rlknight.com, ctladdr=root (0/0),
>> delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30238,
>> relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection
>> refused by [127.0.0.1]"
>>
>> I've used this basic setup before without any problems, but can't
>> remember how I set it up. Can anyone me ou?

>
> Are you sure sendmail service has been started? Lack of "auto start" is
> the first thing to check.
>
>

I've tried that. I get a different error message. Also, since this is not
my main mail server, do I need to run sendmail on it?

Thanks,
Rick
  Réponse avec citation
Vieux 25/11/2007, 21h42   #4
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sending fails, Connection refused by localhost.

Rick Knight <rick_knight@rlknight.com> writes:

> On Sun, 25 Nov 2007 20:01:30 +0100, Andrzej Adam Filip wrote:
>
>> Rick Knight <rick_knight@rlknight.com> writes:
>>> I have just added a second server to my network. This second server is
>>> running Vuurmuur firewall and nothing else, just firewall and router.
>>> It's running slack 12 and sendmail 8.14.1 is installed, but not
>>> running. The problem is, the firewall server will not send any
>>> notification messages (or any messages) to my mail server. I get This
>>> error in the maillog...
>>>
>>> "lAPLOWEk007711: to=root@rlknight.com, ctladdr=root (0/0),
>>> delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30238,
>>> relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection
>>> refused by [127.0.0.1]"
>>>
>>> I've used this basic setup before without any problems, but can't
>>> remember how I set it up. Can anyone me ou?

>>
>> Are you sure sendmail service has been started? Lack of "auto start" is
>> the first thing to check.

>
> I've tried that. I get a different error message. Also, since this is not
> my main mail server, do I need to run sendmail on it?


Sendmail 8.12+ default installation method requires running local SMTP
server at least at 127.0.0.1:25. It allows to preserve all former
functionality but without requiring "set root id" installation that
always must be tread as potential security risk.
[ http://www.sendmail.org/security/secure-install.php ]

You may generate custom submit.cf (not sendmail.cf) from modified
submit.mc to make sendmail send locally submitted messages to the mail
server on internal network instead of 127.0.0.1:25.
FEATURE(`msp', `[aaa.bbb.ccc.ddd]')

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
  Réponse avec citation
Vieux 26/11/2007, 22h09   #5
Rick Knight
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sending fails, Connection refused by localhost.

On Sun, 25 Nov 2007 21:42:30 +0100, Andrzej Adam Filip wrote:

> Rick Knight <rick_knight@rlknight.com> writes:
>
>> On Sun, 25 Nov 2007 20:01:30 +0100, Andrzej Adam Filip wrote:
>>
>>> Rick Knight <rick_knight@rlknight.com> writes:
>>>> I have just added a second server to my network. This second server is
>>>> running Vuurmuur firewall and nothing else, just firewall and router.
>>>> It's running slack 12 and sendmail 8.14.1 is installed, but not
>>>> running. The problem is, the firewall server will not send any
>>>> notification messages (or any messages) to my mail server. I get This
>>>> error in the maillog...
>>>>
>>>> "lAPLOWEk007711: to=root@rlknight.com, ctladdr=root (0/0),
>>>> delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30238,
>>>> relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection
>>>> refused by [127.0.0.1]"
>>>>
>>>> I've used this basic setup before without any problems, but can't
>>>> remember how I set it up. Can anyone me ou?
>>>
>>> Are you sure sendmail service has been started? Lack of "auto start" is
>>> the first thing to check.

>>
>> I've tried that. I get a different error message. Also, since this is not
>> my main mail server, do I need to run sendmail on it?

>
> Sendmail 8.12+ default installation method requires running local SMTP
> server at least at 127.0.0.1:25. It allows to preserve all former
> functionality but without requiring "set root id" installation that
> always must be tread as potential security risk.
> [ http://www.sendmail.org/security/secure-install.php ]
>
> You may generate custom submit.cf (not sendmail.cf) from modified
> submit.mc to make sendmail send locally submitted messages to the mail
> server on internal network instead of 127.0.0.1:25.
> FEATURE(`msp', `[aaa.bbb.ccc.ddd]')
>


OK. I've edited my /etc/mail/submit.cf and changed
FEATURE(`msp', `[127.0.0.1]') to
FEATURE(`msp', `[172.16.88.3]') and restarted sendmail. Messages are
being delivered to the local root user, root@knight-fw.rlknight.com, but
not to the user on my mail server root@rlknight.com.

I've had this working in the past but cannot for the life of me remember
how I did it.

Thanks,
Rick
  Réponse avec citation
Vieux 27/11/2007, 03h22   #6
Rick Knight
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sending fails, Connection refused by localhost.

On Sun, 25 Nov 2007 21:42:30 +0100, Andrzej Adam Filip wrote:

> Rick Knight <rick_knight@rlknight.com> writes:
>
>> On Sun, 25 Nov 2007 20:01:30 +0100, Andrzej Adam Filip wrote:
>>
>>> Rick Knight <rick_knight@rlknight.com> writes:
>>>> I have just added a second server to my network. This second server is
>>>> running Vuurmuur firewall and nothing else, just firewall and router.
>>>> It's running slack 12 and sendmail 8.14.1 is installed, but not
>>>> running. The problem is, the firewall server will not send any
>>>> notification messages (or any messages) to my mail server. I get This
>>>> error in the maillog...
>>>>
>>>> "lAPLOWEk007711: to=root@rlknight.com, ctladdr=root (0/0),
>>>> delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30238,
>>>> relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection
>>>> refused by [127.0.0.1]"
>>>>
>>>> I've used this basic setup before without any problems, but can't
>>>> remember how I set it up. Can anyone me ou?
>>>
>>> Are you sure sendmail service has been started? Lack of "auto start" is
>>> the first thing to check.

>>
>> I've tried that. I get a different error message. Also, since this is not
>> my main mail server, do I need to run sendmail on it?

>
> Sendmail 8.12+ default installation method requires running local SMTP
> server at least at 127.0.0.1:25. It allows to preserve all former
> functionality but without requiring "set root id" installation that
> always must be tread as potential security risk.
> [ http://www.sendmail.org/security/secure-install.php ]
>
> You may generate custom submit.cf (not sendmail.cf) from modified
> submit.mc to make sendmail send locally submitted messages to the mail
> server on internal network instead of 127.0.0.1:25.
> FEATURE(`msp', `[aaa.bbb.ccc.ddd]')
>


I've also added...

define(`SMART_HOST',`mail.mydomain.com')dnl

to the sendmail.mc file and rebuilt that. Mail still wants to go to a
local user and not to my mail server users.

Thanks,
Rick
  Réponse avec citation
Vieux 03/12/2007, 01h06   #7
Robert Bonomi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sending fails, Connection refused by localhost.

In article <rEk2j.911$Vq.445@nlpi061.nbdc.sbc.com>,
Rick Knight <rick_knight@rlknight.com> wrote:
>On Sun, 25 Nov 2007 20:01:30 +0100, Andrzej Adam Filip wrote:
>
>> Rick Knight <rick_knight@rlknight.com> writes:
>>> I have just added a second server to my network. This second server is
>>> running Vuurmuur firewall and nothing else, just firewall and router.
>>> It's running slack 12 and sendmail 8.14.1 is installed, but not
>>> running. The problem is, the firewall server will not send any
>>> notification messages (or any messages) to my mail server. I get This
>>> error in the maillog...
>>>
>>> "lAPLOWEk007711: to=root@rlknight.com, ctladdr=root (0/0),
>>> delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30238,
>>> relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection
>>> refused by [127.0.0.1]"
>>>
>>> I've used this basic setup before without any problems, but can't
>>> remember how I set it up. Can anyone me ou?

>>
>> Are you sure sendmail service has been started? Lack of "auto start" is
>> the first thing to check.
>>
>>

>I've tried that. I get a different error message. Also, since this is not
>my main mail server, do I need to run sendmail on it?


Yes, as the firewall is configured, you need an instance of sendmail running.
It needs -only- to be listening on 127.0.0.1 though.

It _might_ be possible to tell the firewall to use a different mailhost,
but that would be a question for a group that knows that firewall, not
here.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 09h03.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,17882 seconds with 15 queries