LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-25-2018, 10:51 AM   #1
makowka
Member
 
Registered: Feb 2007
Posts: 42

Rep: Reputation: 8
Mail checker


Hi to all forum members

I want to implement a simple mail checker, which would check periodically for new mail and sound a beep, if new mail is there. It could be run from procmail. I am running Debian stretch, my mailbox is a local mh box. I want to monitor only one particular mailbox. Could you please help me with this? All other tools for mail checking failed (gnubiff, coolmail etc.).
 
Old 05-25-2018, 01:26 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,675

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by makowka View Post
Hi to all forum members

I want to implement a simple mail checker, which would check periodically for new mail and sound a beep, if new mail is there. It could be run from procmail. I am running Debian stretch, my mailbox is a local mh box. I want to monitor only one particular mailbox. Could you please help me with this? All other tools for mail checking failed (gnubiff, coolmail etc.).
Sure...post what you've written or tried and we'll be glad to help. See the Question Guidelines link in my posting signature
 
Old 05-25-2018, 02:28 PM   #3
makowka
Member
 
Registered: Feb 2007
Posts: 42

Original Poster
Rep: Reputation: 8
The thing is, that I don't know, how to search for new mails in a mh-type mailbox. With Maildir it is easier, because there is a "new" folder. I don't know how to start.
 
Old 05-25-2018, 02:31 PM   #4
makowka
Member
 
Registered: Feb 2007
Posts: 42

Original Poster
Rep: Reputation: 8
I am running Debian Stretch with the following e-mail setup: getmail for fetching, msmtp for sending, procmail for filtering. All mail is downloaded to local mh boxes.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Lightweight mail checker fsLeg Slackware 19 01-12-2016 01:50 PM
Kshowmail (mail checker) in SLED 10 GNOME SChipS Linux - Software 1 10-05-2006 05:46 PM
Mozilla Mail Spell Checker salmanal SUSE / openSUSE 1 10-03-2005 10:36 PM
Web Mail checker okplayer02 Linux - Software 3 02-02-2005 07:42 AM
Mail checker applet? mykrob SUSE / openSUSE 2 10-20-2004 02:42 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration