POP mail receiving issue

Taking care of your Linux box.
Lance Naik
Posts: 41
Joined: Wed Nov 08, 2006 2:40 am

POP mail receiving issue

Postby Learner » Sat Sep 26, 2009 12:20 pm


Dear All !

In my organization I have connected DSL line directly to Server "NIC1" having Public IP provided by the ISP, "NIC2" is containing private IP of my network.
Server is configured as proxy and local mail server. But when I want to receive mails from any other POP3 account my server do not allow me to do that.

OS on the server is FreeBSD 6.3, how can I configure the server to forward the 110 & 25 traffic from NIC2 to NIC1 as in linux masquerading will resolve the issue. For 80 port traffic I have configure a "IPNAT.RULE" as

map vr0 -> 0/32
rdr fxp0 0/0 port 80 -> port 8080 tcp

No ipfw/ipfs configured.

Waiting for your responce.
Thanks & Regards

Muhammad Ali

Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore

Postby lambda » Mon Sep 28, 2009 12:18 pm

if the system is running a mail server, you don't want to redirect incoming port 25 email to some other host.

the first line (map) should take care of the problem. if you can't reach pop servers outside your network, are you sure it's because of nat issues? it's more likely a dns issue. what happens when you give your mail client an ip address instead of a hostname?

your map line can be improved with:

Code: Select all

map vr0 -> 0/32 portmap tcp/udp auto
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?

Return to “Administration”

Who is online

Users browsing this forum: No registered users and 1 guest