<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [Mailman-Users] Long delay for qrunner ?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2713.1100" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hmm I wonder some thing...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>My mailman linux server is behind a 
firewall.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>[internet]</FONT></DIV>
<DIV><FONT face=Arial size=2>\/</FONT></DIV>
<DIV><FONT face=Arial size=2>router</FONT></DIV>
<DIV><FONT face=Arial size=2>\/</FONT></DIV>
<DIV><FONT face=Arial size=2>MAIN-SERVER (xxx.yyy.com) (A)</FONT></DIV>
<DIV><FONT face=Arial size=2>\/</FONT></DIV>
<DIV><FONT face=Arial size=2>MAILMAN SERVER (lnx.xxx.yyy.com) (B)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When some person sends an mail to <A 
href="mailto:test@lnx.xxx.yyy.com">test@lnx.xxx.yyy.com</A>&nbsp;, the server 
(A) sends it to (B).</FONT></DIV>
<DIV><FONT face=Arial size=2>Webpages are get by <A 
href="http://lnx.xxx.yyy.com/">http://lnx.xxx.yyy.com/</A> and Apache redirects 
it on (A) to <A href="http://xxx.yyy.com:81/">http://xxx.yyy.com:81/</A>. This 
last url is port forwarded from the router to <A 
href="http://internal-ip-server(B):80/">http://internal-ip-server(B):80/</A>&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Outgoing mail from mailman :</FONT></DIV>
<DIV><FONT face=Arial size=2>SMTPDirect module to 127.0.0.1 port 25 
(sendmail)</FONT></DIV>
<DIV><FONT face=Arial size=2>Sendmail is configured to not deliver directly but 
send all mail to server (A). </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>DNS master is (A) (outside requests and backup for 
internal LAN)</FONT></DIV>
<DIV><FONT face=Arial size=2>DNS slave is (B) (For internal LAN 
requests)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>So i do not think it is an MTA DNS resolving stuff. 
Maybe i am wrong but all the DNS resolvings at above situation are on Server 
(A). Because there are the outgoing messages real processed for the internet. I 
see there the mx lookups and not on server (B).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Danny.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=Eric.Bueschel@CEN.AMEDD.ARMY.MIL 
  href="mailto:Eric.Bueschel@CEN.AMEDD.ARMY.MIL">Bueschel, Eric W RWBAHC 
  DIN-PACS</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=mailman-users@python.org 
  href="mailto:mailman-users@python.org">mailman-users@python.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, April 26, 2002 11:05 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Mailman-Users] Long delay 
  for qrunner ?</DIV>
  <DIV><FONT face=Arial size=2></FONT><BR></DIV>
  <P><FONT size=2>Ok, I am also seeing that problem, below is an excerpt from 
  the faq.&nbsp; I am using sendmail for my MTA, how would I turn this off on my 
  box? I looked in README.SENDMAIL and it didn't address it.</FONT></P>
  <P><FONT size=2>Eric</FONT> </P><BR>
  <P><FONT size=2>Q. I'm getting really terrible performance for outgoing 
  messages. It seems that if the MTA has trouble resolving DNS for any 
  recipients, qrunner just gets really slow clearing the queue. Any ideas? 
  </FONT></P>
  <P><FONT size=2>A. What's likely happening is that your MTA is doing DNS 
  resolution on recipients for messages delivered locally (i.e. from Mailman to 
  your MTA via SMTPDirect.py). This is a Bad Thing. You need to turn off 
  synchronous DNS resolution for messages originating from the local host. 
  </FONT></P>
  <P><FONT size=2>In Exim, the value to edit is receiver_verify_hosts. See 
  README.EXIM for details. Other MTAs have (of course) different parameters and 
  defaults that control this. First check the README file for your MTA and then 
  consult your MTA's own documentation. </FONT></P><BR>
  <P><FONT size=2>&gt; -----Original Message-----</FONT> <BR><FONT size=2>&gt; 
  From: Danny Terweij [<A 
  href="mailto:danny@terweij.nl">mailto:danny@terweij.nl</A>]</FONT> <BR><FONT 
  size=2>&gt; Sent: Friday, April 26, 2002 6:49 AM</FONT> <BR><FONT size=2>&gt; 
  To: jonc@nc.rr.com; mailman-users@python.org</FONT> <BR><FONT size=2>&gt; 
  Subject: Re: [Mailman-Users] Long delay for qrunner ?</FONT> <BR><FONT 
  size=2>&gt; </FONT><BR><FONT size=2>&gt; </FONT><BR><FONT size=2>&gt; From: 
  "Jon Carnes" &lt;jonc@nc.rr.com&gt;</FONT> <BR><FONT size=2>&gt; &gt; Are 
  messages going out from Mailman?&nbsp; In otherwords, is </FONT><BR><FONT 
  size=2>&gt; qrunner stuck on</FONT> <BR><FONT size=2>&gt; one</FONT> <BR><FONT 
  size=2>&gt; &gt; or two messages?</FONT> <BR><FONT size=2>&gt; 
  </FONT><BR><FONT size=2>&gt; Every message is going out. But qrunner is very 
  slow (or </FONT><BR><FONT size=2>&gt; something else).</FONT> <BR><FONT 
  size=2>&gt; </FONT><BR><FONT size=2>&gt; With ps ax i see :</FONT> <BR><FONT 
  size=2>&gt; </FONT><BR><FONT size=2>&gt;&nbsp; 4609 
  ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R&nbsp;&nbsp;&nbsp;&nbsp; 41:19 
  /usr/bin/python -S </FONT><BR><FONT size=2>&gt; 
  /var/mailman/cron/qrunner</FONT> <BR><FONT size=2>&gt; </FONT><BR><FONT 
  size=2>&gt; Danny.</FONT> <BR><FONT size=2>&gt; </FONT><BR><FONT size=2>&gt; 
  </FONT><BR><FONT size=2>&gt; </FONT><BR><FONT size=2>&gt; </FONT><BR><FONT 
  size=2>&gt; </FONT><BR><FONT size=2>&gt; 
  ------------------------------------------------------</FONT> <BR><FONT 
  size=2>&gt; Mailman-Users mailing list</FONT> <BR><FONT size=2>&gt; 
  Mailman-Users@python.org</FONT> <BR><FONT size=2>&gt; <A 
  href="http://mail.python.org/mailman/listinfo/mailman-users" 
  target=_blank>http://mail.python.org/mailman/listinfo/mailman-users</A></FONT> 
  <BR><FONT size=2>&gt; Mailman FAQ: <A 
  href="http://www.python.org/cgi-bin/faqw-mm.py" 
  target=_blank>http://www.python.org/cgi-bin/faqw-mm.py</A></FONT> <BR><FONT 
  size=2>&gt; </FONT></P></BLOCKQUOTE></BODY></HTML>