[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to fake from address in an email



On Wed, Dec 13, 2000 at 03:39:08PM -0700, Gary Hennigan wrote:
...
> If they're using exim it's just a matter of adding a an appropriate
> rewrite rule, no need to worry about relaying or anything like that. I
> think that when you install exim there's even a nice setup for you
> already in /etc/exim.conf, you just need to uncomment it and add the
> alias to /etc/email-addresses. For example, at the end of my
> /etc/exim.conf file I have:
> 
> *@hennigan.bogus        ${lookup{$1}lsearch{/etc/email-addresses}\
>                                                 {$value}fail} bcfrF
> 
> The file /etc/email-addresses has the following line it:
> 
> glhenni: glhenni@sandia.gov
> 
> The domain of my little LAN at home is hennigan.bogus so any email I
> send out would, for example, have "glhenni@hennigan.bogus" as the
> address if I didn't do something with it. Obviously there aren't a

I always wondered how this works. Can you still deliver mail in your
local domain, say if you do: mutt -s hallo glhenni </dev/null
would you get that mail, or would it first be sent to your smarthost?

-- 
groetjes, carel



Reply to: