> From: Werner Schalk > Sent: Sunday, February 29, 2004 6:22 AM > > has anyone got a rule to get rid of empty emails that do not have > any content?
If you're running procmail, you can place this ahead of the rule that invokes SA: :0 B: * 1^0 * -9876543210^0 [^ ] empty_msg.mbox that's a <space><tab> in the square brackets above. The -9876543210 is a procmail idion which tells it to stop scoring immediately if the pattern matches. The condition above fails when the first non-blank character is seen in the message. Thus only empty, or all blank messages will pass, and will be delivered into empty_msg.mbox. You can change the file where empty messages are delivered to whatever you want.
