APANA WA Logo

Buying internet access in bulk for our members.

APANA® is the Registered Trademark of the Australian Public Access Network Association Inc.

Spam Bouncing

INTRODUCTION

I have just set up a utility called Spam Bouncer on Odyssey which you can use to delete spam mail from your inbox as it arrives. Spam Bouncer is a freeware utility by Catherine A. Hampton whose Web page describing how to set up the product is at http://www.spambouncer.org.

If you would like to enable Spam Bouncer for your Membership, you must follow the instructions below precisely. If you do not follow the instructions correctly, you could lose email! For the same reason, do this all in one session - don't follow half of the instructions and leave the other half for another day.

INSTRUCTIONS

  1. If you are on a PPP/SLIP connection (ie. not a shell or "plain text" connection), telnet to your Membership. If you don't know how to telnet to your Membership, what follows may be too complicated for you. However don't hesitate to email me with questions.
  2. Type "ln -s /usr/local/bin/spambounce/ spambounce" and press Enter. (If you can, copy the line above and paste it into your telnet session, to guard against typos.)
  3. Type "cp spambounce/.forward ." and press Enter
  4. Now you have a choice:
    (a) if you read your email from your shell Membership and want spam email to be sorted into a separate "spam-incoming" folder, type "cp spambounce/.procmailrc ." and press Enter.
    (b) if you read your email from your shell Membership and want spam email to be deleted, type "cp spambounce/.procmailrc_delspam ./.procmailrc" and press Enter.
    (c) if you read your email from a graphical mailer program eg. under Windows or Macintosh, type "cp spambounce/.procmailrc_pop ./.procmailrc" and press Enter.
    If you sometimes read your mail from the shell Membership then you can choose to use (a) or (b) above, however you won't be able to retreive certain suspicious or bulk emails using your POP mail client.
  5. Type "pico .forward" and press Enter.
  6. You are now in an editor called "pico". It is fairly simple to use; you can navigate using the arrow keys.
  7. Add your login name between the # and the " at the end of the first line. Then press ^x (hold down control and press "x"), then press "y", then press Enter.
  8. Type "pico .procmailrc" and press Enter.
  9. Add your login name to the end of the line near the top that says "LOGIN=". For instance, if your email address is malcolm@odyssey.apana.org.au, the line should read "LOGIN=malcolm".
  10. If you subscribe to any mailing lists, it is very strongly recommended (for safety's sake) that you make one other amendment. This is to find the lines that say:
    :0:
    * ^TOmailing-list@address.goes.here
    | $FORMAIL -A"X-Sorted: Bulk" >>$BULKFOLDER.
    
    and to modify the address "mailing-list@address.goes.here" to the submission address of the mailing list. If you subscribe to more than two mailing lists, feel free to duplicate the three lines above as many times as you want.
  11. Press ^x (hold down control and press "x"), then press "y", then press Enter.
  12. Test your setup by emailing yourself a message and seeing if it comes through. Then use Deja News to post a message to "alt.sex", and see if any spam mails come through! :-)

EXPLANATION

Basically what spambouncer does is the following:

For shell Members:

For Members with graphical mail clients:

ADVANCED USE

Spambouncer's database of spam domain names is updated on a regular basis. The current version is dated 31 October 1997. I will be keeping the database up to date, and these updates will automatically be available to all Members without any intervention on their part.

The instructions above are to set up the "lite" version of Spam Bouncer. The full version is a bit more complicated, and thus more likely to go wrong. Although the full version has also been installed on Odyssey, I CANNOT OFFER SUPPORT FOR IT. If you are interested in experimenting with it for yourself, check out the author's Web page referenced above. You will have to make a few more amendments to your .procmailrc file which are described in detail on that page.

The main difference between the full version and the lite version is that the full version automatically sends complaint messages to the spamsters' service providers. It also replies to any "suspicious" mails and tells the senders that their mail has been sorted into a bulk folder which you are unlikely to read. If they wish to send the message again, they can include a password in the subject line, and the email will then be sorted into your regular inbox.

Jeremy Malcolm

POSTSCRIPT

If you have friends who use a free email service such as Hotmail or Rocketmail, you will notice that Spam Bouncer assumes their messages to be suspicious, and sorts them into your blocked mail folder by default. To prevent this behaviour, you need to create a file called "nobounce" in your root directory containing the email addresses of Members whose mail you don't want to filter for spam. There should be one email address per line. You can also allow messages from an entire domain by prefixing the domain with a @ symbol in your nobounce file.

alec879@hotmail.com
sbn@microsoft.com
@microsoft.com
members@www.scifi.com
@scifi.com
rageflower@rocketmail.com
webmaster@fandom.net
@fandom.net
sfzines@geocities.com
diamonds@usa.net

I have written a script which makes it easy to add new entries to your nobounce file. It is called add2nb, and you can use it simply by entering a command such as the following from your Unix shell Membership:

add2nb user@domain.com

In fact, I recommend using the add2nb command rather than editing the nobounce file directly, because if you accidentally add a blank line to the nobounce file it can cause Spam Bouncer to stop working.

Disclaimer: This site is maintained by volunteers. We endeavour to keep the information up to date, but at times this may not be the case. If you find something amiss or a broken link, please inform the Webmaster.
Powered by FreeBSD