> 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/
I hadn't known about safecat. I've already installed it, and I'm now going to write the script in your first suggestion above (or actually, a very slight variation of it). This will give me exactly what I've been looking for! Thank you very much. I'm now happy. -- Lloyd Zusman [EMAIL PROTECTED] _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
