On Wed, Jan 19, 2005 at 01:50:35AM -0000, Adam Fowler said:
> 2005-01-19 01:35:30 1Cr4kr-0003ne-TM lowest numbered MX record points to
> local host: adamfowler.co.uk
> 2005-01-19 01:35:30 1Cr4kr-0003ne-TM == adam@??? R=dnslookup
> defer (-1): lowest numbered MX record points to local host
> 2005-01-19 01:35:30 1Cr4kr-0003ne-TM Frozen
>
> Oh dear.
MX record points to localhost, but you don't have a router that delivers
that mail locally, I assume.
> 2005-01-19 01:35:30 1Cr4kr-0003nX-MW => adam <adam@???>
> R=spamcheck_router T=spamcheck
> 2005-01-19 01:35:30 1Cr4kr-0003nX-MW Completed
>
> As far as I can tell the last two lines are a relic of performing the
> spamc operation before returning and printing the messages.
Yes.
> What's really bizarre about this is that I know for a fact that
> +local_domains is correctly being yanked out of mysql, as when I put this
> in the spamcheck in the domains field, it gobbles all my email.
>
> Even MORE bizarre is the fact I've set self = pass and no_more in the
> dnslookup router!!! So even if they do resolve to local they should still
> get passed onto the next router.
That router is too late, the mail should never get that far.
> Any random and weird ideas are much appreciated!
OK, see waht we can do.
> primary_hostname = mail.adamfowler.co.uk
We'll take note of that.
> domainlist local_domains = @ : ${lookup mysql {SELECT userid FROM domains }} : *.adamfowler.co.uk : p15150903.pureserver.info : adamfowler.co.uk
And that.
> localuser:
> driver = accept
> check_local_user
> transport = local_delivery
> condition = ${if eq {$domain}{$primary_hostname} {yes}{no} }
Hmmm. No sign of either adamfowler.co.uk or +local_domains here.
It only attempts local delivery for user@???.
Does adam@??? get delivered normally?
HTH,
--
--------------------------------------------------------------------------
| Stephen Gran | Bunker's Admonition: You cannot buy |
| steve@??? | beer; you can only rent it. |
| http://www.lobefin.net/~steve | |
--------------------------------------------------------------------------