Weblog entry #5 for GoodTimes

GreyListing with sendmail
Posted by GoodTimes on Sun 15 Oct 2006 at 18:39
Tags: none.
finally got around to getting my DCC and it's minion packages back to standard. Meaning, I removed my custom packages as the bug i submitted (or noticed, can't remember which now) was fixed. IPv6 support was necessary for things to work.

Now, that i've gone back to the standard package and still had the same problem (greylisting not working), I wondered about my earlier diagnosis. Unfortunately, I didn't keep very good notes then (something i'm hoping this blog helps with) so I can't re-diagnos without considerable effort, and i'm not willing to do it, so there. But without those notes, I just know that I got it all to work using a custom package and some config tweaking.

So, I figured, I'd start over. After a few hours of half-assed configuring and reading of man pages and googling I realized that no one had my particular issue as I was describing it. That usually means I didn't read the documentation right or I need to submit a bug.

I opted for the former

so anyway, it turns out that the GREY_CLIENT_ARGS= settings must be set GREY_CLIENT_ARGS=-Gon in order for greylisting to work with sendmail

i had read it as if I just set GREY_ENABLE=on it would be enough. That will turn it on, but sendmail won't know about it. Sendmail knows about it through the milter interface (dccm), THE CLIENT PROGRAM. And the only way to tell dccm about it during startup is by setting GREY_CLIENT_ARGS.

It is spelled out very clearly in the dcc-common file in /etc/default "to turn on greylisting in the dccm and dccifd DCC clients.". But it took me a while to put it all together that (it seems so simple and straightforward now that i wonder what my problem was. I can only imagine it was my mistaken belief that the DCC server got out in front of sendmail. While this flies in the face of everything I know about servers and such it's an example of how a bad beginning assumption can waste a while lot of time).

There are a couple of startup bugs in the DCC packages, but they've been reported and fixes will be coming out, so using this with sendmail is really easy if you are clear headed.

 

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Mail Filtering

Quick Site Search