Howdy folks,

I'm setting up a small (2-3 workstations, one server, all debian)
network at home, and I'm trying to implement an idea that I had 
for the mail system.  My apologies if it's too offtopic.
The scenario is:
I have several email addresses, [EMAIL PROTECTED], [EMAIL PROTECTED] and
[EMAIL PROTECTED]  At the moment, I use fetchmail to pull all
my email from these three accounts onto my box.  This is nice, except
that each account has to send messages through a different SMTP server.
My idea is to set up the network server as a smarthost(?).  All the other
machines on the network would just send all their (non-local) mail to it, 
and it would send these messages via the appropriate SMTP server.
Basically, the server would have a little table (or whatever) like this:
#from address                  smtp server
[EMAIL PROTECTED]                      mail.isp1.com
[EMAIL PROTECTED]              smtp.mailhost.com
[EMAIL PROTECTED]   smtp.university.edu

and would relay(?) messages to the correct SMTP server depending on
the From: header in the message.

Firstly, is this a good idea?  Would it horribly violate some basic
RFC and bring a thousand years of darkness upon our planet?  Can Exim
do it, or do I need to switch MTAs (perhaps even to that mythical
beast, Sendmail)?  The server will be on a ppp/dial-on-demand link, so I
can't just set up my own 'proper' domain and mail system.
Secondly, where would I find out about this sort of thing?  Is it an
Exim issue, a Debian issue or a generic mail issue?
I've tried to read through the Exim documentation but it is quite
dense (for me anyway) and I don't really know all that much about how
SMTP works.  I've been using Linux for a couple of years now (Debian
for one of those) and I am willing to go and RTFM, if only I could
find the right FM to read.  It does sound vaguely related to the
re-write features of Exim, but I could not find any sort of
documentation for the not-stupid-yet-quite-clueless user.

Anyhow, thank you for your time, and hopefully someone can point me in
the write direction.

Attachment: pgpgeCh4rxfm8.pgp
Description: PGP signature

Reply via email to