Re: sendmail, user catchalls, and other MTA hate

[prev] [thread] [next] [lurker] [Date index for 2006/05/30]

From: Zach White
Subject: Re: sendmail, user catchalls, and other MTA hate
Date: 23:59 on 30 May 2006
On Fri, May 26, 2006 at 03:02:37PM +0100, Bruce Richardson wrote:
> It's the .cf file that needs changing.  The sendmail configuration
> language is Turing complete and the sendmail binary is an interpreter for
> that language which just happens to deliver e-mail as a side effect, so
> it certainly can do this.  

FWIW, it was only the CF that needed changing. And it was so obvious, too,
I can't believe I didn't think of this in the first place.

cat >> /usr/share/sendmail/cf/openbsd-proto.mc << EOF
LOCAL_CONFIG
Kplus regex -d+ -s1,2 ^([^-_]+)[-_](.+)$
LOCAL_RULE_0
R$* <@ $=w. > $*        $: $(plus $1 $) <@$2.> $3 
EOF

Well, ok, that just makes sendmail change the - to a + at some point during
the delivery process, but it gets the job done which is all I care about at
this point.

Oh well. At least I got a nice long weekend away from software, and the hate
that entails.

-Zach

PS- For those that suggested using a different MTA, I have hate a plenty for
those too. But mainly, they don't satisfy requirement number 1 for me: coming
with my base system. Makes upgrades less hateful, I'm finding.
There's stuff above here

Generated at 03:00 on 01 Jun 2006 by mariachi 0.52