1. There is a procmail mailing list, where questions like this are discussed. Warning: although not as cranky as the sendmail list, this group will encourage you to RTFM before posting your question. see http://mailman.rwth-aachen.de/mailman/listinfo/procmail for details.
2. Given that Martin seems to want both to write the Original To: destination to the log, in combination with the normal verbose output such as: From [EMAIL PROTECTED] Sat Nov 29 10:12:35 2003 Subject: FW: DMV VLF Calculator Folder: /var/spool/mail/joseph 4997 it turns out that it won't be easy to break the race condition between writing the "To: " target to the log, and the subsequent write of the additional verbose information. That's because the verbose output is written when the mail is delivered, and the "To:" line will come ealier, and won't be serialized with respect to the delivery output. It might be possible to serialize your entire procmail file to get the write output, if you don't mind defeating the potential parallelism. 3. Generrlly, when writing to the log, you'll want to add a newline after witing the line of information. The idiom for this is to first assign a variable for newline, NL=" " and then write to the log as follows: DEST=`formail -X "To:"` LOG='$DEST$NL" ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk