Possible with Postfix?
At the moment, I have a machine sitting beside me that works as my primary mail server (amongst other things.) I have a Linode set up as a secondary MX.
If my primary is, for whatever reason, unreachable the Linode takes over and then sends the mail on when the primary is back in action.
I'm looking to work around a scenario like this:
DSL connection dies
DSL connection doesn't look like it's coming back any time soon (backhoe through the cable, telephone exchange stolen by space aliens, something like that.)
I set up a wireless (3G) broadband connection.
Rather than the secondary MX PUSHING mail through, I want my server to PULL it.
I know that I could make the IP address of the primary dynamic and then switch over to whatever I get on the wireless connection, but I don't want to do it that way.
I want to set up an SSH tunnel to my Linode, say "hey, give me my mail," and down it comes.
Is this possible? If so, how?
12 Replies
However, I'm wondering if this might be the way to go if I can, say, use a VPN.
I will now go read the Postfix ETRN README. Thanks for the suggestion.
You, kids, get off my lawn!
This I will investigate. If this fixes my problem I will be quite delighted. Bit like a story an old farmer once told me when he got his tractor so stuck the only way he could get it out was by hitching it up to a pair of horses.
@mwalling:
Why does this sound like a job for UUCP?
% uustat -m
linode 09-09 20:47 Conversation complete
dastardly 09-09 20:01 Conversation complete
tinho 09-09 20:01 Conversation complete
@mwalling:
I wasn't trolling (this time). I set up UUCP for a project where I needed to deliver mail over an unreliable WAN, where the receiving server (external) couldn't actually connect to the destination server (internal). I had the internal server calling up the external server over UUCP, it could pick up its mail, worked like a charm.
My UUCP setup (which I use on my linode) is uucp-over-ssl-over-IP, with stunnel and s_client providing the necessary glue.
Mostly works great!