[Mailman-Developers] sendmail

Ron Jarrell jarrell@vt.edu
Fri, 03 Aug 2001 21:46:38 -0400


Ok, if anyone else running sendmail would like to test this a bit,
I'd appreciate it.  You need to be running at least 8.11 I believe.
(And if you're running 8.11, you ought to be at 8.11.4)

Take your whatever.mc file and add this:

To your features:
FEATURE(no_default_msa)dnl

Down further:

DAEMON_OPTIONS(`Name=MTA')dnl
DAEMON_OPTIONS(`Port=587,Name=MSA,M=E,Addr=127.0.0.1')dnl

(Note, if you've already customized your MTA with DAEMON_OPTIONS,
that's fine, you just *have* to specify at least that much if you're going to
configure the MSA to do something non default.  Personally, I add a 
"Listen=32" to my MTA to expand my tcp listen queue.)


Then down at the bottom:

LOCAL_RULESETS
SLocal_check_rcpt
# If it's coming from port 587, let it through
R$*             $: $&{daemon_port}
R587            $#OK

SLocal_check_mail
# If it's coming from port 587, let it through
R$*             $: $&{daemon_port}
R587            $#OK


Note that the whitespace in those rules is tabs.

Now tell mailman to use the MSA port, which is 587, and see if
your throughput jumps up.  This will let you put, basically, any old
crap into the MAIL FROM or the RCPT TO, if it's coming from the
MSA port on the localhost, but continue to validate normal mail
traffic.  Of course, bogus addresses will bounce later anyway.
By not checking the mail from we avoid the "unresolvable sender
address" checks, which is ok, because we're assuming the inbound
mail was tested anyway.

Seems to work ok in my testing.

I've also re-written dgc's mc hacks that support the mm-handler he
wrote into a mailer directive, so you can include them into your MC
file as a "MAILER(mailman)", but that's a whole separate topic.

Note, this isn't the prettiest method, but it seems to work, and we're
looking at alternatives for 8.12.

I've also bundled up an incomplete sample mc file for a mail man machine
that includes the mailman mailer to handle the aliases that dgc wrote, 
as well as the proposed changes.  It's not intended to be used as is, 
it's a guide for merging it with your own installation.

It, my mailman.m4 configuration file, and the current copy I have from
dgc of mm-handler (which I haven't touched, and I only provide
here because he's on vacation and hasn't had a chance to release
a new version of it) can be found at:

http://babylon5.cc.vt.edu/~jarrell/mailman

Let me know if we're on the right track here.