Short: Add addrs to GetMail config from Thor Author: roy@ebrown.demon.co.uk (Roy E Brown) Uploader: Author Version: 1.2 Type: comm/thor Requires: GetMail by Philip Stokes BounceSpam © 1997 Roy E Brown =============================== GetMail is © 1996-97 Philip Stokes (see below for a description) =============================== BounceSpam.thor will add the current message 'from address' to either the 'Kill Addresses' or the 'Allowed Addresses' section of GetMail's configuration file. The 'Kill' option is useful for automatically adding spammers to your kill list, as any mail from these addresses is automatically bounced back to the sender without being downloaded to your system. The 'Allowed' option allows GetMail to receive EMail from the specified addresses without asking the user for confirmation first. This option is configurable within GetMail - you should read the GetMail documentation carefully. You should manually delete the word 'any' from this section if you add new addresses. BounceSpam.thor assumes that you have the following 3 lines at the end of your existing 'Kill Addresses'; # =============================================================== # Allowed Addresses ... and these 2 lines at the end of the file: # EOF If you haven't touched these lines at all, then the script should work OK. This script will only work from within the EMail conference of Thor. Please ensure that the name of your EMail conference (near the top of the script) is correct. Any suggestions or comments about BounceSpam.thor, please email me. History V1.2 Added a new user variable, UULibPath, which is the full path and (23.2.97) filename for SMTP.conf. This is because the assignment to UULib: may not be present when the user reads mail and news whilst off-line. Thanks to Chris Malin for the suggestion. V1.1 Added support for adding 'Allowed Addresses' (16.2.97) V1.0 Private release (15.2.97) GetMail version 2.0 ========================= GetMail is an ARexx SMTP Daemon for AmiTCP and Miami. It is called by inetd whenever it receives an incoming call to port 25. GetMail handles all of the dialogue between your machine and the server. Incoming mail is passed to a temporary file in T: which is then passed to rmail for local delivery. GetMail does not acknowledge receipt of the mail item to the server until rmail has successfully delivered the mail to the destination mailbox. Additionally, the temporary file will not be deleted unless rmail reports a successful local delivery of the file. If an error condition occurs, GetMail will send an appropriate response to the server and shut down its connection. All mail transactions are logged to a file. The filename is determined by GetMail but the path to the logfile can be set in the config file UULib:SMTP.conf. The default is T: Basic rejection of unwanted mail is enabled and works on the sender's address. There must be an entry in UULib:SMTP.conf for each person whose mail you wish to reject, consisting of their email address or a string to match against that address. For example, mail from fred@foo.bar.com would be killed by the entries: fred@foo.bar.com foo.bar.com bar.com The first entry will only kill mail from fred@foo.bar.com, whereas the second will kill all mail sent from the machine foo.bar.com and the third will kill all mail from anyone on any machines in the domain bar.com. Mail from anyone included in that list is bounced back to them by the server for the reason "Access denied" and never actually downloaded to your machine. Another new feature for version 2 is the ability to actively accept or bounce any item of mail at the time of delivery, unless the mail item matches an entry in the kill list (see above) or a list of allowed addresses. This is a list similar in format to the kill list, which allows you to define addresses or strings to match against addresses from which mail will be automatically and silently accepted. You can include in this list the addresses of mailing lists and people from whom you regularly receive mail, and which you don't want to be asked whether you wish to accept or bounce the mail every time an item is delivered. Any mail from a sender not matched in either the kill list or allowed list triggers a requester allowing you the option to either accept or bounce the mail item without downloading it to your machine. As with the user list, an entry "ALL" in the allowed address list will disable the requester and cause all mail not matched to the kill list to be silently accepted. =============================== GetMail V2.0 is available from http://www.stokes.demon.co.uk/ Any problems with GetMail, email Phil =============================== ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 5094 2007 60.6% 23-Feb-97 10:39:16 BounceSpam.thor 4975 2061 58.5% 23-Feb-97 10:44:40 BounceSpam.readme -------- ------- ----- --------- -------- 10069 4068 59.5% 23-Feb-97 18:10:18 2 files