- Linux: Quick scan of a mailbox file
Linux: Quick scan of a mailbox file
grep ^From /var/mail/MYUSER
Where MYUSER is a username. Its a property of the mbox format that each message starts with "From". For more fine processing you can use mbox packages in php, Python, perl.
Copyright © 2008-2022, dave. Code samples on Dave's Brain is licensed under the
Creative Commons Attribution 2.5 License.
other material, including English text has all rights reserved.