<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Mailman-Users] Sendmail Performance with mailman</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Yah, I have done that. Decent performance gain. However I still have to use DNS for sendmail itself (don't want an open relay), and I can't run Bind on the box locally so I guess I just have to live with it.</FONT></P>
<P><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: Ron Jarrell [<A HREF="mailto:jarrell@vt.edu">mailto:jarrell@vt.edu</A>]</FONT>
<BR><FONT SIZE=2>> Sent: Monday, May 06, 2002 8:41 AM</FONT>
<BR><FONT SIZE=2>> To: Bueschel, Eric W RWBAHC DIN-PACS</FONT>
<BR><FONT SIZE=2>> Subject: RE: [Mailman-Users] Sendmail Performance with mailman</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> At 10:18 AM 5/6/02 -0500, Bueschel, Eric W RWBAHC DIN-PACS wrote:</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> >Thanks for the answer. By default in Slackware, the </FONT>
<BR><FONT SIZE=2>> sendmail queue was running every 15 minutes, so I set it to 2 </FONT>
<BR><FONT SIZE=2>> minutes. That seems to have sped it up quite a bit. Now if </FONT>
<BR><FONT SIZE=2>> I could just solve the DNS problem without running Bind </FONT>
<BR><FONT SIZE=2>> locally...........</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> >Eric </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Didn't see the original problem, but if you're having issues </FONT>
<BR><FONT SIZE=2>> with the synchronous dns validation slowing you down, there </FONT>
<BR><FONT SIZE=2>> are ways to fix that, if you're willing to monkey with the </FONT>
<BR><FONT SIZE=2>> config files. In my .mc file I have</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> FEATURE(no_default_msa)dnl</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Then, later down, </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> DAEMON_OPTIONS(`Name=MTA')dnl</FONT>
<BR><FONT SIZE=2>> DAEMON_OPTIONS(`Port=587,Name=MSA,M=E,Addr=127.0.0.1,Listen=32')dnl</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Then at the bottom</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> LOCAL_RULESETS</FONT>
<BR><FONT SIZE=2>> SLocal_check_rcpt</FONT>
<BR><FONT SIZE=2>> # If it's coming out of port 587, let it through</FONT>
<BR><FONT SIZE=2>> R$* $: $&{daemon_port}</FONT>
<BR><FONT SIZE=2>> R587 $#OK</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> SLocal_check_mail</FONT>
<BR><FONT SIZE=2>> # If it's coming out of port 587, let it through</FONT>
<BR><FONT SIZE=2>> R$* $: $&{daemon_port}</FONT>
<BR><FONT SIZE=2>> R587 $#OK</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Then change your SMTP setting in mailman to talk to 127.0.0.1 </FONT>
<BR><FONT SIZE=2>> port 587.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> That does "live" delivery. If you're willing to accept the </FONT>
<BR><FONT SIZE=2>> delay from deferral, you can just start a second daemon on </FONT>
<BR><FONT SIZE=2>> the command line:</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> /usr/sbin/sendmail -bd -ODeliveryMode=defer </FONT>
<BR><FONT SIZE=2>> -ODaemonPortOptions=Name=MSA,Port=587,M=E,Addr=127.0.0.1</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> (Or any other port number you want, really. 587 is just the </FONT>
<BR><FONT SIZE=2>> standard MSA port).</FONT>
<BR><FONT SIZE=2>> </FONT>
</P>
</BODY>
</HTML>