Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 25th June 2019
stanl stanl is offline
Real Name: Stan
Shell Scout
Join Date: Jun 2019
Location: New York
Posts: 93
Default nmh and OpenBSD

I'm running OpenBSD 6.5 on an old ThinkPad x220 using nmh to read email.
There is a short script in jerry Peek's book which when I log in should show me a list of unseen messages:

if mhpath unseen +inbox >/dev/null 2>&1
echo "Unseen mail in inbox:"
scan +inbox unseen

Unfortunately, it doesn't work and not knowing any programming or shell scripting I have no idea why.

If anyone can point out what is wrong and how to correct it, I would appreciate it.

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:00 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick