LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-24-2004, 02:02 PM   #1
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Setting up email on an ip masqueraded box


Hello all,

I managed to get myself an old K6 450 which I have set up as an ip masquerading busybox. The machine now runs my web and mail server (Exim). My workstation (the masqued box) does not directly face the internet, and my question is how do I get mail delivered from the server to my inbox on the workstation?

I really don't want to install a pop server to get the mail.

I am thinking that the best way to do this is to keep another MTA on the workstation and set up the server's MTA to relay the mail, but it also seems redundant to have two MTAs running.

Is there a way to access mail on the server from the workstation without running a second MTA or using POP?

I am not asking for explicit instructions on how to set this up, just some theory on the best way to do this....

Both the server and workstation run gentoo, and they both have exim installed currently.

OFF TOPIC:

I also just wanted to say that ip masquerade is the coolest thing...it was totally easy to set up and I recommend it if you have an old box sitting in the closet. Finally I can mess around with new kernels and distros without my website going down!

Cheers.
 
Old 04-24-2004, 09:59 PM   #2
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
How about configuring the server to forwarding incoming port25 connections to port 25 on the workstation? You can do that with an iptables rule.
 
Old 04-24-2004, 10:07 PM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760

Original Poster
Blog Entries: 4

Rep: Reputation: 78
I don't want the workstation to be the main mail server though... it may not always be up, what I need is a way to get the mail from the server to my mailbox on the workstation on demand, so to speak.
 
Old 05-31-2004, 07:16 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760

Original Poster
Blog Entries: 4

Rep: Reputation: 78
Well, I just ended up installing a pop server on the server...and used iptables to only allow packets for port 110 from the private interface. Works like a charm...you can't even tell i'm running pop from the outside.

I did this because I just couldn't get my head around the exim docs on forwarding mail to the workstation without another mta running (if indeed it is even possible).
 
Old 06-01-2004, 05:48 AM   #5
kbcnetau
Member
 
Registered: Dec 2003
Location: South Australia (ex-Devon, UK)
Distribution: SuSE, Slackware, Fedora, Debian, Knoppix
Posts: 141

Rep: Reputation: 15
Have you looked at fetchmail?

<http://www.catb.org/~esr/fetchmail/>

Cheers
 
Old 06-01-2004, 06:03 AM   #6
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760

Original Poster
Blog Entries: 4

Rep: Reputation: 78
Geez, I'm an idiot. I totally knew about fetchmail but didn't even think about it. I will install it and give it a try just 'cause ESR is so cool. Plus no pop server running
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How does a masqueraded machine get scanned? oneandoneis2 Linux - Security 2 05-23-2005 05:52 AM
Getting Comcast Email on Home Linux Box mchirico LinuxQuestions.org Member Success Stories 0 06-28-2004 11:47 AM
Possible to Seup my linux box as an email server? espositopm Linux - General 2 02-28-2003 07:11 PM
Bypassing a router to a masqueraded PC DarkBeethoven Linux - Networking 1 06-01-2002 02:46 AM
Email Box Issue yisi Linux - General 2 03-22-2002 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration