Re: Grep mails by subject with shell script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/). This is also possible from cron jobs.

Plenty of documentation regarding sudo is available online and via your
system's man pages.
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux