Hi friends...
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.
Thanks
--
Linux User Registered #232544
Jabber : pepo@jabberes.org
ICQ : 337889406
GnuPG-key : www.keyserver.net
---------------- -------------------------------
dum loquimur, fugerit invida
aetas: carpe diem, quam minimum credula postero.
_____________________________________
Este mensaje ha sido analizado por el
Servicio Gratuito de Protección contra Virus de E-mail de EtapaOnLine.
Pepo a ?crit :>Hi friends... > > 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. > >Thanks > > > >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'' regards, Mathieu
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