On Tue, Aug 24, 1999 at 09:41:14AM -0400, Scott Sharkey wrote:
> I've got a mail server on a private network (192.168.x.x) which
> I want to periodically pick up mail from my server that's
> co-located elsewhere. Both servers are running qmail.
>
> The public server has MX records for my domain, pointing to
> it. Mail to/from there seems to be working just fine.
> Right now, I'm just using a pop client to pick up the mail
> when I'm connected, but that's not a good solution.
>
> I want the private server to periodically dialin, pick up
> the messages, send any that are queued (this is already
> working), and deliver via POP (also already working).
Your goals aren't to deliver the messages by a specific service,
are they?
Using serialmail to solve your problem:
1) on connected server, set up mail for the virtualdomain to
be stored in a Maildir.
2) remotely trigger maildirsmtp on the server to your dialin's
dynamic IP.
I can think of two ways to do this:
a) do a pop-style authentication to a dedicated tcpserver instance.
tcpserver can capture your dynamic IP and trigger maildirsmtp
using it.
b) remote call via ssh. Much more secure (no passwords in the clear),
though to be honest, I can't think of a way to capture the hosts
dynamic IP off the top of my head. I'm sure someone else can help
you there...
--
John White johnjohn
at
triceratops.com
PGP Public Key: http://www.triceratops.com/john/public-key.pgp