realrcptto and ezmlm

Josh Trutwin <[email protected]> Mon, 12 Sep 2005 10:29:29 -0500
Newsgroups gmane.comp.sysutils.bgware
Message-ID <20050912102929.00002dfc@c16360>
I have a real RCPTTO solution based on help from this list which
stores acceptable message recipients one per line in a text file
called okmailto.in which is converted to CDB format and the following
mailfront rules reject anyone not listed in the file:

k*:[[/var/qmail/control/okmailto.cdb]]
d*:![[/var/qmail/control/okmailto.cdb]]:Sorry, bad address

The problem with this comes with ezmlm's opt-in response to a mailing
list subscription request.  The reply-to address is auto-generated,
for example a recent request to subscribe to a mailing list I created
is:

fall05-sc.1126537911.fjijeoclnmfmgcmeelcj-josh=netbits.us@ics311.com

I thought I'd be clever and add "fall05*@ics311.com" to okmailto.in,
but that wildcard seems to be ignored.

Should I add another mailrule (before the above rules):

p*:fall05*@ics311.com

This seems to work but I wanted to fly it by this group to see if
maybe it's not the best solution.

Thanks,

Josh