Hi list.

Please help.

During mail delivery i've error:
"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")

Find this error in qmail-remote.c source:
-----------------------------------------
...
 prefme = 100000;
  for (i = 0;i < ip.len;++i)
    if (ipme_is(&ip.ix[i].ip))
      if (ip.ix[i].pref < prefme)
        prefme = ip.ix[i].pref;

  if (relayhost) prefme = 300000;
  if (flagallaliases) prefme = 500000;

  for (i = 0;i < ip.len;++i)
    if (ip.ix[i].pref < prefme)
      break;

  if (i >= ip.len)
    perm_ambigmx();  /* The message */

...
----------------------------------------
#tcpdump -i lo0 -tn
IP 10.0.0.6.63485 > 10.0.0.6.53:  64505+ ANY? <host>. (34)
IP 10.0.0.6.53 > 10.0.0.6.63485:  64505 1/0/0 NS ns.<host>. (51)
IP 10.0.0.6.53226 > 10.0.0.6.53:  64506+ MX? <host>. (34)
IP 10.0.0.6.53 > 10.0.0.6.53226:  64506 2/0/0 MX[|domain]
IP 10.0.0.6.50322 > 10.0.0.6.53:  64507+ A? <relay>. (34)
IP 10.0.0.6.53 > 10.0.0.6.50322:  64507 1/0/0 A <ip> (50)
IP 10.0.0.6.53182 > 10.0.0.6.53:  64508+ A? <relay2>. (35)
IP 10.0.0.6.53 > 10.0.0.6.53182:  64508 1/0/0 A <ip2> (51)

So (i >= ip.len) => (2 >= 2) - true and exit from perm_ambigmx() with
message above, but control/locals is empty all domains handle with
vpopmail control/virtualdomains.
I can't find my error, please help.


Regards,

Anton





Reply via email to