Lloyd Zusman <[EMAIL PROTECTED]> writes: > I'm writing a custom script that I can use as a pipe in the DELIVERY > step which will add the header that I want and then deliver my > message. The catch with this is that normally, I set DELIVERY to > "~/Maildir/", which means that my script would have to duplicate > TMDA's deliver-to-maildir logic.
Install Len Budney's `safecat', and then the script can be as simple as: #!/bin/sh reformail -A 'X-TMDA-Processed: yes' | maildir ~/Maildir/ Or if you use qmail/Courier, uncomment DELIVERY in your .tmda/config and do this from your .qmail/.qmail-default: | preline tmda-filter | reformail -A 'X-TMDA-Processed: yes' | maildir ~/Maildir/ _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
