sendmail has a masquerade option, postfix probably does too since its a drop in replacement.
if you masquerade as say mydomain.com no matter what domain the sender uses it'll get changed to mydomain.com ..is that what your lookin for ? nate On Fri, 25 Feb 2000, Matthew Dalton wrote: matthe >I'm not sure if this is what the original poster wanted, but... matthe > matthe >Is is possible to masquerade a single email address in the same way the matthe >IP-Masq masquerades a single internet connection? By this I mean, to matthe >have a debian box receive emails via a single address, and be able to matthe >distribute each one to the intended recipient on the internal LAN. matthe > matthe >There are dodgy ways you could do this, of course... like have the matthe >sender put the login name of the recipient in the subject somewhere, matthe >which exim/sendmail would rewrite the mail header with... but that's too matthe >much to expect the sender to do. You could also try writing some 'smart matthe >filter' which would try to identify the recipent from the contents of matthe >the email (most personal letters would probably start with 'Name,' or matthe >similar... but then of course there are problems with nicknames, non matthe >personal letters etc...). What I'm looking for is a better solution. matthe > matthe >Matthew matthe > matthe >Colin Watson wrote: matthe >> matthe >> [EMAIL PROTECTED] wrote: matthe >> >Is it possibble to masquarade my e-mail to the outside world from matthe >> >my LAN ? I'll tell you exactly what I wanted to say. I have a local matthe >> >LAN, one e-mail address. I have set up a local DNS and ipchains matthe >> >rules but I stopped at sendmail. I want to relay mail for the local matthe >> >machines and put the mail into a queue if it goes to the inet but matthe >> >deliver immediatelly inside the LAN. The domain has the name matthe >> >"linbase.org" (not registreted) so all of the outgoing mails have to matthe >> >have "[EMAIL PROTECTED]" (the valid mail address) at the From: matthe >> >and in the Reply-to: fields, not [EMAIL PROTECTED] matthe >> matthe >> Can't help you with sendmail, I'm afraid, but it's almost trivial with matthe >> exim: matthe >> matthe >> [EMAIL PROTECTED] [EMAIL PROTECTED] frF matthe >> matthe >> ... in the "rewrite configuration" section. matthe >> matthe >> >Please, help me, how to setup this ! I welcome any URLs, RTFMs, matthe >> >HOWTOs if it's apart from the "official" docs in the distros, matthe >> >because I have already read through them but (maybe I'm too dumb matthe >> >or overlooked something) found nothing to my special problem. matthe >> matthe >> exim's (excellent) documentation is in /usr/doc/exim/spec.txt.gz matthe >> (there's also an HTML version); the documentation on address rewriting matthe >> is in chapter 32. matthe >> matthe >> -- matthe >> Colin Watson [EMAIL PROTECTED] matthe >> matthe >> -- matthe >> Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null matthe > matthe > matthe >-- matthe >Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null matthe > ----------------------------------------[mailto:[EMAIL PROTECTED] ]-- Vice President Network Operations http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336 http://www.linuxpowered.net/ Powered By: http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMP http://yahoo.aphroland.org/ -----------------------------------------[mailto:[EMAIL PROTECTED] ]-- 9:27pm up 189 days, 9:48, 1 user, load average: 1.05, 1.06, 1.00