I am looking for a script, on unix platform using mailx, to read my
e-mail and for a certain user I want to save the message to a file
with a unique name.
Can anyone please help me with that?
|
|
0
|
|
|
|
Reply
|
moishek
|
8/6/2004 3:09:36 PM |
|
Moishek <moishek@bhphotovideo.com> wrote:
> I am looking for a script, on unix platform using mailx, to read my
> e-mail and for a certain user I want to save the message to a file
> with a unique name.
>
> Can anyone please help me with that?
man procmail procmailrc procmailex
man formail
--
William Park <opengeometry@yahoo.ca>
Open Geometry Consulting, Toronto, Canada
|
|
0
|
|
|
|
Reply
|
William
|
8/6/2004 3:28:44 PM
|
|
William Park <opengeometry@yahoo.ca> wrote in message news:<2nhmdbF1232vU2@uni-berlin.de>...
> Moishek <moishek@bhphotovideo.com> wrote:
> > I am looking for a script, on unix platform using mailx, to read my
> > e-mail and for a certain user I want to save the message to a file
> > with a unique name.
> >
> > Can anyone please help me with that?
>
> man procmail procmailrc procmailex
> man formail
Thanks William For the information, after viewing the man page it
looks to me that this will do the job.
Now im looking for help how to use this tool. do you have any idea
where I could find information how to use it?
Thanks
|
|
0
|
|
|
|
Reply
|
moishek
|
8/10/2004 1:44:26 PM
|
|
Moishek <moishek@bhphotovideo.com> wrote:
> William Park <opengeometry@yahoo.ca> wrote in message news:<2nhmdbF1232vU2@uni-berlin.de>...
> > Moishek <moishek@bhphotovideo.com> wrote:
> > > I am looking for a script, on unix platform using mailx, to read my
> > > e-mail and for a certain user I want to save the message to a file
> > > with a unique name.
> > >
> > > Can anyone please help me with that?
> >
> > man procmail procmailrc procmailex
> > man formail
>
> Thanks William For the information, after viewing the man page it
> looks to me that this will do the job.
>
> Now im looking for help how to use this tool. do you have any idea
> where I could find information how to use it?
'man procmail*' should have everything you need. Eg.
:0
* ^From:.*bill
bill
will save email from 'bill' (on From: header) to file 'bill'.
--
William Park <opengeometry@yahoo.ca>
Open Geometry Consulting, Toronto, Canada
|
|
0
|
|
|
|
Reply
|
William
|
8/10/2004 5:41:59 PM
|
|
On 10 Aug 2004 06:44:26 -0700, Moishek <moishek@bhphotovideo.com> wrote:
>
>
> William Park <opengeometry@yahoo.ca> wrote in message news:<2nhmdbF1232vU2@uni-berlin.de>...
>> Moishek <moishek@bhphotovideo.com> wrote:
>> > I am looking for a script, on unix platform using mailx, to read my
>> > e-mail and for a certain user I want to save the message to a file
>> > with a unique name.
>> >
>> > Can anyone please help me with that?
>>
>> man procmail procmailrc procmailex
>> man formail
>
> Thanks William For the information, after viewing the man page it
> looks to me that this will do the job.
>
> Now im looking for help how to use this tool. do you have any idea
> where I could find information how to use it?
>
> Thanks
The man pages are excellent. You need to actually read them.
Read in /usr/share/doc/procmail (or wherever the docs are on your system)
Google will get you thousands of hits...
You will need to tell fetchmail or your MTA to send your retrieved mail to
procmail for processing. How do you retrieve your mail?
Then you need a basic ~/.procmailrc.
Here's one that will do what you want (assuming mbox mailboxes):
---------------------------
SHELL=/bin/sh
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin
MAILDIR=/home/you/Mail
DEFAULT=$MAILDIR/inbox
LOGFILE=$MAILDIR/log
VERBOSE=no
# personalize the above and modify what's below accordingly
# lines starting with a "#" are not read by procmail
# change VERBOSE= to "yes" if you want to see all the details.
:0:
* ^From.*myfriend@whatever\.com
myfriend
:0:
* ^From.*myotherfriend@whatever\.com
myotherfriend
# you don't need to use the full path of the mailbox if it is in $MAILDIR
:0:
${DEFAULT}
# send everything else to your inbox
----------------------------
That ought to get you started.
AC
--
Pass-List -----> Block-List ----> Challenge-Response
The key to taking control of your mailbox. Design Parameters:
http://tinyurl.com/2t5kp || http://tinyurl.com/3c3ag
Challenge-Response links -- http://tinyurl.com/yrfjb
|
|
0
|
|
|
|
Reply
|
Alan
|
8/10/2004 6:42:03 PM
|
|
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
--=_mimegpg-commodore.email-scan.com-11354-1092177838-0006
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
The fake Alan Connor writes:
> On 10 Aug 2004 06:44:26 -0700, Moishek <moishek@bhphotovideo.com> wrote:
>> Now im looking for help how to use this tool. do you have any idea
>> where I could find information how to use it?
>>
>> Thanks
>
> The *SLAP*
*spank* *spank* *spank* *slap*
If you don't stay out of this newsgroup, Beavis, I'm going to come over and
post the Alan Connor FAQ to comp.mail.mutt and comp.os.linux.misc.
--=_mimegpg-commodore.email-scan.com-11354-1092177838-0006
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBBGU+ux9p3GYHlUOIRAv00AJ96xw9Mthwfn9wetZ+xu1VtBOVFdgCfcX+Y
FK3Qn5MfKsakzkgicb2TeC4=
=UaXA
-----END PGP SIGNATURE-----
--=_mimegpg-commodore.email-scan.com-11354-1092177838-0006--
|
|
0
|
|
|
|
Reply
|
Sam
|
8/10/2004 10:43:59 PM
|
|
On 10 Aug 2004 06:44:26 -0700, Moishek <moishek@bhphotovideo.com> wrote:
>
>
> William Park <opengeometry@yahoo.ca> wrote in message news:<2nhmdbF1232vU2@uni-berlin.de>...
>> Moishek <moishek@bhphotovideo.com> wrote:
>> > I am looking for a script, on unix platform using mailx, to read my
>> > e-mail and for a certain user I want to save the message to a file
>> > with a unique name.
>> >
>> > Can anyone please help me with that?
>>
>> man procmail procmailrc procmailex
>> man formail
>
> Thanks William For the information, after viewing the man page it
> looks to me that this will do the job.
>
> Now im looking for help how to use this tool. do you have any idea
> where I could find information how to use it?
>
> Thanks
"Sam" is an idiot troll. Be very careful about taking any advice from
it.
If someone shows up that agrees with it, it is probably one of its sock
puppets.
I don't read its posts. Ever. No matter what sock puppet it is using at
the moment. It thinks it's smart, but all losers do, don't they?
AC
|
|
0
|
|
|
|
Reply
|
Alan
|
8/10/2004 11:21:05 PM
|
|
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
--=_mimegpg-commodore.email-scan.com-11354-1092182773-0009
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Beavis writes:
>> Thanks
>
> "Sam" is an idiot troll. Be very careful about taking any advice from
> it.
http://angel.1jh.com/nanae/kooks/alanconnor.shtml#Sam
Pretty much everything that goes wrong in Alan "The Beavis" Connor's life
can be traced down to this all-encompasing, nebulous entity called "Sam".
The above FAQ provides a complete picture, for anyone who's been curious
about the slightly bizarre character who calls himself Alan Connor, and
everyone else calls "Beavis". Other things to read when you have some time
to spare:
http://tinyurl.com/23r3f - how Beavis met Bigfoot.
http://tinyurl.com/2gjcy - how Beavis dated Xena, the Warrior Princess.
http://tinyurl.com/ifrt - Beavis plays net.detective.
http://tinyurl.com/ys6z4 - Beavis, Kevin Mitnick's mentor and teacher.
http://tinyurl.com/2hhdx - Beavis joins a UFO cult.
http://tinyurl.com/24jqm - Life inside his UFO cult.
http://tinyurl.com/3h6a5 - Beavis auditions for the role of Orin Scrivello,
DDS, the mad dentist from "Little Shop Of Horrors".
--=_mimegpg-commodore.email-scan.com-11354-1092182773-0009
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBBGWL1x9p3GYHlUOIRAvpTAJ4jJZJn4EqOzxP5uQbL3v32tsYaFgCfTfkR
jTikV2CEr11JpZhL+7w+dwk=
=WbaY
-----END PGP SIGNATURE-----
--=_mimegpg-commodore.email-scan.com-11354-1092182773-0009--
|
|
0
|
|
|
|
Reply
|
Sam
|
8/11/2004 12:06:14 AM
|
|
On 2004-08-11, Sam wrote:
>
> Beavis writes:
>>
>> "Sam" is an idiot troll. Be very careful about taking any advice from
>> it.
>
> http://angel.1jh.com/nanae/kooks/alanconnor.shtml#Sam
>
> Pretty much everything that goes wrong in Alan "The Beavis" Connor's life
> can be traced down to this all-encompasing, nebulous entity called "Sam".
"Sam" AKA "Butthead". They make a fine pair.
<PLONK>
--
Chris F.A. Johnson http://cfaj.freeshell.org/shell
===================================================================
My code (if any) in this post is copyright 2004, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
|
|
0
|
|
|
|
Reply
|
Chris
|
8/11/2004 8:07:25 AM
|
|
|
8 Replies
1200 Views
(page loaded in 0.083 seconds)
|