I'm not sure if this is what the original poster wanted, but... Is is possible to masquerade a single email address in the same way the IP-Masq masquerades a single internet connection? By this I mean, to have a debian box receive emails via a single address, and be able to distribute each one to the intended recipient on the internal LAN.
There are dodgy ways you could do this, of course... like have the sender put the login name of the recipient in the subject somewhere, which exim/sendmail would rewrite the mail header with... but that's too much to expect the sender to do. You could also try writing some 'smart filter' which would try to identify the recipent from the contents of the email (most personal letters would probably start with 'Name,' or similar... but then of course there are problems with nicknames, non personal letters etc...). What I'm looking for is a better solution. Matthew Colin Watson wrote: > > [EMAIL PROTECTED] wrote: > >Is it possibble to masquarade my e-mail to the outside world from > >my LAN ? I'll tell you exactly what I wanted to say. I have a local > >LAN, one e-mail address. I have set up a local DNS and ipchains > >rules but I stopped at sendmail. I want to relay mail for the local > >machines and put the mail into a queue if it goes to the inet but > >deliver immediatelly inside the LAN. The domain has the name > >"linbase.org" (not registreted) so all of the outgoing mails have to > >have "[EMAIL PROTECTED]" (the valid mail address) at the From: > >and in the Reply-to: fields, not [EMAIL PROTECTED] > > Can't help you with sendmail, I'm afraid, but it's almost trivial with > exim: > > [EMAIL PROTECTED] [EMAIL PROTECTED] frF > > ... in the "rewrite configuration" section. > > >Please, help me, how to setup this ! I welcome any URLs, RTFMs, > >HOWTOs if it's apart from the "official" docs in the distros, > >because I have already read through them but (maybe I'm too dumb > >or overlooked something) found nothing to my special problem. > > exim's (excellent) documentation is in /usr/doc/exim/spec.txt.gz > (there's also an HTML version); the documentation on address rewriting > is in chapter 32. > > -- > Colin Watson [EMAIL PROTECTED] > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null