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

Address rewriting with exim as smarthost



Does this ring a bell with anyone?
I've got my work box (bigdaddy) set up with exim
as the mta, sending mail to my router/smarthost
(kanyon).  Exim seems to send all non-bigdaddy mail
to kanyon, even that for my other local boxes
(e.g. therock) - that's fine, and I'll solve the
problem of mail to anyone@therock going out of the
local net later.

Where do I need to make changes to achieve the following:

I'd like the address rewriting (not sure that's the correct
term in this situation) to happen on kanyon.  I'd like
to have a /etc/email-addresses without anything
related to the ISP I'm connected to at the moment on
bigdaddy, and just have
"jaycee: spam_me_senseless@jaycee.uklinux.net" in that file
on the /smarthost/.

At the moment, the only way I can get a replyable-to From:
header into my mail is to have the rewriting done on the work
box, and simply use the smarthost as an open relay - requiring
me to block access to the smtp port from outside.  This means
I have to pull mail down with fetchmail, rather than use
my ISP's nice SMTP push option.

In summary, how do I get per-user address rewriting done with
exim, on a smarthost, with addresses stored in 
/etc/email-addresses (but only from a well defined set of 
machines)?

TIA,
jc

-- 
It may stop, it may not.  And stop calling me "dj".



Reply to: