<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
You can actually just edit the sendmail.cf file directly and comment
out the Daemon options line......rather than recompiling the
sendmail.cf from the M$ macro compiler...<br>
<br>
<br>
P.<br>
<br>
<br>
dan1 wrote:
<blockquote cite="mid001a01c599b4$72c986a0$1d00a8c0@apocalypse"
 type="cite">
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">It also refuses connections from another host.

I have edited the /etc/mail/access file and added:
192.168        OK
But this doesn't help after a restart.

Does somebody know why the connection is refused ? I can see that 
behaviour
on several CentOS box I have so it seems to be the new default. What
parameter should I change to make it be accepted ?
      </pre>
    </blockquote>
    <pre wrap="">You will need to edit /etc/mail/sendmail.mc and regenerate a new 
sendmail.cf
Edit and add a line similar to below for your network:
DAEMON_OPTIONS(`Port=smtp,Addr=90.0.0.2, Name=MTA')dnl

Generate new cf file by running macro:
#m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

Restart sendmail and you should be good.
HTH
-- 
Sudev Barar
Learning Linux
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Thank you Sudev. Nice help. Now it works, I just commented it out like Will 
suggested it.
Kind regards,
Daniel



_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>
  </pre>
</blockquote>
</body>
</html>