The trick to automatically delete email that spamassassin has tagged as spam has been well documented: http://forums.westhost.com/phpBB2/viewtopic.php?t=1204
But as a relative newbie, I stumbled on an alternative to this that I haven't found mentioned before. It is probably obvious to the more-knowledgeable, but it wasn't to meops: so I thought I'd pass it on.
I didn't want my spam deleted -- I wanted it sent to a special mailbox that I reserve just for spam. This way, I can easily review the email using IMP or NeoMail for false-positives. So, I first created a new email account, called bulkmail. Then, following the procmail instructions followed above, I redirected the spam to this directory.
So instead of adding this to procmailrc:
you add:Code::0: * ^X-Spam-Flag: YES /dev/null
Now I just log in to my bulkmail@mydomain.com email, and I can review the spam, forward non-spam, etc. This was a big help when I was on the road, and using IMP to check my mail. I get some 100+ spam a day, so within a few days, my inbox was overloaded with mail that Spam Assassin already tagged. This way, it is all forwarded to my bulkmail address for checking on later.Code::0: * ^X-Spam-Flag: YES /var/spool/mail/bulkmail
Dan
Results 1 to 6 of 6
-
11-23-2003, 12:25 PM #1
send spam to alternate email address
-
11-23-2003, 04:58 PM #2
Procmail never ceases to amaze
This is a very good alternative to deleting spam mail and to moving it to mailboxes that are only accessible via SSH and Pine (e.g. /mail/possible_spam). Thanks for posting this. I'm going to refer it to someone I had initially set up with the move-spam-to-Pine-accessible-folder solution. This would be much easier for him to use.
Fayez Zaheer
-
11-23-2003, 08:46 PM #3
Hey, for all the help I've gotten on these boards, I'm glad I can pay some back!
-
03-13-2004, 11:04 AM #4Junior Member
- Join Date
- Oct 2003
- Location
- Belgium, Europe
- Posts
- 4
This looks very nice.
But I have not figured out how I can acces the mails (using IMP like you suggest) that I send to /var/spool/mail/bulkmail ? I see they are delivered there in that file, but I have no idea how to access it.
Have just spent a day learning the basics of procmail and spamassassin and my head is spinning around :roll:
-
03-13-2004, 11:35 AM #5
If you have set up bulkmail as an email/ftp account you should be able to access it either via your email program or using the browser webmail( like neomail). In your email program you would create an account like your main one but you would use bulkmail@yourdomain.com for the username and then the password you set for that account. If you access if via browser webmail then you would simply use bulkmail as the username and then the password.
Originally Posted by timvdh
Shawn
Please remember your charity of choice: http://www.redcross.org
Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson
-
03-13-2004, 01:28 PM #6Junior Member
- Join Date
- Oct 2003
- Location
- Belgium, Europe
- Posts
- 4
Thanks for the help,
It works nows!
Similar Threads
-
SpamAssassin -> Procmail -> Uebimaiu spammail folder
By PeteF in forum E-mail / FTP ManagementReplies: 17Last Post: 05-25-2010, 01:54 PM -
spam with illegal headers crashing my email...
By Pema in forum E-mail / FTP ManagementReplies: 9Last Post: 07-12-2004, 07:56 PM -
SPAM In General
By JDE in forum E-mail / FTP ManagementReplies: 31Last Post: 06-23-2004, 01:55 PM -
Immediate Spam on New Email Addy
By murf in forum E-mail / FTP ManagementReplies: 6Last Post: 05-12-2004, 01:37 PM -
unable to send email to extrenal email address
By <-- R O B --> in forum E-mail / FTP ManagementReplies: 1Last Post: 01-15-2004, 04:16 AM
ops: so I thought I'd pass it on.
Reply With Quote