Re: Setting up MTA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2005-08-18 at 07:15, Jonathan Allen wrote:
> > You need to install the sendmail-cf package, read the configuration
> > README and edit /etc/mail/sendmail.mc with your favourite editor.
> 
> > Having said that, the default configuration works out of the box for
> > many people.

The default Fedora/RH configuration is intentionally broken so
you can't receive mail from the network.  That can't work for
anyone who runs their own server or even a relay from an
inside net to their ISP's forwarder (that is, anyone who
actually uses mail).

> What would I have to insert in the snedmail.mc file to allow relaying
> only from the machines in the internal network: 192.168.1.* ?

Change: 
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
to
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
in sendmail.mc
and add
192.168.1    RELAY
to /etc/mail/access.
Then type 'make' in the /etc/mail directory, and restart sendmail.

-- 
  Les Mikesell
   lesmikesell@xxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux