Why this patch

I wanted to use Charles Cazabon’s queue-repair, but my /var/qmail/queue is a symlink, which it doesn’t tolerate. With this patch, it does (and also can run under Python 3).

Without this patch

With ?pkgsrc qmail, if your queue becomes corrupted for any reason, use queue-fix or another repair tool.

With this patch

Use queue-repair as you’d expect.

Get this patch

Download and apply queue-repair-0.9.0-symlink3-20180724.patch.

(Generated with git diff queue-repair-0.9.0 queue-repair-0.9.0-symlink3-20180724.)

Improve this patch

If you see a simpler way to do it, I’d love to know.