Howto filter mail bounces with Thunderbird

Sunday, 5. August 2007 19:33 - daniel - Other - 0 Comments


My domain www.tac-ops.net is used by spammer to send usolicited bulk email (UBE), mostly stock spam. Just to make this sure: I'm not responsible for this, they forge the FROM header to make it look like that a user with a @tac-ops.net email address send this emails. Of course no one is using this box to send UBE, if you don't believe me, just look at Recived headers of the email and compare it to the DNS entry of tac-ops.net.

Anyway, since I want to use catchall for some reason, I receive large amounts of bounces from MTAs that can't deliver the mails because the user don't exist. If you look at the source code of a bounce message, you should fine a line like this:

Content-Type: multipart/report; report-type=delivery-status;
Most MTAs use this Content-Type for bounces. Now we have to create a filter. Go to Tools -> Message Filters. A new window pops up. Click New to create a new filter and enter a Name you like. Instead of "Subject" you have to select "Customise". Now write "Content-Type" in the input filed, press "Add" and then press "OK".



Now select "Content-Type" from the list. In the next list select "contains" and write "multipart/report; report-type=delivery-status;" in the last field. In the "Perform these actions" area you can e.g. select to delete this messages, or move them to another folder.



This should filter most of the bounces you'll receive.



Comments