[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mail
Hello,
first I'd like to thank all of you who came to our meeting in jerusalem - it
was very nice.
I managed to set up (with the help of Alex and Shimon) my Linux-box as an
masquerading gateway to the internet - works just great (after long
deliberations with the how-to's I found out the my distribution comes with a
perfectly working script to start masquerading :-) ). (To Alex: The problem
with the routing was that the sl0 was set to 0.0.0.0:0.0.0.0 . This somehow
blocked the routing so that nothing could reach the network. I set it to
192.168.11.12:192.168.11.12 , the local IP, and it started to work
perfectly, dialing when neccessary, even when accessed from geni). We also
set up mail-swapping (fetchmail & sendmail -q) and it works just fine. There
are 2 problems left, though:
1. Whenever I send a mail from the Windows-station (there I defined nessy,
my gateway, as SMTP mail gateway), sendmail immediately tries to forward it
to it's recipient. This establishes a Internet connection everytime and the
whole idea was to save on those (phone bill etc.) and swap mail twice a day.
2. The other problem is that sendmail delivers mail itself, where I want it
to relay it to mail.inter.net.il (my ISP mailserver) and let
mail.inter.net.il do the dirty work. Also I have the feeling that it doesn't
manage to deliver all mail (same solution, probably). Furthermore mail sent
from the Windows-station ("geni") has a sender's host of
'geni.home.inter.net.il' instead of 'inter.net.il' (My mail-client put's
schapiro@inter.net.il in the From: field, though). This migth lead to
confusion.
I use sendmail bec. that's what came with the distrib. I also tried smail,
but that didn't work/behave the same. I unfortunately don't understand how
to configure sendmail (or install another package) to do the following task:
1. deliver mail locally (under 'home.inter.net.il', my "domain") immediately
2. deliver mail to the internet only when *I* tell it to do so
3. to hide (masquerade) my home network so that ALL *outgoing* (=not local)
mail appears to be sent from schapiro@inter.net.il (or at least
schapiro@mail.inter.net.il )
Any help to reach above solution will be highly appreciated !
Schlomo
PS: I am sorry, but I hadn't yet the time to write up a summary of the
meeting :-( Perhaps someone else volunteers ?
- Follow-Ups:
- Re: mail
- From: Shachar Tal <shachar@vipe.technion.ac.il>
- Re: mail
- From: Shimon Katsman <katsman@isracom.co.il>