Re: [Exim] name resolution with mailman and exim

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Marc MERLIN
CC: exim-users, precision
Asunto: Re: [Exim] name resolution with mailman and exim
On Fri, 3 Nov 2000, Marc MERLIN wrote:

> I can tell exim not to verify the sender's address, but frankly, it doesn't
> make a big difference compared to all the DNS queries that have to happen.
> I'm guessing that by default, exim will have the same problem and hang until
> each domain in rcpt to has been successfully resolved.


Only if you set receiver_verify.

> I could tell exim to just spool mail right away (i.e. do not attempt
> immediate deliveries).


You could, but that isn't relevant to whether it looks up the
recipient's domains while receiving the message.

> Do I just want to set
> queue_only_load = 0
> or is there another way to do this?


Set queue_only. Or call Exim with -odq.

> That said, I'd much prefer another approach.
> Is there a way to tell exim: process whatever you can do right away,
> whatever resolves right now, and queue the rest?


No, because that is exactly what it does all by itself when delivering a
message. You can tune the resolver timeouts in Exim:

dns_retrans                                                                     


    Type:    time                                                               
    Default: 0s                                                                 


    The options dns_retrans and dns_retry can be used to set the                
    retransmission and retry parameters for DNS lookups. Values of zero (the    
    defaults) leave the system default settings unchanged. The first value is   
    the time between retries, and the second is the number of retries. It       
    isn't totally clear exactly how these settings affect the total time a DNS  
    lookup may take. I haven't found any documentation about timeouts on DNS    
    lookups; these parameter values are available in the external resolver      
    interface structure, but nowhere does it seem to describe how they are      
    used or what you might want to set in them.                                 


dns_retry                                                                       


    Type:    integer                                                            
    Default: 0                                                                  


    See dns_retrans above. 


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.