Re: [exim] catch all with pdns

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tijmen de Mes
Datum:  
To: exim-users
Betreff: Re: [exim] catch all with pdns
Hi,

I saw that lookups are working now:

node05:/home/tijmen# exim -bt *@jobs4all.ro
R: system_aliases for *@jobs4all.ro
R: virtual aliases for *@jobs4all.ro
R: dnslookup for t.w.k.demes@???
t.w.k.demes@???
     <-- *@jobs4all.ro
   router = dnslookup, transport = remote_smtp
   host mx3.concepts.nl [213.197.30.93] MX=100
   host mx2.concepts.nl [213.197.30.92] MX=100
   host mx1.concepts.nl [213.197.30.91] MX=100


So now I've to figure out how to handle the * ...

Tijmen

On 3 Dec 2008, at 15:34, Tijmen de Mes wrote:

> Hi,
>
> The dnslookups are done by:
>
> dnslookup:
>   debug_print = "R: dnslookup for $local_part@$domain"
>   driver = dnslookup
>   domains = ! +local_domains
>   transport = remote_smtp
>   same_domain_copy_routing = yes
>   # ignore private rfc1918 and APIPA addresses
>   ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :\
>                         172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :\
>                         255.255.255.255
>   no_more

>
> However I was not the one who has set it up, but now I have to
> reconfig it. So how do I change that so that it will work for *@..
>
> Tijmen
>
>
>      On 3 Dec 2008, at 14:54, Eli Sand wrote:

>
>> Tijmen wrote:
>>> node05:/home/tijmen# exim -bt *@jobs4all.ro
>>> R: system_aliases for *@jobs4all.ro
>>> R: virtual aliases for *@jobs4all.ro
>>> *@jobs4all.ro is undeliverable: Unrouteable address
>>
>> Without seeing *how* you do these lookups, it would probably be a
>> similar
>> copy of your router? that you use to perform these lookups. Instead
>> of
>> looking up the full email address (ie, the user and the hostname) to
>> get
>> your destination, you will want to strip off the username portion
>> from the
>> domain and replace it with "*" and then do your DNS lookup to see if
>> there's
>> a catch-all set up. You would do this AFTER the lookup for
>> individual
>> accounts (so that a catch-all doesn't override a valid account) in
>> DNS.
>>
>> Shouldn't be too tough - if you figured out how to configure Exim to
>> do a
>> MBOXFW lookup, I'm sure you can get this solved too :)
>>
>> Eli.
>>
>>
>> --
>> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
>> ## Exim details at http://www.exim.org/
>> ## Please use the Wiki with this list - http://wiki.exim.org/
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/