Announcement
Where to get
Subject: send help or "send pm-code.shar" if your're anxious
To: jari(_dot_)aalto(_at_)poboxes(_dot_)com
Preface
Hi, I have updated the procmail module library almost daily, but in case
you don't regularly download new updates, please do so now. There has been
lot of changes and error corrections and I would especially like to thank
Teresa Nunes <icecream(_at_)alaska(_dot_)net>
Bill Houle <bhoule(_at_)sandiegoca(_dot_)ncr(_dot_)com>
Who have kept sending me Messages from mailing lists that were not
automatically detected by the adaptive mailing list detector module
pm-jalist.rc. Thank you both.
I recently found two serious bugs from the Mime Procmail Fileserver (MPFS)
which died in cases where some variables were not initialised. Thanks to
Wayne Spivak for reporting these.
Happy New your to you all,
jari
If you're new to pm-code.shar kit
I would recommend including following modules for starters:
pm-jadate.rc -- derive date from messages with pure procmail means.
Fast
pm-jaaddr.rc -- Explode any given address to components
pm-jalist.rc -- handles all your mailing list detection. no more
separate detection rules in your .promcailrc needed.
pm-jacron.rc -- If you get at least 1 message per day, you can use
this
procmail based cron framework module to do things
daily
pm-jasrv*rc -- Set up your procmail based MIME file server
(the very old, simple server, pm-jasrv1.rc will cease
to exists soon and I discontinue supporting it,
because
I believe all should be MIME compatible)
pm-jadaemon.rc -- Traps daemon messages, you can put those to better
folder with more emaningful subject lines
pm-jaube.rc -- Simplistic UBE shield. If you don't have already
SpamBouncer or similar.
Where to get more examples
The best way to introduce yourself to these modules is to look at my
.procmailrc. you can order it from the file server. It contains tons of
procmail example code and that's only a fraction of all the procmail code
I'm currently using. (.procmailrc calls many private RC modules)
Subject: send procmailrc
List of modules included in kit
See detailled description for each module at
tp://cs.uta.fi/pub/ssjaaa/pm-code.html
pm-jaaddr.rc -- extract 'foo(_at_)some(_dot_)com' email address from
variable INPUT
pm-jabup.rc -- Keeep N arriving message backup in separate directory
pm-jacookie.rc -- Handle cookie (unique id) confirmations
pm-jacookie1.rc -- Generate unique id from INPUT variable.
pm-jacron.rc -- Procmail: Run cron once a day
pm-jadaemon.rc -- Handle DAEMON messages by changing subject
pm-jadate.rc -- Read date from the message hdrs: From_, Receved:
pm-jadate1.rc -- 'Tue, 31 Dec 1997' date parser from variable INPUT
pm-jadate2.rc -- 'YYYY-MM-DD' ISO date parser from variable INPUT
pm-jadate3.rc -- 'Tue Nov 25 19:32:57' date parser from variable INPUT
pm-jadate4.rc -- make RFC 'Mon, 1 Dec 1997 17:41:09' and parse values
pm-jadate5.rc -- 'Fri Jun 19 18:51:56 1998' date parser from var INPUT
pm-jadup.rc -- Procmail: Handle duplicates; store to separate folder
pm-jaempty.rc -- check if message body is empty (nothing relevant)
pm-jafrom.rc -- get message's best FROM field without calling `formail'
pm-jafwd.rc -- Controlling forwarding remotedly, procmail 3.11pre7
pm-jalist.rc -- Subroutine to detect mailing LIST from message.
pm-jamime-decode.rc -- decode MIME body contents; quoted-printable, base64
pm-jamime-kill.rc -- General MIME attachement killer (vcards, html)
pm-jamime-save.rc -- save message's MIME attachement (one file) to a file
pm-jamime.rc -- subroutine to read mime boundary etc. variables
pm-janetmind.rc -- handle http://minder.netmind.com/ messages
pm-janslookup.rc -- run nslookup on variable INPUT
pm-jaorig.rc -- Extract embedded original message (simple recipe)
pm-japing.rc -- reply shortly to message "Subject: ping"; account ok
pm-japop3.rc -- Remotedly download messages by mail command request
pm-jarandf.rc -- pick (rand)om line from (f)ile
pm-jasrv-check.rc -- check FILE validity, subroutine for File Server
pm-jasrv-daemon.rc -- server request check, subroutine for File Server
pm-jasrv-err.rc -- send message, subroutine for File Server
pm-jasrv-from.rc -- compose reply, subroutine for File Server
pm-jasrv-msg.rc -- send message, subroutine for File Server
pm-jasrv-multi.rc -- send multipart MIME message, subroutine for FileSrv
pm-jasrv-req.rc -- server request check, subroutine for File Server
pm-jasrv-send.rc -- server request check, subroutine for File Server
pm-jasrv.rc -- Jari's MPFS (Mime Procmail 3.11+ File server)
pm-jasrv1.rc -- Jari's TPFS (Tiny Procmail 3.03+ file server)
pm-jastore.rc -- Store messagee to inbox or gzip inbox
pm-jasubject.rc -- Subject field cleaner and canonicalizer (Re:)
pm-jatime.rc -- "hh:mm:ss" time parser from variable INPUT
pm-jaube.rc -- Jari's Unsolicited Bulk Email (UBE) filter.
pm-jaube1.rc -- Jari's UBE filter. Subroutine 1
pm-javac.rc -- Procmail: Vacation framework recipe (id-cache)
pm-javar.rc -- Jari's global variable definitions
End