Updates and uploads .procmailrc filter
- Size
- 12K (12,704 bytes)
- Added
- 2026-11-19 22:44
- Downloads
- 2
- Long Description
- mailto:kenny@bgnett.no $VER: AddProcmail 1.2 (17.7.97) Copyright (C) 1997 by Digital Surface/Kenneth "Kenny" Nilsen. All rights reserved. NEWS: o Only search for duplicates when adding from newsgroups o More settings o Fixed bug with searching new header files (no search performed). o Improved text o Resource links to Procmail archive, FAQ and info (see below) INTRODUCTION o Are you sick of getting spam emails ? o Doesn't an email to postmaster/abuse stop it ? o You can't preview emails before download to kill unwanted mail ? o You don't want to be online to kill unwanted emails - correct ? If you can answer yes to all of these questions, then this will might be the solution for you. If your ISP mailserver uses Procmail to deliver emails to you, and the account you have is at the same server as the email server, you can use a file in your $HOME dir called '.procmailrc'. This is a filter file that can sort, forward, copy, a.s.o., all e-mails you get. You don't even have to be online to activate it - it's all done automatically locally at your ISP's machine at every new e-mail that arrives for you. You can also use Procmail to remove unwanted emails and that is what this package is based on. This script will automagically create a .procmailrc header file if you don't already have one. When you get an e-mail or news message that you don't want to receive in e-mail in the future you just invoke the script. It will then format and add the domain of the current message header as an entry in the .procmailrc file on your disk. The entry tell Procmail to send these messages to /dev/null (ala NIL:) next time you get email from this domain in your $HOME dir at your ISP. it will be handled while you're not there as well. Next you can optionally upload the updated .procmailrc file to your account. I have experienced that this has reduced spam mail to about zip-zero at my account. I may get a spam mail once a week or less from a new domain, but it gets added to the .procmailrc file immediatly and then emails from this domain cannot be downloaded by Thor (or YAM, Elm, Pine for that matter if you use those instead..) in future. Also a big thanks to Petter Nilsen/ Ultima Thule for providing me with more than 700+ domains used in the .procmailrc file in the archive. USAGE: ------ 1) Install the script 'AddProcmail.thor' in Thor:Rexx/ 2) Edit the header in the arexx script (see right below here) 3) Assign the script to a function key in Thor for convinient use --- /* ** $VER: AddProcmail.thor 1.2 (17.7.97) ** ** © by Kenneth 'Kenny' Nilsen - Freeware ** mailto:kenny@bgnett.no ** http://www.bgnett.no/~kenny/ ** ** Add an entry to the .procmailrc file and upload to server. ** Also initializes new header file if one don't already exists. ** Must be invoked from Thor! */ /* Please modify the next variables */ /* Please enter the name on your email conference. When this is detected * the search routine is disabled. This is because, if you get a spam * email it is "guaranteed" not in the filterfile. However, I usually add * spam domains when I see them in newsgroups as well since they are likely * to end up in email too later. You cannot filter newsgroups therefor you * need to check if the entry already exists in the email filter to avoid * duplicates */ EmailConf = "EMail" /* Next entry tells this script the path to where the .procmailrc * file exists. Change this to suit your system. The filename is not * needed since the script adds it automatically. You MUST end the path * with a column (:) or slash (/) */ ProcPath = "txt:.net/" /* If you want to upload the .procmailrc file automatically from this * script you should set this bool to true (1) else set it to 0 if you * don't want to be asked if you want to upload the file. Script is * aborted at this stage if false. The script uses NComm to upload. */ Upload = 1 /* Enter the phonebook entry name here if you have set t