On Wed, May 16, 2001 at 11:24:44PM +0000, Christopher Tolley wrote:
>
> I wish it were that simple. Here is the log entry with error:
>
> May 16 13:18:10 spoolserver qmail: 990037090.207318 delivery 2882: failure:
> Sorry._Although_I'm_listed_as_a_best-pref
>
>erence_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)/
>
> As this error was occuring (multiple times) I checked the morercpthosts.cdb
> and morercpthosts files. Both files contained the entry for the domain in
> question. Once I copied all the entries from morercpthosts to rcpthosts,
> the errors stopped and mail was spooled properly.
This was a coincidence. rcpthosts and morercpthosts have nothing to do with
this error. Those files are consulted *only* by qmail-smtpd, and only when it's
deciding to accept or reject a RCPT TO address during the SMTP conversation.
The above error message is generated by qmail-send, after qmail-smtpd has
already queued the message and died.
My guess is that you added an entry to locals or virtualdomains and didn't HUP
or restart qmail-send. At some time in the course of screwing with your
rcpthosts files you restarted qmail, so that your locals/virtualdomains changes
took effect and things started working again.
Chris
PGP signature