niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Postfix
no MX host for domain.tld has a valid A record
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Juha-Heikki Lehtonen
*nix forums beginner


Joined: 27 Feb 2005
Posts: 2

PostPosted: Sun Feb 27, 2005 12:44 pm    Post subject: no MX host for domain.tld has a valid A record Reply with quote

Hi,

I've been using postfix (2.1.1-1.12 installed from rpm) for receiving mail for a several virtual domains (LDAP) quite a while now,
but now I need to get it to send mail also. When I try sending (through mail-command for example) I get "no MX host for domain.tld
has a valid A record", and "Name or service not known" error bounced to sending user. (tried with many domains, all the same)

I've tried postfix chrooted and not, but no change. I've got following files in /var/spool/postfix/etc: hosts, localtime,
resolv.conf, services. And these files are the same as in /etc. /var/spool/postfix/lib includes at the moment libnss_dns.so.2 (had
there also ld.so.cache and other libnss*-files from /lib).

Mails are checked by amavis, and thought this had something to do with that, but problem is all the same if I remove content-filter.

What I'm missing??

With regards,
Juha

Here's my postconf -n.

command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
hash_queue_depth = 2
hash_queue_names = incoming,active,deferred,bounce,defer,flush,hold
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
local_destination_concurrency_limit = 1
local_recipient_maps = ldap:am
local_transport = maildrop
mail_owner = postfix
mail_spool_directory = /var/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maximal_queue_lifetime = 5d
message_size_limit = 31457280
mydestination = $myhostname, localhost.$mydomain, localhost, ldap:acceptdomains
myhostname =
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
owner_request_special = no
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
recipient_delimiter = +
relay_domains = 127.0.0.1, localhost
sample_directory = /usr/share/doc/packages/postfix/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_banner = SMTP at $myhostname
unknown_local_recipient_reject_code = 450
Back to top
Juha-Heikki Lehtonen
*nix forums beginner


Joined: 27 Feb 2005
Posts: 2

PostPosted: Sun Feb 27, 2005 1:31 pm    Post subject: VS: no MX host for domain.tld has a valid A record Reply with quote

Hi again.

Well, finally got it working. Something (don't really know what) was messed up in master.cf. So wrote it all over again (with help
of default cf) and now everything is working like a dream :)

Thanks anyway,

Juha
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Sat Jan 10, 2009 2:57 am | All times are GMT
navigation Forum index » Apps » Postfix
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix relay to specific domain and to everybody else golgotha Postfix 0 Thu Oct 23, 2008 11:11 pm
No new posts Need to convert domain name before relaying jfinn Postfix 0 Tue Sep 16, 2008 12:51 pm
No new posts Filtering internal mail and forwarding to another domain fmaa1 Postfix 0 Wed Apr 30, 2008 12:50 pm
No new posts Postfix sending problem for local domain remote email monkey_magix Postfix 0 Mon Sep 10, 2007 10:17 am
No new posts Newbie question: How to forward a domain to a mailbox? leei Postfix 0 Fri Aug 24, 2007 4:55 pm

Web Advertising | Credit Counseling | Magazine Subscriptions | Bad Credit Mortgages | Mortgage Calculator
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.9806s ][ Queries: 16 (0.2806s) ][ GZIP on - Debug on ]