jknacnud Posted July 28, 2004 Share Posted July 28, 2004 I use the email program PINE on a freeBSD Unix box. I had this idea that if I moved all spam that I get into a folder/file I could setup a cronjob to automatically forward spam in that file to spamcop using my special spamcop spam submission email address. Therefore, I made a folder in PINE called "spam" and moved tons of spam into it. Then I went to test the process to see if it would actually work with a file with 3 spam messages in it. From my command line I ran this: # cat spammailfile | formail -i "X-Anti-spam-Header: SpamCop" -s procmail In my procmailrc file I put this: # Reprocessed mail to be sent to SpamCop :0 * ^X-Anti-spam-Header: SpamCop !submit.NtNi9mungedlYhDQ[at]spam.spamcop.net I check my spamcop account and didn't see any link to process the spam, nor did I get a link in my email to process. I changed the procmailrc recipe to send to one of my junkmail email addresses and ran the command again and all three message got sent there just fine. However, I noticed that the headers had my information all over it now, like it came from me. I also noticed that the return-path is a different email address and it may be that mail submitted to my special spamcop submission address needs to be from my spamcop registered email address. QUESTIONS: 1) Is this an idea that I should continue to pursue, or is the fact that the headers being sent are now going to show that they came from me cause a problem for me, like showing me as the spammer? 2) If this is a bad idea, or approach to the idea, what other ways are there of automating the submission process so that I don't have to forward each and every spam email message to that address? Thanks, Jonathan Duncan Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.