Networking Forums

Networking Forums > Computer Networking > Linux Networking > mail server behind router port forwarding 25 domain static ip postfix lonux

Reply
Thread Tools Display Modes

mail server behind router port forwarding 25 domain static ip postfix lonux

 
 
linux konqueror in progress
Guest
Posts: n/a

 
      06-21-2007, 07:01 PM
i have static ip
domain
port forwarded on my router to my server
http
shttp
ssl
webmin
vmware
virtual server
joomla
wordpress

have problem with recieving email.
domain eccesible by domain xxxxx.com, A record xxxxx.com with my ip
address
mx record localmachine.xxxxx.com , A record localmachine.xxxxx.com
with my domain ip address
router forwards the port 25 to this localmachine that is the mail
server.


need help to configure it to send and recive mail from outside of my
netrwork
port 25 open and forwarded .

what wioul be corect A record/mx record/router setup /ports/postfix
configuration to get this working bouth ways?

 
Reply With Quote
 
 
 
 
Jack Snodgrass
Guest
Posts: n/a

 
      06-22-2007, 01:28 PM
On Thu, 21 Jun 2007 19:01:12 +0000, linux konqueror in progress wrote:

> i have static ip
> domain
> port forwarded on my router to my server
> http
> shttp
> ssl
> webmin
> vmware
> virtual server
> joomla
> wordpress
>
> have problem with recieving email.
> domain eccesible by domain xxxxx.com, A record xxxxx.com with my ip
> address
> mx record localmachine.xxxxx.com , A record localmachine.xxxxx.com
> with my domain ip address
> router forwards the port 25 to this localmachine that is the mail
> server.
>
>
> need help to configure it to send and recive mail from outside of my
> netrwork
> port 25 open and forwarded .
>
> what wioul be corect A record/mx record/router setup /ports/postfix
> configuration to get this working bouth ways?


Not sure I fully understand what your asking... Let me describe my
setup. ( mail.domain.com is made up in this example )

firewall box with real ip address and mail.domain.com name.

port 25 on my firewall box is IPTABLES port forwarded to a mail
server ( vmware guest ) with a private 192.x.x.x ip address. The
mail server ( postfix ) answers with the mail.domain.com name

So if you telnet to my mail.domain.com port 25 address / port,
to end up with

Connected to mail.domain.com.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix
which is really 192.168.1.2 on my private network.

The MX record for my domain points to mail.domain.com

IPTables Masquerade takes card of the 192.168.1.2 mail server
sendming mail to the outside world. It appears as the IP Address
of my firewall.

--
D.A.M. - Mothers Against Dyslexia

see http://www.jacksnodgrass.com for my contact info.

jack - Grapevine/Richardson
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hosting Own Postfix Mail Server John Tilly Linux Networking 8 09-14-2007 03:35 AM
Question: Sticky Static IP (PPPoE) + Port Forwarding ssk Network Routers 9 03-15-2007 12:49 AM
Postfix configuration: Sending mail via external server David Allen Linux Networking 4 02-25-2005 01:44 PM
Static Port forwarding Chris Broadband Hardware 3 02-11-2004 01:07 PM
Inaccessible web server behind router inspite of port forwarding Swaroop Kumar Linux Networking 3 12-23-2003 03:48 AM



1 2 3 4 5 6 7 8 9 10 11