Re: Grep mails by subject with shell script

2006-09-12 Thread Andreas Winkelmann
Am Tuesday 12 September 2006 16:03 schrieb Walter Willmertinger: > Is there someway to grep the user's mails by subject, content of mail or > similar? > I just found the way to do it by going to the spool directory what is only > allowed to root. > > I would like to do it e.g. in shell scripts! H

Re: Grep mails by subject with shell script

2006-09-12 Thread Peter Bücker
Walter Willmertinger wrote: > Is there someway to grep the user's mails by subject, content of mail or > similar? > I just found the way to do it by going to the spool directory what is > only allowed to root. You can execute your shell script as root by using sudo (http://www.gratisoft.us/sudo/).

Re: Grep mails by subject with shell script

2006-09-12 Thread Warren Turkal
On Tuesday 12 September 2006 10:14, you wrote: > So do you or someone else know of a command line mail reader where I can > scan my mails for some criteria? > > I know I can search mails e.g. with thunderbird. But I want to do it with > shell scripts under linux to make some evaluations and generat

Re: Grep mails by subject with shell script

2006-09-12 Thread Walter Willmertinger
So do you or someone else know of a command line mail reader where I can scan my mails for some criteria?I know I can search mails e.g. with thunderbird. But I want to do it with shell scripts under linux to make some evaluations and generate lists. 2006/9/12, Warren Turkal <[EMAIL PROTECTED]>: On

Re: Grep mails by subject with shell script

2006-09-12 Thread Warren Turkal
On Tuesday 12 September 2006 08:03, Walter Willmertinger wrote: > I would like to do it e.g. in shell scripts! Cyrus is a closed system. If you want the functionality, use a MUA that has it. You might try something like fetchmail to sync up a local mail spool. wt -- Warren Turkal, Research Asso