-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Feb 16, 2004 at 01:04:54AM -0800, Benjamin J. Stassart wrote:

>1.12 had one serious bug if you try to use it with Qmail's preline it can
>generate errors in the system log and postpone delivery indefinitely.

Yuck.  Luckily I'm not using preline.  8-)

I see your fix looks like this:

# Grab remaining data, otherwise preline will break
my @garbage = <>;

Then @garbage is never used again.  This could use up a lot of memory if
the message is large and if Perl's optimizer doesn't figure out that
@garbage isn't used again.  I might do something like this:

1 while ( <> );

It might be even more direct to use something like seek() or sysread() that
I'm not really familiar with.

>There was another bug where duplicate addresses were being added to the
>whitelist when CDB databases were being used and the e-mail address was
>not lower case.  I just fixed this bug.  One can clean up any duplicate
>entries with:

I think I saw that happen with text lists too.  Perhaps it's best to lc()
every address when it's input?

>> My question is, is there a simple way to tell it addresses that I want
>> never to add (e.g., my own)?  I'm not on my whitelist, and I don't want to
>> be, but this added it with the first test I tried.  I can certainly insert
>> code locally to do it, but I wondered if there was a way already
>> implemented that I'd missed.
>
>Sure.  Just add another list to check.  If you use a text whitelist, you
>can use the * and @= wildcards.

Ah, that helps, thanks.  I made a 'do-not-white' list, told tmda-incoming
that it's a white list, and did not refer to it in TMDA's config at all.  I
put mailing list addresses in there along with my own address.
- -- 
Kyle Hasselbacher | WARNING:  The mass of this product contains the energy
[EMAIL PROTECTED]  | equivalent of 85 million tones of TNT per net ounce.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAMQX810sofiqUxIQRAiEBAKCxG5LtkNBhoXs7KFRAhgxiLJgoAgCgzNYk
Iy6ufcyQWyn7XUzhJm8nb3g=
=rjUJ
-----END PGP SIGNATURE-----
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to