home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!canon.co.uk!tim
- From: tim@crash.canon.co.uk
- Newsgroups: comp.mail.elm
- Subject: Re: Outgoing/sent filters - do they exist? (was Re: Filter only?)
- Message-ID: <92Sep03.0917.27596@crash.canon.co.uk>
- Date: 3 Sep 92 08:17:47 GMT
- References: <1992Sep1.171423.24661@dg-rtp.dg.com>
- Sender: Tim F O'Donoghue
- Organization: me myself and i
- Lines: 46
-
- karres@enigma.rtp.dg.com (Dean Karres) writes:
- :
- |I would like to keep an automatic log of all of my incoming and outgoing
- |mail. What I would really like is to be able to do is:
- |
- |1) save the FROM, TO, DATE and SUBJECT info of all incoming and
- | outward bound mail to a file.
- |
- |2) save a copy of all incoming and outgoing mail into a single archive
- | folder.
- |
- |3) still have incoming messages come to my inbox as though there were
- | not any filters.
-
- 2 and 3 first. Logging all incoming mail to a single folder can be done
- via .forward, eg:
-
- \karres,/user/karres/Mail/folder
-
- and you could also use sentmail=/user/karres/Mail/folder within elm to
- log your outgoing stuff (setting autocopy=ON and savename=OFF).
-
- Now 1: logging From, To, Date and Subject is partly[*] done for you by
- procmail for incoming mail (ask archie about procmail). The log looks
- like:
-
- From root Sat Aug 29 23:59:02 1992
- Subject: /etc/cre/bin/syslog-conmon for Aug 29 on crash
- Folder: /usr/spool/mail/tim 324
-
- [*]I say "partly" because the date is the received date rather than the
- sent date.
-
- You can do virtually anything in procmail so you could write your own
- filter which stripped and logged whatever you wanted out of incoming
- messages. I have one which bounces mail back automatically at
- "undesirables" but that's another story.
-
- As for a similar log for outgoing mail, well, I don't think elm lets
- you get down there. I'm new to elm so don't quote me on that. It would
- be nice if elm had a sendmail variable like Berkeley mail. Maybe in the
- next version huh?
-
- Tx.
- --
- check my header - travelling hard at the speed of thought
-