Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 5th February 2007, 06:56 PM
ganick Offline
Registered User
 
Join Date: Jan 2007
Posts: 3
Postfix and DNS error ?

Hi all,

We have RH9 Mail Server w/Sendmail, an old piece of hardware with lots of problems.
This is about to be replaced with new/better hardware (Athlon 64-bit, SATA RAID 1)
I try to setup this new mail server on Fedora Core 6 (Zod) x86_64 w/Postfix (MTA) and
Dovecot (MDA).
My Postfix configuration is as follows:
...
myhostname = mail.pireasnet.gr
mydomain = pireasnet.gr
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks_style = subnet
...
When I try to send mail between local users they don't get delivered.
Case A: When both mail servers, old and new, resides on the network the mails
sent to mail.pireasnet.gr (NEW) are automatically relayed to
collaboration.pireasnet.gr (OLD). The old one doesn't have the same accounts as the new one
so mails are lost. It seems that Postfix makes an MX lookup and relays the mail to the
server that DNS has recorded as 'default' mail server (existing MX record).
There is no 'relayhost' setting in /etc/postfix/main.cf
Case B:After editing /etc/postfix/access, and added some lines like
...
10.32.199 OK
192.168.1 OK
...
Note that there are no specific host ids but rather network ids, at least this
was my intention.
Done this because I thought that this will enforce the local users and will stop relaying.
Now I get: (/var/log/maillog)
...
Name service error for name=<IP-ADDRESS> type=A: Host found but no data record of requested type
...
Case C:Unplugged network cable from the old server, changed settings of the new
to match the old: hostname, IP address, myhostname etc.
Note that the old server has a valid MX record in its name server ! Now I get
/var/log/maillog):
...
status=bounced (mail for <...> loops back to myself)
...

First thing in the morning I will restore /etc/postfix/access with the original one, and
I will explicitly set the domain name into
mydestination= pireasnet.gr $myhostname, localhost.$mydomain, localhost, $mydomain

Any ideas of what else should I do ?
Should I try to upgrade Postfix ? 'yum' did not found new version of Postfix.
Please advise.

Thanks in advance.
Reply With Quote
 

Tags
dns, error, postfix

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Connection Error coolbeansdude51 Servers & Networking 1 22nd April 2007 12:15 PM
Postfix Error fedorafan2 Using Fedora 1 11th April 2007 04:30 AM
POSTFIX Error mick-porter Using Fedora 6 26th March 2006 11:02 PM
Postfix Error jim Servers & Networking 3 14th December 2005 12:23 PM
Postfix Error msg.. help gabriellai Servers & Networking 0 1st August 2005 03:59 PM


Current GMT-time: 16:16 (Wednesday, 26-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Hammamet Travel Photos - Norristown - Noyon Photos on Instagram