From: YouCanToo on
Hi all,

I am having a problem with Sendmail-8.13.3-1 on PCLinuxOS
I started having the following error
Deferred: Connection refused by localhost.net

All the email are be held in the Mail Queue by the end of the day I have
tons of mail in the quere.

I have done a search on google, but didn't turn up alot. Has anyone on
the list seen this problem before ? or perhaps someone could be so nice
to point me in the right direction. Thanks for any help given in advance.

-David
From: Claus Aßmann on
YouCanToo wrote:

> I am having a problem with Sendmail-8.13.3-1 on PCLinuxOS
> I started having the following error
> Deferred: Connection refused by localhost.net
^^^^^^^^^^^^^

Do you use an really old submit.cf file?

8.12.7/8.12.7 2002/12/29
CONFIG: Use FEATURE(`msp', `[127.0.0.1]') in submit.mc by default
to avoid problems with hostname resolution for localhost
which on many systems does not resolve to 127.0.0.1 (or
::1 for IPv6). If you do not use IPv4 but only IPv6 then
you need to change submit.mc accordingly, see the comment
in the file itself.
--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting my time.
From: YouCanToo on
Claus Aýmann wrote:
> YouCanToo wrote:
>
>
>>I am having a problem with Sendmail-8.13.3-1 on PCLinuxOS
>>I started having the following error
>>Deferred: Connection refused by localhost.net
>
> ^^^^^^^^^^^^^
>
> Do you use an really old submit.cf file?
>
> 8.12.7/8.12.7 2002/12/29
> CONFIG: Use FEATURE(`msp', `[127.0.0.1]') in submit.mc by default
> to avoid problems with hostname resolution for localhost
> which on many systems does not resolve to 127.0.0.1 (or
> ::1 for IPv6). If you do not use IPv4 but only IPv6 then
> you need to change submit.mc accordingly, see the comment
> in the file itself.

When I add the FEATURE(`msp', `[127.0.0.1]') to my submit.cf file and
than do a rebuild. After that the sendmail server refuses to restart. I
did find this error in the log file

Jul 2 22:34:23 pclos sendmail[22165]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon MTA: cannot bind: Address already in use
Jul 2 22:34:23 pclos sendmail[22165]: daemon MTA: problem creating SMTP
socket

If I remove the line from the submit.cf file and do a rebuild and a
server restart everything goes fine. What is is that I am clueless about?

Thanks -David
From: Claus Aßmann on
YouCanToo wrote:

> When I add the FEATURE(`msp', `[127.0.0.1]') to my submit.cf file and

It belongs in your submit.mc file (and it has alread a line with
FEATURE(`msp') in it!). Why don't you just use what is shipped with
sendmail?

> than do a rebuild. After that the sendmail server refuses to restart. I
> did find this error in the log file

> Jul 2 22:34:23 pclos sendmail[22165]: NOQUEUE: SYSERR(root):
> opendaemonsocket: daemon MTA: cannot bind: Address already in use

How did you manage that? submit.cf is not used for a daemon. You
don't have to restart the sendmail daemon. See cf/README and
sendmail/SECURITY.

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting my time.
From: YouCanToo on
Claus Aýmann wrote:
> YouCanToo wrote:
>
>
>>When I add the FEATURE(`msp', `[127.0.0.1]') to my submit.cf file and
>
>
> It belongs in your submit.mc file (and it has alread a line with
> FEATURE(`msp') in it!). Why don't you just use what is shipped with
> sendmail?
>
Thanks I really blew it with the submit.cf instead of the submit.mc
file. Now that I got it right it is working fine. Thank you very much
for the pointers.

-David
 | 
Pages: 1
Prev: Unable to send email
Next: Missing Email