[Pkg-exim4-users] accept some IP/users deny others
Marc Haber
mh+pkg-exim4-users at zugschlus.de
Mon Sep 5 09:01:16 UTC 2005
On Fri, Sep 02, 2005 at 08:37:59AM +0200, Mathieu Ruellan wrote:
> Pepo a écrit :
> > I am using exim4 (exim4-daemon-light) 4.52-1 in my Sarge, and I have a little
> >LAN (PC1:192.168.1.1, PC2:192.168.1.2, PC3:192.168.1.3) the first is my box.
> >
> > Please, how do I accept any local mail in my LAN, but just PC2:192.168.1.2
> >can send mails to Internet? and if you can help me with the same but only few
> >users can send to Internet.
> >
> > I hope that you can help me, it is urgent for me.
> >
> edit /etc/exim4/update-exim4.conf.conf
>
> dc_relay_nets='192.168.1.2 : 192.168.1.3'
> or
> dc_relay_nets='192.168.1.0/24'
That will allow all PCs to send mail to the Internet, which is not the
OP's intention.
I'd set dc_relay_nets = 192.168.1.2. Mails for the local domains will
be accepted by virtue of them being local from anywhere, including the
other local hosts.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
More information about the Pkg-exim4-users
mailing list