Re: [exim] not your average lowest numbered MX record points…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Adam Fowler
Date:  
À: exim-users
Anciens-sujets: Re: [exim] not your average lowest numbered MX record points to local host...
Sujet: Re: [exim] not your average lowest numbered MX record points to localhost...
I've figured it out. Believe it or not, it's because when the spamcheck
was being executed it wasn't explicitly specifying the configuration file.
The one exim picked by default (where the RPM installed it) was
/etc/exim.conf which is different from the one my /etc/rc.d/init.d/exim
script points at (/etc/exim/exim.conf).

I sym linked the /etc/exim.conf to t'other one and it all worked fine.
Most annoying. Also had to put the squirrelmail server
(mail.adamfowler.co.uk) in the local domains table too. (thanks for the
obvious tip!)

Hope this helps some other poor muppet like myself.

Am unsubscribing now. Cheers.

Regards,

Adam.

> 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 |
> |
>  --------------------------------------------------------------------------

>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>