|
|
|
|
|
|
| Author |
Message |
Juha-Heikki Lehtonen *nix forums beginner
Joined: 27 Feb 2005
Posts: 2
|
Posted: Sun Feb 27, 2005 12:44 pm Post subject:
no MX host for domain.tld has a valid A record
|
|
|
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
|
Posted: Sun Feb 27, 2005 1:31 pm Post subject:
VS: no MX host for domain.tld has a valid A record
|
|
|
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 |
|
 |
|
|
The time now is Sat Jan 10, 2009 2:57 am | All times are GMT
|
|
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
|
|