On Tue, 4 Jun 2002, M. Brownsworth wrote: > Suppose a recipient wanted a message that had been marked as spam by > mistake, intercepted, and archived. Is there a way to deliver this > specific message to the recipient, preventing it from being > intercepted again? [...] > BTW, procmail is my LDA.
What you've neglected to tell us is whether spamassissin (or spamc) is invoked by procmail, or is invoked as a sendmail milter; and also to say whether the interception-and-archiving is performed by procmail. The degree to which you need to bypass procmail as well as bypassing sendmail is important. The following all assumes that the re-delivery process is already running under the UID of the desired recipient, and that procmail was compiled with the correct value for $DEFAULT. If all you need to do is bypass sendmail: formail -s procmail < /var/log/spam/$file If you need to bypass procmail filtering as well: formail -s procmail -m /dev/null < /var/log/spam/$file If you want other procmail filtering but need to strip off spamassassin markup first: formail -s spamassin -d < /var/log/spam/$file | formail -s procmail You can hopefully extrapolate from there, depending on exactly what it is you need to accomplish. _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk