For example, here are 'Before' and 'After' entries in the sendmail 'aliases' file which enable this filter to process inbound emails before they are delivered to the mailing list:
Before: listname: "|/usr/local/majordomo/wrapper resend -l listname -h hostdomain.com listname-list" After: listname: "|/local/bin/python /local/bin/nohtml.py |/usr/local/majordomo/wrapper ...
Notice that, in this context, you must explictly invoke the Python interpreter in the alias pipeline. This is because there is no shell interpeter present at the time the alias is invoked, so the usual #! shell invocation found in the first line of the script will not work.
Tim Daneliuk email@example.com