SUMMARY: Sendmail map processing order

From: Greg Kaloutsis <gregk_at_qld.gov.au>
Date: Thu Oct 23 2003 - 19:01:46 EDT
Thank you to R A Lichtensteiger for the quick reply and advise.

It would appear that the change can be done but not with out serious 
changes to the mc file.
So I guess if it aint broke don't try to fix it.

Reto did point me to some usefull timeout tuning parameters which I will 
fine tune.

Thanks again...



-------- Original Message --------
Subject: 	Re: Sendmail map processing order
Date: 	Thu, 23 Oct 2003 02:13:52 -0400
From: 	R A Lichtensteiger <sunmanagers@throwawaydomain.com>
To: 	Greg Kaloutsis <gregk@qld.gov.au>
References: 	<3F975836.6050204@qld.gov.au>



Greg Kaloutsis wrote:

<> Currently under debug sendmail processes an email from gregk@qld.gov.au 
<> to gregk@iie.qld.gov.au like this:
<>    map_lookup(dequote, gregk) => NOT FOUND (0)
<>    map_lookup(host, iie.qld.gov.au) => iie.qld.gov.au. (0)
<>    map_lookup(mailertable, iie.qld.gov.au) => smtp:[1.2.3.1]:[1.2.3.2] (0)
<> 
<> We would like to change it so that sendmail does the lookup in the 
<> mailertable and upon a find stops looking further and delivers.

You could do this, but you'd need to do some fairly serious hacking at
the sendmail config .mc files ...  If you have to ask how/if you can do
this, you probably shouldn't -- at least not on a production box <grin> 

<> If the order cannot be changed can the time it spends on the host lookup 
<> be set ?

Indeed -- the follwoing parameter descriptions come from cf/README in the
sendmail 8.12.10 source tarball. (They exist much further back than
that, though -- I just don't keep the build directory around)

Timeout.resolver.retrans = [varies]

  Sets the resolver's retransmission time interval (in seconds).  Sets
  both Timeout.resolver.retrans.first and Timeout.resolver.retrans.normal.

Timeout.resolver.retrans.first = [varies]

  Sets the resolver's retransmission time interval (in seconds) for the
  first attempt to deliver a message.

Timeout.resolver.retrans.normal = [varies]

  Sets the resolver's retransmission time interval (in seconds) for all
  resolver lookups except the first delivery attempt.

Timeout.resolver.retry = [varies]

  Sets the number of times to retransmit a resolver query.  Sets both
  Timeout.resolver.retry.first and Timeout.resolver.retry.normal.

Timeout.resolver.retry.first = [varies]

  Sets the number of times to retransmit a resolver query for the first
  attempt to deliver a message.

Timeout.resolver.retry.normal = [varies]

  Sets the number of times to retransmit a resolver query for all
  resolver lookups except the first delivery attempt.

Defaults are 5s timeout per request with 4 requests before moving on.

Reto
-- 
R A Lichtensteiger		rali@tifosi.com

  2:04 p.m. An oblivious solipsist on a loud motorbike went
            up and down, up and down Shirley Boulevard.




-- 
Gregory Kaloutsis
Govnet
Information and Communication Technology
Information Economy Technology
Department of Innovation and Information Economy
Ph: 61 7 3224 2569
Fax: 61 7 3225 1433
********************************************************
Whole of Government email address! Have you got one yet?
********************************************************
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Oct 23 19:01:38 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:20 EST