Skip to main content

Ralsina.Me — Roberto Alsina's website

Very hacked-up qmail

I have been in­stalling qmail servers for a while.

I start­ed by us­ing Bu­ruce Guenter's un­trou­bled qmail+­patch­es RPM set, which was good, but he seems to have aban­doned them.

In the last year or so, I have kept work­ing on them, and now they are some­what more heav­i­ly patched.

I have added:

  • quo­­ta (bounce over-quo­­ta im­me­di­ate­­ly)

  • re­al­r­cp­t­­to (bounce im­me­di­ate­­ly un­ex­is­­tant ad­­dress­es)

  • tarpit­t­ing (add de­lays over n re­­cip­i­ents)

  • er­rno patch (to make it build on RH 9 or lat­er)

  • smtp au­th+tls (well, smtp auth and TLS ;-)

And mis­ce­la­neous changes to the de­fault con­fig so that, for ex­am­ple smtp­suth sim­ply works by de­fault.

I think this is prob­a­bly the eas­i­est way to in­stall a tra­di­tion­al mul­ti­-UID qmail on Red Hat-­like sys­tem­s.

It has been a lit­tle (not too much) work, be­cause when you pile patch over patch over patch, usu­al­ly the third one does­n't ap­ply, and this patch­set has 22 patch­es in it.

But... the qmail source is pret­ty clean for C!

I think I am go­ing to put it on sf.net or some­such.