Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-23-2003, 09:41 AM   #1
Registered: Oct 2003
Posts: 32

Rep: Reputation: 15
Problem postfix with NAT ip i can't receive mails

Help needed
Dear linux users , i have just migrated to linux i dont have much knowledge about linux . I need help on postfix-2.0.16-3 configuration.

1. I have a registered domain name. ( )

2. I have 2 PCs on my LAN both of them having their IP 's NAT differently

Lets say PC AA and PC BB

PC AA is hosting my domain ( ) {O/S windows 2000}
PC BB is hosting postfix ( ) {O/S redhat Linux 9.0}

3. PC AA has no A and MX records configured. only configured just
for my webpage.


i.e , , bind , MX ,A records etc.....

i have surffed the internet for docs related to this topic but all in vein

I can send mail to internet say
but i can't receive when i reply to that mail.

I can send/receive mail on LAN only
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_privs = nobody
inet_interfaces = all
local_destination_concurrency_limit = 2
local_recipient_maps = unixasswd.byname $alias_maps
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain =
myhostname =
mynetworks =,,
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /etc/postfix/README_FILES
relay_domains = $mydestination
relay_recipient_maps = hash:/etc/postfix/relay_recipients
sample_directory = /etc/postfix/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
unknown_local_recipient_reject_code = 450

Last edited by adengua; 10-23-2003 at 10:26 AM.


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
I configure NAT and use "services ..." to save it but when I reboot there is no nat bruack Linux - Software 4 09-01-2004 02:38 AM
Susefirewall2 Nat Problem / nat 1:1 trubi Linux - Distributions 0 07-20-2004 05:50 AM
closing a postfix open relay behind a NAT mishunimi Linux - Networking 2 02-05-2004 06:32 PM
postfix with NAT ip .I can receive mails adengua Linux - Software 0 10-23-2003 09:33 AM
What's the difference between Linux-NAT and Sygate-NAT? yuzuohong Linux - Networking 0 08-07-2002 04:07 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:49 AM.

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