root.veg
12-11-2003, 07:25 AM
I'm running an Exim mail-server on my network at home, which I'm using to run a mailing list so me and my friends can keep in touch (take that, yahoogroups!). The basics work OK:
I have one firewall/router machine with one static IP, and it port-forwards all smtp requests to the mailserver, which sits on my private network. I've set up a simple entry in /etc/aliases so that any mail to mylist@mydomain.com gets forwarded to all the individual addresses just fine.
Now, all I want to do is to include a local address in that alias (ie forward mail from the mailserver to me@mybox on my local network). I thought I could do this, as my private network is set up simply using static IPs and /etc/hosts files. In other words, all machines on my private network know what the IP address for 'mybox' is despite it not being fully-qualified. But it doesn't work.
Does anyone know what the magic configuration setting is in exim.conf so that I can do this without breaking my wonderful mailing list? I have searched, but don't really know what to look for.
To summarise, I would like to forward mail to
mylist@mydomain.com
to
user1@elsewhere.com
user2@a.n.other.com
on the net, and
me@mybox
on my local network.
I have one firewall/router machine with one static IP, and it port-forwards all smtp requests to the mailserver, which sits on my private network. I've set up a simple entry in /etc/aliases so that any mail to mylist@mydomain.com gets forwarded to all the individual addresses just fine.
Now, all I want to do is to include a local address in that alias (ie forward mail from the mailserver to me@mybox on my local network). I thought I could do this, as my private network is set up simply using static IPs and /etc/hosts files. In other words, all machines on my private network know what the IP address for 'mybox' is despite it not being fully-qualified. But it doesn't work.
Does anyone know what the magic configuration setting is in exim.conf so that I can do this without breaking my wonderful mailing list? I have searched, but don't really know what to look for.
To summarise, I would like to forward mail to
mylist@mydomain.com
to
user1@elsewhere.com
user2@a.n.other.com
on the net, and
me@mybox
on my local network.