Don't send to sender, Unix-style

Took a while to get this one right, but I set up a filter system whereby an email is routed to everyone but it’s sender with only .qmail files and without need for Perl scripts etc.

It’s a pretty limited solution, a proper mailing list one implemented by ezmlm or Miles’ lm2 would probably be loads better. But hey, there’s more than one way to do it :-).

Make your .qmail file summat like this:

|/var/qmail/bin/condredirect [email protected] /bin/test $SENDER = "[email protected]"
|/var/qmail/bin/condredirect [email protected] /bin/test $SENDER = "[email protected]"
|/var/qmail/bin/condredirect [email protected] /bin/test $SENDER = "[email protected]" &[email protected]

Then set up the not*@ email addresses to forward to the right parties and setup everyone@ to go them all.

As you can see, this will become a pain in the ass to maintain when you start adding more people to it. Should have just done it properly.

Actually, bollocks, I’m going to use lm2 instead. This blows. Still worth documenting though. No idea is completely worthless, it can always serve as a bad example. :-)