> Subject: Sendmail connection refused
> From: Adam vonNieda <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> 
> 
>    I'm sure some of you have seen this before.. 
> 
>    I'm trying to use my sendmail to relay mail, and
> get the popular "connection refused" message. I've made
> a real effort to resolve this through past messages and
> FAQ's etc. with no success 
> 
>    My question is, if I telnet to port 25 on my mail server
> from the client machine and get a "Connection refused",
> where is the configuration error coming from? 
> 
>    /etc/mail/access?
>    /etc/mail/relay-domains?
>    Somewhere else?
>    Do I need to rebuild the sendmail.cf? It's default.
> 
>    Yes, sendmail is running. :)
> 
>    Any insight would be appreciated.
> 
>    Regards,
> 
>    -Adam vonNieda
> 
> -- 
> 
> [EMAIL PROTECTED]
> http://www.oracletool.com

The usual reason is that sendmail isn't running.  Does ps give you
a "sendmail: accepting connections" entry?

What version of sendmail are you running?  Is it built
with tcpwrappers support (I don't remember when this changed).
If you have tcpwrappers (libwrap) support, try adding this
to /etc/hosts.allow:
-----
# in 7.x, sendmail is compiled with libwrap support so the
# following line will be needed.
sendmail: ALL
-----

Did you make the DAEMON_OPTIONS change mentioned in the release
notes?  Your sendmail.cf should *NOT* have this line:
---
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
---
If it does, you can either delete it or change the .mc file from
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
to:
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
and rebuild sendmail.cf.


    pete

--
        pete peterson
        Teradyne, Inc.
        7 Technology Park Drive
        Westford, MA 01886-0033

        [EMAIL PROTECTED] or [EMAIL PROTECTED]
        +1-978-589-7478 (Teradyne); +1-978-589-2088 (Closest FAX);
        +1-978-589-7007 (Main Teradyne Westford FAX)
 



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to