posted by steve | Category: Useful Items That I Forget | | 1 Comment ยป

Another one that I don’t have to fix often so I’ll likely forget it.

Qmail error “Although I’m listed as a best-preference MX or a for that host, it isn’t in my controls/locals file, so I don’t treat it as local. (#5.4.6)”

It shows up in the log concatenated:

failure: Sorry._Although_I’m_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn’t_in_my_cont
rol/locals_file,_so_I_don’t_treat_it_as_local._(#5.4.6)/

Anyway, I fixed it, hopefully correctly, by placing the hostname in the /var/qmail/control/locals file and the /var/qmail/control/rcpthosts file and restarting qmail.

One Response to “Qmail “Although I’m listed as a best-preference mx or a for that host””

  1. Thanks for the hint! I have this problem with two of my customers’ websites and I was pulling my hair for 2 weeks now! I did as you told “I fixed it, hopefully correctly” ;)

Leave a Reply