Monday June 30 at 7:04pm, Brian Klug wrote: > Hi- > > I have SA working really well with procmail & IMAP (delivery via dmail). > > There is only one more thing I would like to do: When spam is moved to > the spam folder, I want it automatically marked as read. > > Is this possible? How?
Yes. You could add a Status: header, or modify an existing one if present, using 'formail' and the -a, -A, -i or -I option (man formail to figure out your best choice). The following is quoted from RFC 2076, Internet Message Headers: This field is used by some mail Status: Non-standard, delivery systems to indicate the should never status of delivery for this appear in mail in message when stored. Common transit. values of this field are: U message is not downloaded and not deleted. R message is read or downloaded. O message is old but not deleted. D to be deleted. N new (a new message also sometimes is distinguished by not having any "Status:" header. Combinations of these characters can occur, such as "Status: OR" to indicate that a message is downloaded but not deleted. Jim Cunning ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk