On Thu, Mar 18, 1999 at 12:52:53PM +0100, torben fjerdingstad wrote:
> DNS says (made up names):
>
> customer.dk. <--- customer's zone
> IN MX 10 mail.customer.dk. <-- customer's server
> IN MX 20 mail.isp.dk. <--- Our server
>
> "Sorry. Although I'm listed as a best-preference MX or A for that host, "
> "it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)"
>
> Testing is difficult because I can only send mail from our networks,
> so rcpthosts is never consulted. Testing from outside is possible
> using telnet, but I don't have a shell account on the outside.
1) PLEASE don't "make up names". This makes it impossible to e.g.
track down problems with DNS for the people on the list.
2) Are you sure the zone files are authoritative? If there is a mistake
and you took the above lines from the zone file it may not reflect
the situation as in DNS. Same if you forgot to increment the serial.
3) Are you sure the setup with a lower prio MX is true (and WAS!!!)
at the moment qmail received the mail. Note that there are some
delays in DNS when updating DNS zones due to caching.
4) We have a setup like yours for some thousand domains and it works
perfectly for nearly two years (without having the domains in
smtproutes)
5) rcpthosts only tells qmail-smtpd which domains are allowed as
destination addresses in the envelope. It has nothing to do with
the error messages you get.
Local testing is perfect, as your problem is with further delivery
of the email and in that case (once it's on your system) rcpthosts
doesn't matter any longer.
--
SpaceNet GmbH | http://www.Space.Net/ | In a world without
Research & Development | mailto:[EMAIL PROTECTED] | walls and fences,
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | who needs
D-80807 Muenchen | Fax: +49 (89) 32356-299 | Windows and Gates?